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 ')as a ,(SELECT COUNT(uid) as ijoinednum FROM forum_activityapply WHERE uid =' at line 1
select iplandnum,ijoinednum from ( SELECT COUNT(tid) as iplandnum FROM forum_thread WHERE special =4 and authorid = )as a ,(SELECT COUNT(uid) as ijoinednum FROM forum_activityapply WHERE uid = )as b

PHP Debug

No.FileLineCode
1forum.php58require(%s)
2source/module/forum/forum_viewthread.php878include(%s)
3data/template/2_diy_forum_viewthread.tpl.php1hookscriptoutput()
4source/function/function_core.php1153hookscript()
5source/function/function_core.php1121plugin_dpw_activity_forum->viewthread_sidetop_output(Array)
6source/plugin/dpw_activity/activity_view.class.php295plugin_dpw_activity->_viewthread_sidetop()
7source/plugin/dpw_activity/activity_view.class.php96discuz_database::fetch_first(%s)
8source/class/discuz/discuz_database.php91discuz_database::query(%s, Array, false, false)
9source/class/discuz/discuz_database.php136db_driver_mysql->query(%s, false, false)
10source/class/db/db_driver_mysql.php151db_driver_mysql->halt(%s, %d, %s)
11source/class/db/db_driver_mysql.php218break()
www.028qinzi.com 已经将此出错信息详细记录, 由此给您带来的访问不便我们深感歉意. Need Help?