Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-30-2010, 11:10 AM
MAORBARI MAORBARI is offline
 
Join Date: Sep 2008
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default External.php Database Error

PHP Code:
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,14,119,250,354,357,358,257,338,397,394,120,121,122,123,124,125,168,126,127,128,129,130,131,132,133,252,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      : &#1488;ורח
Classname     : vB_Database 
why is it happen?
how to resolve it?
Reply With Quote
  #2  
Old 01-30-2010, 02:19 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 01-31-2010, 12:36 PM
MAORBARI MAORBARI is offline
 
Join Date: Sep 2008
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, It some mod that do the problem|! Thank you very much!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:52 PM.


Powered by vBulletin® Version 3.9.0
Copyright ©2000 - 2017, vBulletin Solutions Inc.