vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   External.php Database Error (https://vborg.vbsupport.ru/showthread.php?t=234538)

MAORBARI 01-30-2010 11:10 AM

External.php Database Error
 
PHP Code:

Database error in vBulletin 3.8.3:

Invalid SQL:

                            
SELECT thread.threadidthread.titlethread.lastpostthread.forumidthread.replycount
                            
thread.lastposterthread.datelinethread.postusernamethread.postuseridthread.iconid,
                            IF(
views<=replycountreplycount+1views) AS viewsthread.visiblethread.open
                            
user.usernameuser.useriduser.usergroupid
                            IF(
displaygroupid=0user.usergroupiddisplaygroupid) 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 syntaxcheck 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  
SaturdayJanuary 30th 2010 03:03:28 PM
Error Date    
SaturdayJanuary 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?

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!


All times are GMT. The time now is 09:38 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01085 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete