Hello ,
There is message Data base error i recievd it evry day by the email , but i don't know how can i solve it ,
that mean if the member or vistor click on missing forum he will show Db's Error , but if the link correct and the forum number still on there is no problem and no data base error ,
Please help me to solve this problem ,
Regards
There is message Data base error i recievd it evry day by the email , but i don't know how can i solve it ,
PHP Code:
Database error in vBulletin 3.8.0 Release Candidate 2:
Invalid SQL:
SELECT thread.threadid, thread.title, thread.lastpost, thread.forumid, thread.replycount,
thread.lastposter, thread.dateline, thread.postusername, thread.postuserid, thread.iconid,
IF(views<=replycount, replycount+1, views) AS views, thread.visible, thread.open,
user.username, user.userid, user.usergroupid,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
FROM thread AS thread
LEFT JOIN user AS user ON (user.username = thread.lastposter)
WHERE NOT ISNULL(thread.threadid) AND thread.visible = '1' AND thread.open != '10'
AND thread.forumid NOT IN(95,2,114,85,70,71,86,145,96,20,,19,110,145,96,20)
ORDER BY lastpost DESC
LIMIT 0, 10;
MySQL Error : 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 '19,110,145,96,20)
ORDER BY lastpost DESC
LIMIT 0, 10' at line 9
Error Number : 1064
Request Date : Friday, December 26th 2008 @ 03:53:37 PM
Error Date : Friday, December 26th 2008 @ 03:53:38 PM
Script : http://www.dardasha.ps/montada/forumdisplay.php?f=119
Referrer :
IP Address : 2.11.64.97
Username : admin
Classname : vB_Database
MySQL Version :
that mean if the member or vistor click on missing forum he will show Db's Error , but if the link correct and the forum number still on there is no problem and no data base error ,
Please help me to solve this problem ,
Regards
Comment