vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   Scores not saving, even after changes to index.php are made (https://vborg.vbsupport.ru/showthread.php?t=231880)

s0lidgr0und 01-02-2010 02:46 AM

Scores not saving, even after changes to index.php are made
 
Like others, I'm getting the following error after I complete a game...
Quote:

This score was not submitted from the game. Your score will not be saved.
I saw the other thread and the files included with the download and the alterations have been made to the index.php file.

Also, I saw that someone had tried to comment out the content.php rather than the forum.php (or vice versa) and the problem still won't change.

I tested it on Snake, and before it goes to the error I listed above, the game says "Could Not Access Game Table".

Thoughts?

s0lidgr0und 01-04-2010 09:26 PM

Uninstalled and reinstalled, confirmed index change. Same problem.

--------------- Added [DATE]1262658404[/DATE] at [TIME]1262658404[/TIME] ---------------

While in debug mode,

This score was not submitted from the game. Your score will not be saved.

Error #011 -> gid=5|ui[a_sess_gid]=5|g[gid]=|vs[mid]=17|vs[gname]=snake|gamename=


--------------- Added [DATE]1262660065[/DATE] at [TIME]1262660065[/TIME] ---------------

Removed the index.php nonsense:

Error #010

jaffaman 01-06-2010 05:05 PM

Doing the changes on the index.php did not work for me but as i am using the VB4 suite i tried putting the changes in the content.php and it seemed to work ok but still testing.

s0lidgr0und 01-09-2010 09:53 AM

Jaffa - Thanks for your suggestion. I placed the coding in the forum.php, which is my landing page, and everything started working fine.

sdebank 01-12-2010 07:58 PM

I'm on 3.8.4 and the same problem. The score didn't save, played the game again and it did...

Nightridr 02-13-2010 10:08 PM

Was wondering if someone here could help me. I have two issues first one is with arcade.php i get an error ......

Code:

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\magamers\arcade.php on line 3190

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\magamers\arcade.php on line 4082

line 3190 ----$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
 
line 4082 -----$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());

Seems it doesn't like the reference NEW if i delete these lines the error goes away but i think it prevents you from making a comment on yr high score.

Also have an issue with the code u add to the index.php file. I have read yr posts here and tried it in forum.php and in content.php but this didn't work for me.

After completing a game i get this error:

Code:

Notice: Undefined index: module in C:\wamp\www\magamers\index.php on line 2

Notice: Use of undefined constant act - assumed 'act' in C:\wamp\www\magamers\index.php on line 41

Notice: Use of undefined constant autocom - assumed 'autocom' in C:\wamp\www\magamers\index.php on line 42

Notice: Undefined index: autocom in C:\wamp\www\magamers\index.php on line 42

Notice: Use of undefined constant showuser - assumed 'showuser' in C:\wamp\www\magamers\index.php on line 43

Notice: Undefined index: showuser in C:\wamp\www\magamers\index.php on line 43

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\magamers\arcade.php on line 3190

Deprecated: Assigning the return value of new by reference is deprecated in C:\wamp\www\magamers\arcade.php on line 4082

I have found that by deleting the reference NEW on lines 3190 & 4082 as well as deleting the whole of line 4083 ..... as well as deleting lines 2, 41,42 & 43 in the index.php i can get it to work .. (save scores) but as i've said above i cannot comment on highscores, probably because i've deleted the bbcode reference :)

Any help would be apprieciated as im trying to get things sorted out on a localhost before i put it onto the web.

ps. newbie to this who is trying to learn

Speysider 02-14-2010 11:58 AM

The deprecation errors are due to PHP 5.3. Please contact your host and ask them to downgrade their version of PHP to 5.2 .

Nightridr 02-16-2010 05:22 AM

Quote:

Originally Posted by Speysider (Post 1982057)
The deprecation errors are due to PHP 5.3. Please contact your host and ask them to downgrade their version of PHP to 5.2 .

Thanks for that Speysider ...... as it is i'm only using wamp localhost atm and it is running 5.3 i will change the version thankyou for that.

topoli 02-19-2010 08:03 AM

Quote:

Originally Posted by jaffaman (Post 1948948)
Doing the changes on the index.php did not work for me but as i am using the VB4 suite i tried putting the changes in the content.php and it seemed to work ok but still testing.

what changes did you put in content.php?

s0lidgr0und 02-19-2010 12:25 PM

Quote:

Originally Posted by topoli (Post 1986255)
what changes did you put in content.php?

In your download, look for the file named 'INFO - vbadvanced or another Portal.txt'.


All times are GMT. The time now is 03:12 AM.

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.01039 seconds
  • Memory Usage 1,740KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete