discuzX3.3错误(1054) Unknown column 'conuintoken' in 'field list'_
错误提示如下:
Discuz! Database Error
(1054) Unknown column 'conuintoken' in 'field list'
INSERT INTO common_member_connect SET `uid`='1' , `conuin`='' , `conuintoken`='D65B5C1FFF28604D9E104CAD3929186A' , `conopenid`='ED7C913D7DEA9AF7061F927F75E7EC07' , `conispublishfeed`='0' , `conispublisht`='0' , `conisregister`='0' , `conisfeed`='1' , `conisqqshow`='0'
PHP Debug
No. | File | Line | Code |
1 | connect.php | 40 | require_once(%s) |
2 | source/plugin/qqconnect/connect/connect_login.php | 226 | discuz_table->insert(Array) |
3 | source/class/discuz/discuz_table.php | 81 | discuz_database::insert(%s, Array, false, false, false) |
4 | source/class/discuz/discuz_database.php | 60 | discuz_database::query(%s, %s, %s, true) |
5 | source/class/discuz/discuz_database.php | 136 | db_driver_mysql->query(%s, %s, true) |
6 | source/class/db/db_driver_mysql.php | 153 | db_driver_mysql->halt(%s, %d, %s) |
7 | source/class/db/db_driver_mysql.php | 224 | break() |
经过春哥技术博客亲自测试的解决方法:
开启QQ互联,绑定后,提示(1054) Unknown column ‘conuintoken’ in ‘field list’的解决方案如下:
春哥解决方案:用phpmyadmin执行一段sql就行了
打开你的phpmyadmin,选择论坛的数据库, 点击 sql功能 ,
输入以下句子运行:(其中的 pre_ 为你论坛数据库的表前缀,如果不是默认的,请注意修改)
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 ''; |
按照此方法处理后就可以登录了。
本站文章由SEO技术博客撰稿人原创,作者:无 忧创作,如若转载请注明原文及出处:https://www.ainiseo.com/hosting/1715.html