PDA

View Full Version : (SOLVED) HELP Problems, Problems, Problems!!!


The Realist
01-25-2005, 07:12 PM
Hi all,

Well Im stuck and its doing my head in slowly. I have installed some hacks but for some reason I got errors from somewhere, so I removed the hacks and the errors are still there.

I have the arcade hack and vBadvanced CMPS (Content Management & Portal System) installed. Now when I go into the arcade or visit the front page O get errors at the top of the page.

IE:

Arcade....

When I visit the arcade it works but dont save the scores and the errors at the top of the page is:


Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /global.php on line 365

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /includes/functions.php on line 2183

Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 2188


Now, when I use the vBadvanced CMPS front page it dont load at all apart from my skin and the errors at the top of the page is:


Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/techtro/public_html/forums/global.php on line 26

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/techtro/public_html/forums/global.php on line 41

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/techtro/public_html/forums/global.php on line 48

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /global.php on line 365

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /includes/functions.php on line 2183

Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 2188


Does anyone have a clue whats going on. I have been through the last hacks I installed, checked the code and removed hacks just in case it was those, but the errors are still there.

HELP :ermm:

Realist

Andreas
01-25-2005, 07:14 PM
You modified the files incorrectly.
Reload the original files, then carefully re-apply the modifications from the Arcade hack and CMPS.

The Realist
01-25-2005, 07:19 PM
Is there anyway of finding the error without doing that. I have other hacks installed as well that may need these files.

Andreas
01-25-2005, 07:31 PM
If you got PHP knowledge - yes.
Look at the lines that generate the errors and find out why the arrays are unset.

The Realist
01-26-2005, 10:52 AM
Thanks for the info M8 but I dont have PHP knowledge, this is why Im asking for help you see :)

sabret00the
01-26-2005, 01:06 PM
if you removed the hacks i suggest just using virgin files

Andreas
01-26-2005, 01:12 PM
I fear we can't help you much more as we don't know what's in your PHP files.
The easiest way would be to use original files.

Or send me a PM with ACP and FTP Login so I can take a look at it.

The Realist
01-26-2005, 01:12 PM
Problem has been solved and it was easy:)

Read THIS (https://vborg.vbsupport.ru/showthread.php?p=602391#post602391) it will come in handy for others.

Laters