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 'ORDER BY a.`dateline` DESC LIMIT 25' at line 2
SELECT a.*,c.grouptitle FROM portal_comment a LEFT OUTER JOIN common_member b on a.uid=b.uid LEFT OUTER JOIN common_usergroup c on b.groupid=c.groupid where ORDER BY a.`dateline` DESC LIMIT 25

PHP Debug

No.
File
Line
Code
1
portal.php
90
require_once(%s)
2
source/module/portal/portal_imagetext.php
57
table_portal_comment->fetch_all_by_id_idtype(%s, %s, %s, %s, %d, %d)
3
source/class/table/table_portal_comment.php
73
discuz_database::fetch_all_custom(%s, Array)
4
source/class/discuz/discuz_database.php
474
discuz_database::query_nosafe(%s, Array, false, false)
5
source/class/discuz/discuz_database.php
508
db_driver_mysql->query(%s, false, false)
6
source/class/db/db_driver_mysql.php
153
db_driver_mysql->halt(%s, %d, %s)
7
source/class/db/db_driver_mysql.php
224
break()
www.expreview.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. Need Help?