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

Reply
 
Thread Tools Display Modes
  #1  
Old 01-11-2008, 04:40 PM
mystic10 mystic10 is offline
 
Join Date: Sep 2007
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default i pray that someone can help

1st problem
well i am using vbshout that is in all pages..when i disable this i dont get the error but when i enable it everything works but with this error...problem is that i dont want to disable it as i love the vbshout and i dont know what to do this is the error i get

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

what i can i put in line 5 that will stop the error
currently running: 3.6.8 pl2 version

2nd problem:this is more important than the first
i have a database error this is what it give and i dont know how i can fix it
MySQL Error : Unknown column 'Array' in 'where clause' Error Number : 1054 Date : Friday, January 11th 2008 @ 09:36:58 AM Script : http://www.yah00-city.com/ Referrer : IP Address : 121.246.209.2 Username : Unregistered Classname : vB_Database
Reply With Quote
  #2  
Old 01-11-2008, 05:38 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please post the complete error msg your get for the database error.
Reply With Quote
  #3  
Old 01-11-2008, 05:43 PM
mystic10 mystic10 is offline
 
Join Date: Sep 2007
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sir this is the complete error msg that i got...i talked to my host when i got the database error and they showed me this as the error...i can't enter my site due to the database error...
Reply With Quote
  #4  
Old 01-11-2008, 06:20 PM
Antivirus's Avatar
Antivirus Antivirus is offline
 
Join Date: Sep 2004
Location: Black Lagoon
Posts: 1,090
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The array merge error is most likely due to your hosting company recently upgrading to php5 and one of the mods you've installed not being compatible. Search the forums here for array_merge error and you'll see what I'm talking about.
Reply With Quote
  #5  
Old 01-11-2008, 06:30 PM
mystic10 mystic10 is offline
 
Join Date: Sep 2007
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i know the hack thats causing the problem its vbshout on all pages as when i even use the thanks hack it says the same thing..but is there something i can do that will make this error go aways...i have posted it everywhere including where i downloaded the hacks from but no reply...maybe u can help..
Reply With Quote
  #6  
Old 01-11-2008, 06:34 PM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If your still having problems disabling your hacks follow this: https://vborg.vbsupport.ru/showpost....97&postcount=2

You will just have to wait till the hacks are fixed.
Reply With Quote
  #7  
Old 01-11-2008, 07:15 PM
mystic10 mystic10 is offline
 
Join Date: Sep 2007
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no sir i am not having problems disabling hack i just need a solution on what can i add on line 5 that the error just goes away...i want the hack just not the error..
Reply With Quote
  #8  
Old 01-11-2008, 07:53 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There was a fix mentioned - search for "array_merge" on this site and your will get threads about this problem (I'd limit it to thread title). Like this thread:

[Fix How to] PHP 5 and array_merge errors

There are a few others but you can do the search and see them yourself.
Reply With Quote
  #9  
Old 01-11-2008, 09:23 PM
mystic10 mystic10 is offline
 
Join Date: Sep 2007
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i checked it out and its talking about index.php and i need help in functions.php....thanks for taking the time lynne really appreciated it..but maybe this can help u help me

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

in functions.php line 1259: ($hook = vBulletinHook::fetch_hook('fetch_userinfo')) ? eval($hook) : false;

what would i need to chage
Reply With Quote
  #10  
Old 01-11-2008, 09:50 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It isn't just dealing with the index page. It is dealing with any instance of array_merge. That line in functions is not the problem, it is the plugin you have that is using the hook "fetch_userinfo". In whatever plugin is using that hook that is causing the error is a line using array_merge, you need to modify that line in that plugin.
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 03:25 PM.


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.05094 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
  • (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