如何解决pw.85整合php168论坛同步登录出错问题
发布:smiling 来源: PHP粉丝网 添加日期:2014-01-10 16:04:21 浏览: 评论:0
第一、出现的错误现象是:
数据库连接出错,是短消息整合出错,pw8的短信原来保存在msg数据表,现在换了,错误代码如下:
- SELECT COUNT(*) AS pmNUM FROM pw_msg WHERE `touid`='1' AND type='rebox' AND ifnew=1
- Table 's462861db0.pw_msg' doesn't exist
- 1146
第二、在php168后台的数据库管理中执行如下语句:
- CREATE TABLE pw_msg (
- mid int(10) unsigned NOT NULL AUTO_INCREMENT,
- touid mediumint(8) unsigned NOT NULL DEFAULT '0',
- togroups varchar(80) NOT NULL DEFAULT '',
- fromuid mediumint(8) unsigned NOT NULL DEFAULT '0',
- username varchar(15) NOT NULL DEFAULT '',
- `type` enum('rebox','sebox','public') NOT NULL DEFAULT 'rebox',
- ifnew tinyint(1) NOT NULL DEFAULT '0',
- mdate int(10) unsigned NOT NULL DEFAULT '0',
- PRIMARY KEY (mid),
- KEY touid (touid),
- KEY fromuid (fromuid,mdate),
- KEY `type` (`type`),
- KEY touids (touid,mdate)
- ) ENGINE=MyISAM DEFAULT CHARSET=gbk;
Tags: pw 85 整合 php168论坛
推荐文章
热门文章
最新评论文章
- 写给考虑创业的年轻程序员(10)
- PHP新手上路(一)(7)
- 惹恼程序员的十件事(5)
- PHP邮件发送例子,已测试成功(5)
- 致初学者:PHP比ASP优秀的七个理由(4)
- PHP会被淘汰吗?(4)
- PHP新手上路(四)(4)
- 如何去学习PHP?(2)
- 简单入门级php分页代码(2)
- php中邮箱email 电话等格式的验证(2)