discuz common_syscache 出错

图片[1]-discuz  common_syscache   出错-栗子博客

Discuz! Database Error

(145) Table ‘./bbs_zhuguo_net/common_syscache’ is marked as crashed and should be repaired

SELECT * FROM common_syscache WHERE `cname` IN(‘portalcategory’,’diytemplatenameportal’,’setting’,’style_default’,’cronnextrun’)

PHP Debug

No. File Line Code
1 index.php 132 require(%s)
2 portal.php 18 discuz_application->init()
3 source/class/discuz/discuz_application.php 66 discuz_application->_init_setting()
4 source/class/discuz/discuz_application.php 728 loadcache(Array)
5 source/function/function_core.php 711 table_common_syscache->fetch_all(Array)
6 source/class/table/table_common_syscache.php 63 discuz_database::query(%s)
7 source/class/discuz/discuz_database.php 142 db_driver_mysqli->query(%s, false, false)
8 source/class/db/db_driver_mysqli.php 148 db_driver_mysqli->halt(%s, %d, %s)
9 source/class/db/db_driver_mysqli.php 223 break()
bbs.zhuguo.net 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.
这个弄来做文库,
先搞三板斧:
1、更新数据库版本
2、重启数据库
3、重启VPS,
现在等更新完看这个错误是否还能解决。
官方有个tools.php 结果
3.1x版本打开乱码
3.2X版本打开空白
 看的官方修复代码:


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)
) TYPE=MyISAM;

© 版权声明
THE END
点赞0
抢沙发
头像
提交
头像

昵称

取消
昵称
一言一语