![]() |
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 |
Please post the complete error msg your get for the database error.
|
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...
|
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.
|
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..
|
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. |
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..
|
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. |
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 |
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.
|
hmmmm go to cpanel, then database and click on repair database you can give it a try it might work ;)
|
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... |
Your DB problem is related to your first problem. Fix your first problem and it should solve the DB error.
|
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: 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); |
Yup I Did That Thanks So Much For Everything...all Your Help
|
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')); } |
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.
|
Change that code to:
PHP Code:
|
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
|
am unable to login my admin panel plzzz help meee frdss............... urget plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
|
config.php and add this line right under <?php
define('DISABLE_HOOKS', true); its propabaly because of one of the hacks u instaled..when u do this u will disable all your hacks than u can enter ur admin panel and fix the problem |
All times are GMT. The time now is 04:39 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|