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

Reply
 
Thread Tools Display Modes
  #11  
Old 01-11-2008, 09:51 PM
Akademiks's Avatar
Akademiks Akademiks is offline
 
Join Date: Sep 2007
Location: New York
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmmm go to cpanel, then database and click on repair database you can give it a try it might work
Reply With Quote
  #12  
Old 01-11-2008, 09:56 PM
mystic10 mystic10 is offline
 
Join Date: Sep 2007
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ohhhhhhhhh thanks lynned and akademiks...now it makes sense...its the vbshout thats causing the problem i will give it a shot as soon as my second problem goes way..i have data base error so i cant get in still trying to get that fix...but thanks so much very kind of u all

i will try to find that line if i am lost than i will paste it to see if someone can help me thanks again...
Reply With Quote
  #13  
Old 01-11-2008, 10:45 PM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your DB problem is related to your first problem. Fix your first problem and it should solve the DB error.
Reply With Quote
  #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
  #15  
Old 01-12-2008, 06:25 PM
mystic10 mystic10 is offline
 
Join Date: Sep 2007
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yup I Did That Thanks So Much For Everything...all Your Help
Reply With Quote
  #16  
Old 01-14-2008, 03:52 PM
mystic10 mystic10 is offline
 
Join Date: Sep 2007
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is what it shows for plugin what do i change:
hook: fetch inferno:

the error: Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/functions.php(1259) : eval()'d code on line 5

--------------------------------------------
below plugin php code: what do i change

if (VB_AREA == "Forum")
{
global $globaltemplates;

$globaltemplates = array_merge($globaltemplates, array('forumhome_vbshout'));
}
Reply With Quote
  #17  
Old 01-15-2008, 08:29 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you have questions/problems with a modification or style, then please post in the thread (or support forum/board) about that modification/style. Best chance to receive a reply from either the author or another member using the same modification/style.
Reply With Quote
  #18  
Old 01-15-2008, 08:42 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Change that code to:
PHP Code:
if (VB_AREA == 'Forum')
{
    global 
$globaltemplates;

    if (!
is_array($globaltemplates))
    {
        
$globaltemplates = array();
    }

    
$globaltemplates array_merge($globaltemplates, array('forumhome_vbshout'));

Reply With Quote
  #19  
Old 01-15-2008, 04:34 PM
mystic10 mystic10 is offline
 
Join Date: Sep 2007
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks thanks thanks thanks thanks..you guys are the best...i cant thank you enough for your help and kindess..may god bless u all
Reply With Quote
  #20  
Old 02-11-2008, 08:27 AM
viper007 viper007 is offline
 
Join Date: Dec 2007
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

am unable to login my admin panel plzzz help meee frdss............... urget plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
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 10:41 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04548 seconds
  • Memory Usage 2,252KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (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
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (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_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete