vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBadvanced CMPS (https://vborg.vbsupport.ru/forumdisplay.php?f=101)
-   -   MySQL Error on 3.0.9 Installation (https://vborg.vbsupport.ru/showthread.php?t=96534)

Andrew 09-18-2005 11:17 PM

MySQL Error on 3.0.9 Installation
 
A clients site I frequently work on is getting the following error when trying to access the CMPS:
Code:

Database error in vBulletin 3.0.9:

Invalid SQL:
                  SELECT
                 
                  thread.threadid, thread.title, thread.replycount, postusername, postuserid, thread.dateline AS postdateline, IF(views <= thread.replycount, thread.replycount+1, views) AS views, thread.lastposter, thread.lastpost, pollid
                  , thread.iconid AS threadiconid, iconpath AS threadiconpath
                        ,thread.forumid, forum.title AS forumtitle
                        , post.pagetext AS preview
                        , NOT ISNULL(subscribethread.subscribethreadid) AS subscribed
                        FROM vb_thread as thread
                        LEFT JOIN vb_icon USING (iconid)
                        LEFT JOIN vb_forum AS forum ON (thread.forumid = forum.forumid)
                        LEFT JOIN vb_post AS post ON (post.postid = thread.firstpostid)
                        LEFT JOIN vb_deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid AND type = 'thread')
                        LEFT JOIN vb_subscribethread AS subscribethread ON (subscribethread.threadid = thread.threadid AND subscribethread.userid = 1)
                        WHERE open <> '10' AND thread.visible = 1 AND thread.forumid NOT IN( )  AND deletionlog.primaryid IS NULL
                        ORDER BY lastpost DESC
                        LIMIT 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 ')  AND deletionlog.primaryid IS NULL
                        ORDER BY lastpost DESC

mysql error number: 1064

Date: Sunday 18th of September 2005 09:14:43 PM
Script: http://vincebaby.com/index.php
Referer:
Username: ShellR

The forums and all other hacks are working fine - Any ideas what could be causing this ?


All times are GMT. The time now is 06:07 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.02437 seconds
  • Memory Usage 1,709KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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