问题描述
- 我勒个擦。咋每天开机都要重装一下discuz?
-
每次开机之后都是下面的提示。咋回事啊。
Discuz! Database Error
(1054) Unknown column 'port' in 'field list'
UPDATE common_member_status SETlastip
='127.0.0.1' ,port
='55421' ,lastvisit
='1424084406' WHEREuid
='1'
PHP DebugNo. File Line Code
1 admin.php 25 discuz_application->init()
2 source/class/discuz/discuz_application.php 68 discuz_application->_init_session()
3 source/class/discuz/discuz_application.php 418 discuz_table->update(%s, Array)
4 source/class/discuz/discuz_table.php 52 discuz_database::update(%s, Array, %s, false, false)
5 source/class/discuz/discuz_database.php 78 discuz_database::query(%s, %s)
6 source/class/discuz/discuz_database.php 136 db_driver_mysql->query(%s, false, false)
7 source/class/db/db_driver_mysql.php 151 db_driver_mysql->halt(%s, %d, %s)
8 source/class/db/db_driver_mysql.php 218 break()
解决方案
检查你的数据库表,没有port这一列。