[title]问题描述:[/title]
今天Discuz论坛点击版块链接后出现了如下错误:
Discuz! Database Error
(1030) Got error 175 from storage engine
SELECT * FROM forum_thread WHERE `fid`=’304′ AND `displayorder` IN(‘0′,’1’) ORDER BY displayorder DESC, lastpost DESC LIMIT 40
PHP Debug
No. | File | Line | Code |
1 | forum.php | 71 | require(%s) |
2 | source/module/forum/forum_forumdisplay.php | 640 | table_forum_thread->fetch_all_search(Array, %d, %d, %d, %s, %s, %s) |
3 | source/class/table/table_forum_thread.php | 523 | discuz_database::fetch_all(%s) |
4 | source/class/discuz/discuz_database.php | 101 | discuz_database::query(%s, Array, false, false) |
5 | source/class/discuz/discuz_database.php | 137 | db_driver_mysql->query(%s, false, false) |
6 | source/class/db/db_driver_mysql.php | 152 | db_driver_mysql->halt(%s, %d, %s) |
7 | source/class/db/db_driver_mysql.php | 223 | break() |
[title]?解决办法:[/title]
1、主要原因是数据表崩溃的原因,我们直接在MySQL 命令行或者phpmyadmin的SQL里修复即可:
repair table pre_forum_thread;
这里的pre_forum_thread为崩溃的表名。
2、另外一种原因可能是磁盘满了。可以用
df -h
命令查看磁盘情况。
发表回复