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 s.* from glory123 s,forum_post h where s.uid=h.authorid and h.pid=

PHP Debug

No.FileLineCode
1forum.php71require(%s)
2source/module/forum/forum_viewthread.php179showmessagenoperm()
3source/function/function_forum.php397showmessage()
4source/function/function_core.php1416dshowmessage(%s, %s, %s, Array)
5source/function/function_message.php239include(%s)
6data/template/6_6_common_showmessage.tpl.php1hookscriptoutput()
7source/function/function_core.php1207hookscript()
8source/function/function_core.php1167plugin_glory123_forum->viewthread_postbottom_output(Array)
9source/plugin/glory123/glory123.class.php28getainfo(%s)
10source/plugin/glory123/glory123.class.php110discuz_database::fetch_first(%s)
11source/class/discuz/discuz_database.php91discuz_database::query(%s, Array, false, false)
12source/class/discuz/discuz_database.php136db_driver_mysql->query(%s, false, false)
13source/class/db/db_driver_mysql.php153db_driver_mysql->halt(%s, %d, %s)
14source/class/db/db_driver_mysql.php224break()
www.glory123.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. Need Help?