今天我升级一个站点1.5到2.0最新时碰到个问题
.common_member_connect' doesn't exist
SELECT * FROM common_member_connect WHERE uid='1'
到数据库一看没有QQ互联的几个表 希望官方查下升级程序中是不是少了
经过一段收集 我把表都找齐全了
一样问题的朋友有救了 到后台一个个升级 吧
把pre改为你的表前缀。
然后在你数据库里检查是否存在以下的QQ互联的数据表(其中pre应该为你的表前缀):
pre_common_member_connect、pre_connect_feedlog、pre_connect_memberbindlog、pre_connect_tlog、pre_common_uin_black
- CREATE TABLE IF NOT EXISTS pre_common_member_connect (
- `uid` mediumint(8) unsigned NOT NULL default '0',
- `conuin` char(40) NOT NULL default '',
- `conuinsecret` char(16) NOT NULL default '',
- `conopenid` char(32) NOT NULL default '',
- `conisfeed` tinyint(1) unsigned NOT NULL default '0',
- `conispublishfeed` tinyint(1) unsigned NOT NULL default '0',
- `conispublisht` tinyint(1) unsigned NOT NULL default '0',
- `conisregister` tinyint(1) unsigned NOT NULL default '0',
- `conisqzoneavatar` tinyint(1) unsigned NOT NULL default '0',
- PRIMARY KEY (`uid`),
- KEY `conuin` (`conuin`),
- KEY `conopenid` (`conopenid`)
- ) ENGINE=MyISAM;
复制代码- CREATE TABLE IF NOT EXISTS pre_connect_feedlog (
- flid mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
- tid mediumint(8) unsigned NOT NULL DEFAULT '0',
- uid mediumint(8) unsigned NOT NULL DEFAULT '0',
- publishtimes mediumint(8) unsigned NOT NULL DEFAULT '0',
- lastpublished int(10) unsigned NOT NULL DEFAULT '0',
- dateline int(10) unsigned NOT NULL DEFAULT '0',
- `status` tinyint(1) NOT NULL DEFAULT '1',
- PRIMARY KEY (flid),
- UNIQUE KEY tid (tid)
- ) TYPE=MyISAM;
复制代码- CREATE TABLE IF NOT EXISTS pre_connect_tlog (
- tlid mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
- tid mediumint(8) unsigned NOT NULL DEFAULT '0',
- uid mediumint(8) unsigned NOT NULL DEFAULT '0',
- publishtimes mediumint(8) unsigned NOT NULL DEFAULT '0',
- lastpublished int(10) unsigned NOT NULL DEFAULT '0',
- dateline int(10) unsigned NOT NULL DEFAULT '0',
- `status` tinyint(1) NOT NULL DEFAULT '1',
- PRIMARY KEY (tlid),
- UNIQUE KEY tid (tid)
- ) TYPE=MyISAM;
复制代码- CREATE TABLE IF NOT EXISTS pre_connect_memberbindlog (
- mblid mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
- uid mediumint(8) unsigned NOT NULL DEFAULT '0',
- uin char(40) NOT NULL,
- `type` tinyint(1) NOT NULL DEFAULT '0',
- dateline int(10) unsigned NOT NULL DEFAULT '0',
- PRIMARY KEY (mblid),
- KEY uid (uid),
- KEY uin (uin),
- KEY dateline (dateline)
- ) TYPE=MyISAM;
复制代码- CREATE TABLE IF NOT EXISTS pre_common_uin_black (
- uin char(40) NOT NULL,
- uid mediumint(8) unsigned NOT NULL DEFAULT '0',
- dateline int(10) unsigned NOT NULL DEFAULT '0',
- PRIMARY KEY (uin),
- UNIQUE KEY uid (uid)
- ) TYPE=MyISAM;
复制代码
|