致力于信息网络安全
记录成长的点点滴滴!

discuzX3.2 QQ互联错误的解决办法

discuzX3.2错误(1054) Unknown column ‘conuintoken’ in ‘field list’_

设置QQ互联后,点击登录以后报错:(1054) Unknown column ‘conuintoken’ in ‘field list’,下面把解决方法分享一下:

q30
Discuz! Database Error

(1054) Unknown column ‘conuintoken’ in ‘field list’
INSERT INTO common_member_connect SET `uid`=’1′ , `conuin`=” , `conuintoken`=’D6C5CB5C1FFF28660C4D9E104CAD3CCC186A’ , `conopenid`=’3D37C9133D7DEA9AF71F9273F75E37EC07′ , `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()

在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 ”;

未经允许不得转载:左迪自留地 » discuzX3.2 QQ互联错误的解决办法
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

云在身边 你我共存

联系我们