PDA

View Full Version : Issue with score submissions, found the problem not sure of the solution


MrEyes
01-31-2008, 07:22 PM
Hello all

I have a teensy weensy little problem with the Arcade, basically none of the scores are being submitted. Now after a little investigation I think I have found the problem....

When a game attempts to submit scores it passes the query string "?act=Arcade&do=newscore" to the script.

Now I might be wrong, but on my setup this is being sent to index.php, this is where I think the problem is. Using admincp and recognised VB config* I have change the home page script name of the forum to "forum" (i.e. forum.php). It seems the arcade isnt picking this configuration up.

So does anybody know what the solution might be?

* vBulletin Options -> Forums Home Page Options -> Script Name for Forum Home Page

After hunting around, I have found this thread and post

https://vborg.vbsupport.ru/showthread.php?p=1376693#post1376693

Adding the code to the index.php doesnt work, and result in the following errors:

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

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /includes/vba_cmps_include_top.php on line 517

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

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


Obvously the CMPS works fine with the "hack", so it is obviously how I have added it.

--------------- Added 1201815323 at 1201815323 ---------------

Actually forget it, I should learn to read the documents in the mod download :o

MrZeropage
01-31-2008, 07:49 PM
that's what I thought of first ;) :D