View Full Version : cmp errror occurs on vb303
jimmyboy
07-17-2004, 02:27 AM
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/ab2sf32/public_html/forum/global.php on line 25
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/ab2sf32/public_html/forum/global.php on line 40
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/ab2sf32/public_html/forum/global.php on line 47
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/ab2sf32/public_html/forum/includes/init.php on line 517
Unable to add cookies, header already sent.
File: /home/ab2sf32/public_html/forum/global.php
Line: 26
Brian
07-17-2004, 02:08 PM
Hmm... Would you mind submitting a support ticket via the Member's Area here so I can have a look?
DeadBeat
07-21-2004, 09:30 PM
i get the same EXACT error.
i submitted a ticket as well i think
jimmyboy
08-02-2004, 04:39 PM
it's working perfectly on vb3.0, but things went wrong after i upgraded it to vb303
and itried a gain,, now it shows
Fatal error: Call to undefined function: print_portal_output() in /home/xi1f2xa/public_html/forum/home.php on line 27
Brian
08-02-2004, 06:56 PM
That's because you didn't reapply the changes to your new vBulletin files. ;)
I get the same errors on my home "test" server.
I have applied the changes to the letter 3 times now and I still get the same messages as the first post.
You could argue that if I was clever I would be able to figure it out myself, but I'm not so it's over to you Brian ;)
I get an additional error when running it through an editor:
Warning: Invalid argument supplied for for each() in C:\Network\Apache2\htdocs\forum\includes\sessions.php on line 270
Brian
08-02-2004, 08:45 PM
I can't really do much unless I can see the problem myself. I can't reproduce it on my localhost, so I can't be of much help unless somebody that's having the problem can submit a support ticket.
jimmyboy
08-03-2004, 04:22 AM
brian, i suggest u to upgrade ur forums to vb303, see if there is any problem
i tired it, it's working fine under windows, but not ok unde linux..
jimmyboy
08-03-2004, 04:34 AM
hey, Brian, nvm, i just fixed the problem....i made a mistake..
nothing wrong with the script/
thx!
mholtum
08-03-2004, 05:33 AM
brian, i suggest u to upgrade ur forums to vb303, see if there is any problem
i tired it, it's working fine under windows, but not ok unde linux..I was running CMPS and vb3.0.0 then upgraded to 3.0.3. No problems & I am running on a linux server as well.
It seems my problem is due to PHP5, I installed php4 and everything works now.
KW802
08-03-2004, 08:38 PM
It seems my problem is due to PHP5, I installed php4 and everything works now.
:eek:
Could you elaborate on this a bit.... My site is (hopefully) as we speak getting moved over to a newer server with all of the latest bells & whistles including PHP5.
Edit: Never mind..... the new server is only at 4.3.0 but I'd still be curious why you believe PHP5 broke it. :D
Brian
08-03-2004, 09:12 PM
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 cmps_index.php file and looking for:
define('VBA_PORTAL', true);
Right Below that Add:
$phrasegroups = array();
$specialtemplates = array();
$globaltemplates = array();
Thanks Brian, when I try PHP5 again I'll give it a whirl, but vBa CMPS isn't the only addition/hack that does work properly on PHP5 that I use.
BamaTech
10-01-2004, 01:33 AM
Just what i needed to know, I've just recently became involved with vbulletin and having to learn on the fly, after checking out tons of php portals for a specific project
i liked this CMPS very much.
My Test Box though had PHP5 and although vbaHomePage worked great CMPS wouldnt. Too Bad i didnt look here before pulling most of my hair out trying to fix it.
Thanks for a great product and outstanding support forums.
p3gator
11-07-2004, 05:03 AM
Thanks, that worked the trick!!
HellRazor
01-17-2005, 12:41 AM
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 cmps_index.php file and looking for:
define('VBA_PORTAL', true);
Right Below that Add:
$phrasegroups = array();
$specialtemplates = array();
$globaltemplates = array();
Recommend the installation instructions be updated, if you have PHP5 the default install doesn't work and this fix is required!
ConqSoft
01-17-2005, 12:53 AM
Recommend the installation instructions be updated, if you have PHP5 the default install doesn't work and this fix is required!
Jelsoft doesn't recommend running vBulletin on PHP5 yet anyway...
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.