Blog·Tanky WooABOUTRSS

Discuz报错Mark一笔

18 Feb 2012
这篇博客是从旧博客 WordPress 迁移过来,内容可能存在转换异常。

打开论坛,突然发现出故障了:

**Discuz! info**: MySQL Query Error **Time**: 2012-2-18 11:31pm **Script**: /index.php **SQL**: UPDATE [Table]stats SET count=count+1 WHERE (type='total' AND variable='hits') OR (type='browser' AND variable='Safari') OR (type='os' AND variable='Windows') OR (type='total' AND variable='guests') OR (type='month' AND variable='201202') OR (type='week' AND variable='6') OR (type='hour' AND variable='23') **Error**: Incorrect key file for table './tankywoo_dz/[Table]stats.MYI'; try to repair it **Errno.**: 126

于是到官方论坛找解决方法:修复stats数据表

至于如何修复Discuz!论坛数据库? 见:http://www.discuz.net/thread-948919-1-1.html

不过我准备到phpmyadmin去修复的,结果phpmyadmin也出故障了:

Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.

这下子真郁闷了,在网上找的解决方法:

见:http://hi.baidu.com/jsf21/blog/item/f075bf31979f5ab25fdf0e0e.html

最后,其实我想说的是。。。根据官方说原因一般是服务器突然重启后导致的,我选择了重新服务器试试,然后~~~就好了~~~