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 fsort ASC,id DESC LIMIT 0,10' at line 1
SELECT * FROM tom_tongcheng_focuspic WHERE 1 AND site_id=1 AND type_id=2 AND model_id= ORDER BY fsort ASC,id DESC LIMIT 0,10

PHP Debug

No.FileLineCode
1hffwxgtre.php18require(%s)
2plugin.php47include(%s)
3source/plugin/tom_tongcheng/tom_tongcheng.inc.php442include(%s)
4source/plugin/tom_tongcheng/module/list.php155table_tom_tongcheng_focuspic->fetch_all_list(%s, %s, %d, %d)
5source/plugin/tom_tongcheng/table/table_tom_tongcheng_focuspic.php24discuz_database::fetch_all(%s, Array)
6source/class/discuz/discuz_database.php101discuz_database::query(%s, Array, false, false)
7source/class/discuz/discuz_database.php137db_driver_mysql->query(%s, false, false)
8source/class/db/db_driver_mysql.php152db_driver_mysql->halt(%s, %d, %s)
9source/class/db/db_driver_mysql.php223break()
bbs.zhgc088.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意.