discuz3.2出现(1054) Unknown column 'conuintoken' in 'field list&# ...

发布者:春风抚过的绿叶 2022-4-11 20:29

discuz 出现qq互联错误,如下显示是解决办法

Discuz! Database Error

(1054) Unknown column 'conuintoken' in 'field list'

REPLACE INTO common_connect_guest SET `conuintoken`='2197DF0F8B214306250533F749B02F20' , `conopenid`='EFA35D9D9F7EC2BBC54197F225AA9C8F' , `conqqnick`='乐淘天下'

PHP Debug

No.FileLineCode

1connect.php40require_once(%s)

2source/plugin/qqconnect/connect/connect_login.php353discuz_table->insert(Array, false, true)

3source/class/discuz/discuz_table.php81discuz_database::insert(%s, Array, false, true, 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()

解决办法就是:进入数据库 执行以下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 '';

如图

为你推荐