Discuz! Database Error

(1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FORCE INDEX (digest) WHERE t.`fid`='45' AND t.`displayorder` IN('0','1','2','3'' at line 1
SELECT t.*, p.message, p.smileyoff, p.bbcodeoff, p.htmlon, p.authorid, p.pid, p.first, MAX(s.votes) AS max, SUM(s.votes) AS total FROM forum_thread t LEFT JOIN forum_post p ON t.tid = p.tid AND p.first = 1 LEFT OUTER JOIN forum_polloption s ON t.tid=s.tid FORCE INDEX (digest) WHERE t.`fid`='45' AND t.`displayorder` IN('0','1','2','3','4') AND t.`digest`>'0' GROUP BY t.tid ORDER BY displayorder DESC, lastpost DESC LIMIT 20

PHP Debug

No.FileLineCode
1forum.php111require(%s)
2source/module/forum/forum_forumdisplay.php1309table_forum_thread->fetch_all_search_gametv(Array, %d, %d, %d, %s, %s, %s)
3source/class/table/table_forum_thread.php1141discuz_database::fetch_all(%s, Array, %s, false, false)
4source/class/discuz/discuz_database.php100discuz_database::query(%s, Array, false, false, false)
5source/class/discuz/discuz_database.php141db_driver_mysql->query(%s, false, false)
6source/class/db/db_driver_mysql.php153db_driver_mysql->halt(%s, %d, %s)
7source/class/db/db_driver_mysql.php224break()
liidee.com 已經將此出錯信息詳細記錄, 由此給您帶來的訪問不便我們深感歉意. Need Help?