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 '' at line 1
SELECT * FROM resource_type WHERE id =

PHP Debug

No.FileLineCode
1down.php19require(%s)
2p_d.php66include(%s)
3source/plugin/resource/r_d.inc.php24include(%s)
4source/plugin/resource/lib/rtopic.php84include(%s)
5data/template/4_resource_pc6_resource_topic.tpl.php48get_catname(%s)
6source/plugin/resource/r_d.inc.php194discuz_database::fetch_all(%s)
7source/class/discuz/discuz_database.php104discuz_database::query(%s, Array, false, false)
8source/class/discuz/discuz_database.php141db_driver_mysql->query(%s, false, false)
9source/class/db/db_driver_mysql.php153db_driver_mysql->halt(%s, %d, %s)
10source/class/db/db_driver_mysql.php224break()
www.macw.cn 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. Need Help?