QQ登陆时显示 (1054) Unknown column 'conuintoken' in 'field list'

yoken 阅读:2820 2015-09-19 18:19:16 评论:1

Discuz! Database Error

(1054) Unknown column 'conuintoken' in 'field list'
INSERT INTO common_member_connect SET `uid`='1' , `conuin`='' , `conuintoken`='9FC6FB67A718F1940A584A0C4CE3C375' , `conopenid`='09C5272BC2EB18CAE3E04198B920F74F' , `conispublishfeed`='0' , `conispublisht`='0' , `conisregister`='0' , `conisfeed`='1' , `conisqqshow`='0'

PHP Debug

No.FileLineCode
1connect.php40require_once(%s)
2source/plugin/qqconnect/connect/connect_login.php226discuz_table->insert(Array)
3source/class/discuz/discuz_table.php81discuz_database::insert(%s, Array, false, false, false)
4source/class/discuz/discuz_database.php60discuz_database::query(%s, %s, %s, true)
5source/class/discuz/discuz_database.php136db_driver_mysql->query(%s, %s, true)
6source/class/db/db_driver_mysql.php153db_driver_mysql->halt(%s, %d, %s)
7source/class/db/db_driver_mysql.php224break()

QQ登录或绑定论坛QQ时有可能会出现以上错误提示,下面给出解决方案:

1、修改config/config_global.php
      $_config['admincp']['runquery'] = '0'; 改成$_config['admincp']['runquery'] = '1';
2、打开后台-站长-数据库-升级
      在打开的数据库升级语言框里输入:
     ALTER TABLE  `pre_common_member_connect` ADD COLUMN conuintoken char(32) NOT NULL DEFAULT '';
      ALTER TABLE  `pre_common_connect_guest` ADD COLUMN conuintoken char(32) NOT NULL DEFAULT '';
3、重新关闭qq互联,然后重新开启qq互联就ok了

转载保留链接!网址:https://80920140.com/post/1111.html

声明

1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源; 2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任; 3.作者投稿可能会经我们编辑修改或补充。

搜索
排行榜
关注我们

扫一扫关注我们,了解最新精彩内容