Discuz! QQ登陆出现 Unknown column 'conuintoken' in 'field list' 图文解决方案

故障描述

Discuz 下 使用QQ登录时就会发生。打开qq互联提示一下错误:

Database Error

(1054) Unknown column ‘conuintoken’ in ‘field list’
REPLACE INTO common_connect_guest SET `conuintoken`=’7CF32BFC7A287A52C214CE8D5572B5B2′ , `conopenid`=’D97BD4F16541BB824016C0F495F88BA4′ , `conqqnick`=’laoji.org’
Debug

No. File Line Code
1 connect.php 40 require_once(%s)
2 source/plugin/qqconnect/connect/connect_login.php 353 discuz_table->insert(Array, false, true)
3 source/class/discuz/discuz_table.php 81 discuz_database::insert(%s, Array, false, true, 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功能 运行:

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 '';

问题解决。

搬瓦工年付$28CN2高速线路,512M内存/500G流量/1G带宽,电信联通优化,延迟低,速度快,建站稳定,搬瓦工BandwagonHost VPS优惠BWH26FXH3HIQ点击购买】!

Vultr月付$3.5日本节点,512M内存/500G流量/1G带宽,电信联通优化,延迟低,速度快【点击购买】!

点赞

发表评论

电子邮件地址不会被公开。 必填项已用*标注

Scroll Up