vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Troubleshooting / "How do I..." Questions

 
 
Thread Tools Display Modes
  #1  
Old 11-24-2004, 06:44 AM
pennylessz28's Avatar
pennylessz28 pennylessz28 is offline
Web Developer
 
Join Date: Mar 2004
Location: Virginia Beach, VA, USA
Posts: 222
Question Warning: array_merge() [function.array-merge]

PHP Code:
Warningarray_merge() [function.array-merge]: Argument #1 is not an array in /disk3/home2/web/beginner/fbody/global.php on line 26

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

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

Warningarray_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.
  #2  
Old 11-24-2004, 08:22 AM
Artayick Artayick is offline
Spectrum G and D
 
Join Date: Feb 2004
Location: In a box in your alley
Posts: 115
Default Re: Warning: array_merge() [function.array-merge]

what did you set your paths to? looks like they are off cause it is not finding what it needs to run.
  #3  
Old 11-24-2004, 10:29 AM
Zachery's Avatar
Zachery Zachery is offline
Super Moderator
 
Join Date: Jan 2004
Posts: 3,157
Default Re: Warning: array_merge() [function.array-merge]

LEt me guess php5
__________________
Zachery
vBadvanced Support & SysAdmin

  #4  
Old 11-24-2004, 01:10 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Warning: array_merge() [function.array-merge]

http://www.vbadvanced.com/forum/show...highlight=php5
  #5  
Old 11-24-2004, 04:59 PM
pennylessz28's Avatar
pennylessz28 pennylessz28 is offline
Web Developer
 
Join Date: Mar 2004
Location: Virginia Beach, VA, USA
Posts: 222
Default Re: Warning: array_merge() [function.array-merge]

Congrats. PHP5

I attempted:

Quote:
Originally Posted by Brian
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:

PHP Code:
define('VBA_PORTAL'true); 
Right Below that Add:
PHP Code:
$phrasegroups = array();
$specialtemplates = array();
$globaltemplates = array(); 
However I can not find
PHP Code:
define('VBA_PORTAL'true); 
  #6  
Old 11-24-2004, 05:03 PM
pennylessz28's Avatar
pennylessz28 pennylessz28 is offline
Web Developer
 
Join Date: Mar 2004
Location: Virginia Beach, VA, USA
Posts: 222
Default Re: Warning: array_merge() [function.array-merge]

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.
  #7  
Old 11-24-2004, 05:32 PM
pennylessz28's Avatar
pennylessz28 pennylessz28 is offline
Web Developer
 
Join Date: Mar 2004
Location: Virginia Beach, VA, USA
Posts: 222
Default Re: Warning: array_merge() [function.array-merge]

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.
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 -4. The time now is 12:02 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.