Discuz! Database Error

(23) Out of resources when opening file 'C:\DOCUME~1\mysql\LOCALS~1\Temp\MY9F3.tmp' (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='9' 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='11' 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='12' 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='14' 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='15' 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='16' 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='18' 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='20' 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='21' 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='25' 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='26' 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='27' 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='28' 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='29' 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='30' 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='31' 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='32' 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='33' 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='35' 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='36' 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='37' 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='38' 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='39' 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='40' 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='41' 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='42' 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='43' 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='45' 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='52' 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='53' 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='54' 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='55' 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='56' 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='57' 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='58' 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='60' 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='61' 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='62' 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='63' AND t.closed NOT LIKE 'moved|%' AND t.displayorder>=0 ORDER BY t.dateline DESC LIMIT 5)

PHP Debug

No.FileLineCode
1forum.php87discuz_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()
jheee.cn 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. Need Help?