vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   This score was not submitted from the game. Your score will not be saved. (https://vborg.vbsupport.ru/showthread.php?t=171430)

W!cKeD 01-22-2013 07:02 AM

Quote:

Originally Posted by Pitman (Post 1751696)
My problem is due to my .htaccess file. I have /index.php redirected to / and when it tries to save the score, it redirects to /?act=Arcade&do=newscore rather than /index.php?act=Arcade&do=newscore which causes it not to save the score.

Is there anyway to either change something where it saves the score to /?act=Arcade&do=newscore (no index.php) or a RewriteCond I can use in the .htaccess file to work around this problem?

Here is basically what I'm using in my .htaccess file, if I remove this part, the scores save. I need the scores to save and the functionality of this to remain the same.

Code:

RewriteCond %{HTTP_HOST} !^www\.example\.com
RewriteRule ^(.*)$ http://www.example.com/$1 [R=permanent,L]
RewriteCond %{THE_REQUEST} ^.*\/index\.php?
RewriteRule ^(.*)index\.php?$ http://www.example.com/$1 [R=301,L]

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

Adding:

Code:

RewriteCond %{QUERY_STRING} !act=Arcade&do=newscore
RewriteCond %{QUERY_STRING} !autocom=arcade&do=savescore

Has seem to have worked.

I search this for nGinx any one have a solution?

Thanks

FTG LIQUID CL 01-28-2013 10:49 AM

Your submission could not be processed because a security token was missing.

is there a fix for this

Hippy 01-28-2013 01:40 PM

Just above your post add that to your. htaccess

FTG LIQUID CL 02-03-2013 10:55 AM

All games are keeping track of scores now,except moon lander.

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

I only get this on moon lander now?

Hippy 02-05-2013 03:18 AM

then the game is not completable with ibproarcade

docjohn 03-17-2013 05:20 PM

This is a problem with any game that has the words "and" or "or" in them (e.g., any "Word" game). This is a result of the ibp_cleansql function in the arcade.php, and the developers using this function to check and clean all game name input.

There are two ways to fix this. Create a separate function copied from the existing function, and remove the lines with "and" and "or" in them. Then go through the code and anywhere the code calls ibp_cleansql for game name, simply replace it with your new function name.

Alternatively (and probably less safe, security-wise), just remove the following two lines from ibp_cleansql in arcade.php:

Quote:

$sqlcomm[] = 'and';
$sqlcomm[] = 'or';


All times are GMT. The time now is 10:10 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.01094 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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