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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #14  
Old 01-11-2008, 10:49 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I forgot about the database error. For future reference, when you get a database error, if you View Page Source on the error page, the full error is there. In this case I just got:

Code:
Database error in vBulletin 3.6.8:

Invalid SQL:

							SELECT thread.threadid, thread.title, thread.lastpost, thread.forumid, thread.replycount, 
							thread.lastposter, thread.dateline, thread.postusername, thread.postuserid, 
							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 (Array) 
							ORDER BY lastpost DESC 
							LIMIT 0, 25;

MySQL Error  : Unknown column 'Array' in 'where clause'
Error Number : 1054
Date         : Friday, January 11th 2008 @ 04:43:58 PM
Script       : http://www.yah00-city.com/
Referrer     : https://vborg.vbsupport.ru/showthread.php?p=1419830
IP Address   : xx.xx.xx.xx
Username     : Unregistered
Classname    : vB_Database
I think you need to turn off the hacks and fix the original array_merge problem and then see if this database error goes away.

ftp to your site and go to includes/config.php and add this line somewhere in the body (right after the "<?php" line is fine):
Code:
define('DISABLE_HOOKS', true);
and save the file and see if you can get onto your site now. That line will disable your plugins. After you fix the array_merge error, comment it out and see if the database error is still there.
Reply With Quote
 


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 10:52 PM.


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.05277 seconds
  • Memory Usage 2,821KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (21)post_thanks_box
  • (21)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (21)post_thanks_postbit_info
  • (21)postbit
  • (21)postbit_onlinestatus
  • (21)postbit_wrapper
  • (1)showthread_list
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_threadedmode.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids_threaded
  • showthread_threaded_construct_link
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete