PDA

View Full Version : Warning: array_merge() [function.array-merge]


pennylessz28
11-24-2004, 06:44 AM
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /disk3/home2/web/beginner/fbody/global.php on line 26

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /disk3/home2/web/beginner/fbody/global.php on line 41

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /disk3/home2/web/beginner/fbody/global.php on line 48

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /disk3/home2/web/beginner/fbody/includes/init.php on line 518

What does this warning tell me? I just installed, and this is all I get.

Artayick
11-24-2004, 08:22 AM
what did you set your paths to? looks like they are off cause it is not finding what it needs to run.

Our Sponsors
 

Zachery
11-24-2004, 10:29 AM
LEt me guess :) php5

Brian
11-24-2004, 01:10 PM
http://www.vbadvanced.com/forum/showthread.php?t=1864&highlight=php5

Our Sponsors
 

pennylessz28
11-24-2004, 04:59 PM
Congrats. PHP5

I attempted:

Hmmm... It appears that they have changed the way the array_merge() function works with PHP5. You should be able to fix this by opening your forum/global.php file and looking for:

define('VBA_PORTAL', true);


Right Below that Add:
$phrasegroups = array();
$specialtemplates = array();
$globaltemplates = array();


However I can not find define('VBA_PORTAL', true);

pennylessz28
11-24-2004, 05:03 PM
Well, it wasn't in global, it's in the whatever_index file, but on the other post it said inside of index, however, no problems now. Super, thanks. :)

pennylessz28
11-24-2004, 05:32 PM
Bazar, for a slight moment after it worked my forums told me I didn't have permission to acess them, a refresh later, everything seems fine. Thanks again.