天际说

common_syscache doesn't exist

发布时间:2015年3月11日 / 分类:Discuz!系列 / 10,171 次围观 / 抢沙发!

异常信息为:

(1146) Table 'xrsw.common_syscache' doesn't exist SELECT * FROM common_syscache WHERE `cname` IN('setting','style_default','cronnextrun')PHP DebugNo.FileLineCode1admin.php25discuz_application->init()2source/class/discuz/discuz_application.php80discuz_application->_init_setting()3source/class/discuz/discuz_application.php633loadcache(Array)4source/function/function_core.php663table_common_syscache->fetch_all(Array)5source/class/table/table_common_syscache.php61discuz_database::query(%s)6source/class/discuz/discuz_database.php136db_driver_mysql->query(%s, false, false)7source/class/db/db_driver_mysql.php151db_driver_mysql->halt(%s, %d, %s)8source/class/db/db_driver_mysql.php218break()


解决方案:


登录您的控制面板中的PhpMyadmin,找到您的Discuz数据库,然后在该数据库中执行下列查询:

DROP TABLE IF EXISTS pre_common_syscache;
CREATE TABLE pre_common_syscache (
cname varchar(32) NOT NULL,
ctype tinyint(3) unsigned NOT NULL,
dateline int(10) unsigned NOT NULL,
`data` mediumblob NOT NULL,
PRIMARY KEY (cname)
) ENGINE=MyISAM;


标签:none