vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   (SOLVED) HELP Problems, Problems, Problems!!! (https://vborg.vbsupport.ru/showthread.php?t=75108)

The Realist 01-25-2005 07:12 PM

(SOLVED) HELP Problems, Problems, Problems!!!
 
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:

Quote:

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:

Quote:

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 it will come in handy for others.

Laters


All times are GMT. The time now is 04:15 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02329 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete