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 authorid FROM forum_thread WHERE tid=

PHP Debug

No.FileLineCode
1forum.php65runhooks()
2source/function/function_core.php1118hookscript(%s, %s, %s, Array, %s)
3source/function/function_core.php1167base_plugin_singcere_xn->common(Array)
4source/plugin/singcere_xn/mhook.class.php339require(%s)
5source/plugin/singcere_xn/function_common.php1(Array, %d)
6source/plugin/singcere_xn/function_common.php1(%s, %d, Array, %d, %d, Array, %d)
7source/plugin/singcere_xn/function_common.php1_validate(%d, %s, %s)
8source/plugin/singcere_xn/function_common.php(1) : eval()'d code1(Array, %d)
9source/plugin/singcere_xn/function_common.php1ʍ(%s, %d, Array, %d, %d, Array, %d)
10source/plugin/singcere_xn/function_common.php1_showwarning(%s, %s)
11source/plugin/singcere_xn/function_common.php(1) : eval()'d code1(Array, %d)
12source/plugin/singcere_xn/function_common.php1݆(%s, %d, Array, %d, %d, Array, %d)
13source/plugin/singcere_xn/function_common.php1showmessage(%s)
14source/function/function_core.php1416dshowmessage(%s, %s, Array, Array, %d)
15source/function/function_message.php239include(%s)
16data/template/17_15_common_showmessage.tpl.php1hookscriptoutput(%s)
17source/function/function_core.php1207hookscript(%s, %s, %s, Array)
18source/function/function_core.php1167plugin_it618_attachdisplay_forum->viewthread_posttop_output(Array)
19source/plugin/it618_attachdisplay/attachdisplay.class.php21discuz_database::result_first(%s)
20source/class/discuz/discuz_database.php117discuz_database::query(%s, Array, false, false)
21source/class/discuz/discuz_database.php136db_driver_mysql->query(%s, false, false)
22source/class/db/db_driver_mysql.php153db_driver_mysql->halt(%s, %d, %s)
23source/class/db/db_driver_mysql.php224break()
bbs.satnet.com.cn 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. Need Help?