Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[修改] 解决 X3.1 QQ互联登陆出现(1054) Unknown column 'conuintoken' in 'field list'

[复制链接]
caohks 发表于 2013-10-24 22:52:04 | 显示全部楼层 |阅读模式
本帖最后由 caohks 于 2013-10-24 22:53 编辑


数据库里边修改(不想碰数据库无视这个)
大家用mysql管理工具(其实大家基本上用PMA,其他可能都没听过,呵呵)。找到你的数据库,找到表common_member_connect
查看表信息是:
ield             Type                   Collation       Null    Key     Default  Extra   Privileges                       Comment  
----------------  ---------------------  --------------  ------  ------  -------  ------  -------------------------------  ---------
uid               mediumint(8) unsigned  (NULL)          NO      PRI     0                select,insert,update,references           
conuin            char(40)               gbk_chinese_ci  NO      MUL                      select,insert,update,references           
conuinsecret      char(16)               gbk_chinese_ci  NO                               select,insert,update,references           
conopenid         char(32)               gbk_chinese_ci  NO      MUL                      select,insert,update,references           
conisfeed         tinyint(1) unsigned    (NULL)          NO              0                select,insert,update,references           
conispublishfeed  tinyint(1) unsigned    (NULL)          NO              0                select,insert,update,references           
conispublisht     tinyint(1) unsigned    (NULL)          NO              0                select,insert,update,references           
conisregister     tinyint(1) unsigned    (NULL)          NO              0                select,insert,update,references           
conisqzoneavatar  tinyint(1) unsigned    (NULL)          NO              0                select,insert,update,references           
conisqqshow       tinyint(1) unsigned    (NULL)          NO              0                select,insert,update,references  
看看上面的字段是不是少了conuintoken?
那么我们加上conuintoken吧,sql语句为
  1. alter table pre_common_member_connect add conuintoken char(32) not null;
复制代码

执行上面的sql语句即可,如果是在全局执行,请加上数据库名,比如数据库名为db,则pre_common_member_connect应为db.pre_common_member_connect
下面再看下表信息:
Field             Type                   Collation                   Null    Key     Default  Extra   Privileges                       Comment  
----------------  ---------------------  --------------         ------  ------  -------  ------  -------------------------------  ---------
uid               mediumint(8) unsigned  (NULL)          NO      PRI     0                select,insert,update,references           
conuin            char(40)               gbk_chinese_ci     NO      MUL                      select,insert,update,references           
conuinsecret      char(16)               gbk_chinese_ci  NO                               select,insert,update,references           
conopenid         char(32)               gbk_chinese_ci  NO      MUL                      select,insert,update,references           
conisfeed         tinyint(1) unsigned    (NULL)             NO              0                select,insert,update,references           
conispublishfeed  tinyint(1) unsigned    (NULL)          NO              0                select,insert,update,references           
conispublisht     tinyint(1) unsigned    (NULL)            NO              0                select,insert,update,references           
conisregister     tinyint(1) unsigned    (NULL)          NO              0                select,insert,update,references           
conisqzoneavatar  tinyint(1) unsigned    (NULL)          NO              0                select,insert,update,references           
conisqqshow       tinyint(1) unsigned    (NULL)          NO              0                select,insert,update,references           
conuintoken      char(32)             gbk_chinese_ci        NO            (NULL)           select,insert,update,references   

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
1314学习网 发表于 2013-10-24 23:10:03 | 显示全部楼层
Discuz!X3.1Unknown column 'conuintoken' in 'field list'的临时解决办法
https://discuz.dismall.com/thread-3457421-1-1.html
(出处: Discuz! 官方站)
回复

使用道具 举报

easysx 发表于 2014-2-24 13:47:30 | 显示全部楼层
Discuz! X3.1 正式版   (1054) Unknown column 'conuintoken' in 'field list'
https://discuz.dismall.com/thread-3502525-1-1.html
(出处: Discuz! 官方站)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-6-19 04:57 , Processed in 0.122714 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表