Discuz! Database Error(145) Table './db154430/common_cron' is marked as crashed and should be repairedselec * from common_cron wher available>'0' AND nextrun<='1368915783' ORDER BY nextrun LIMIT 1PHP Debug
No. File Line Code
1 index.php 126 require(%s)
2 forum.php 49 discuz_application->init()
3 source/class/discuz/discuz_application.php 70 discuz_application->_init_cron()
4 source/class/discuz/discuz_application.php 482 discuz_cron::run()
5 source/class/discuz/discuz_cron.php 19 table_common_cron->fetch_nextrun(%d)
6 source/class/table/table_common_cron.php 26 discuz_database::fetch_first(%s)
7 source/class/discuz/discuz_database.php 91 discuz_database::query(%s, Array, false, false)
8 source/class/discuz/discuz_database.php 136 db_driver_mysql->query(%s, false, false)
9 source/class/db/db_driver_mysql.php 151 db_driver_mysql->halt(%s, %d, %s)
10 source/class/db/db_driver_mysql.php 218 break()
解决方案:
第一步:下载tools,下载地址http://pan.baidu.com/share/link?shareid=404903&uk=4113881071,也可以到官方网站下载。下载后解压到tools,并上传tools到/source/plugin/。
第二步:登录http://你的域名/source/plugin/tools/tools.php,在工具箱登录下面的框里输入密码188281MWWxjk,点登录。登录后点修复数据库。再点一键修复。修复完成后就能打开论坛了。为了安全,建议把tools目录删除掉。