Discuz! Database Error

(23) Out of resources when opening file './amsql/forum_thread.MYD' (Errcode: 24)
(SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='2' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='3' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='4' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='6' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='7' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='10' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='13' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='17' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='19' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='22' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='23' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='24' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='46' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='47' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5) UNION (SELECT t.*, f.name FROM forum_thread t LEFT JOIN forum_forum f ON f.fid = t.fid WHERE t.fid='48' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5)

PHP Debug

No.FileLineCode
1forum.php96discuz_database::query(%s)
2source/class/discuz/discuz_database.php136db_driver_mysql->query(%s, false, false)
3source/class/db/db_driver_mysql.php153db_driver_mysql->halt(%s, %d, %s)
4source/class/db/db_driver_mysql.php224break()
bbs.amhl.net 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. Need Help?