Log in

View Full Version : External.php Database Error


MAORBARI
01-30-2010, 11:10 AM
Database error in vBulletin 3.8.3:

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(181,351,352,353,361,339,332,360,307,19,246,53,1 4,119,250,354,357,358,257,338,397,394,120,121,122, 123,124,125,168,126,127,128,129,130,131,132,133,25 2,260,299,134,135,136,137,365,366,367,368,369,370, ,168,84)
ORDER BY lastpost DESC
LIMIT 0, 5;

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 '168,84)
ORDER BY lastpost DESC
LIMIT 0, 5' at line 9
Error Number : 1064
Request Date : Saturday, January 30th 2010 @ 03:03:28 PM
Error Date : Saturday, January 30th 2010 @ 03:03:28 PM
Script : external.php?type=RSS2&forumids=395
Referrer :
IP Address : *******
Username : אורח
Classname : vB_Database

why is it happen?
how to resolve it?

Marco van Herwaarden
01-30-2010, 02:19 PM
Most likely a modification that is causing this.

To troubleshoot this, please remove any hacks and disable your plugins, then see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

If so, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.

If your problem still exists, please create a new Style with no Parent set. Now browse the forum using this new style, do you still have the same problems? If you are troubleshooting login or guest issues, you will need to set this style as board default in the vBulletin Options.

MAORBARI
01-31-2010, 12:36 PM
Thank you, It some mod that do the problem|! Thank you very much!