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 category FROM portal_category where catid=

PHP Debug

No.FileLineCode
1portal.php462require_once('E:\huaxia3 ...')
2source/module/portal/portal_hxylview.php34discuz_database::result_first('SELECT cat ...')
3source/class/discuz/discuz_database.php117discuz_database::query('SELECT cat ...', Array, false, false)
4source/class/discuz/discuz_database.php136db_driver_mysql->query('SELECT cat ...', false, false)
5source/class/db/db_driver_mysql.php153db_driver_mysql->halt('You have a ...', 1064, 'SELECT cat ...')
6source/class/db/db_driver_mysql.php224break()
huaxia369.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. Need Help?