vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   Script Errors and cant submit scores (https://vborg.vbsupport.ru/showthread.php?t=123957)

aggiefan 08-14-2006 06:20 PM

Script Errors and cant submit scores
 
Quote:

Notice: Undefined index: sessdo in C:\AGGIEFANS\WEB\forums\arcade.php on line 24

Notice: Undefined index: sessdo in C:\AGGIEFANS\WEB\forums\arcade.php on line 31

Warning: Cannot modify header information - headers already sent by (output started at C:\AGGIEFANS\WEB\forums\arcade.php:24) in \arcade.php on line 2241

Warning: Cannot modify header information - headers already sent by (output started at C:\AGGIEFANS\WEB\forums\arcade.php:24) in \arcade.php on line 2242

Warning: Cannot modify header information - headers already sent by (output started at C:\AGGIEFANS\WEB\forums\arcade.php:24) in \arcade.php on line 2243

Warning: Cannot modify header information - headers already sent by (output started at C:\AGGIEFANS\WEB\forums\arcade.php:24) in \arcade.php on line 2244

Warning: Cannot modify header information - headers already sent by (output started at C:\AGGIEFANS\WEB\forums\arcade.php:24) in \arcade.php on line 2256

Warning: Cannot modify header information - headers already sent by (output started at C:\AGGIEFANS\WEB\forums\arcade.php:24) in \arcade.php on line 2257

Warning: Cannot modify header information - headers already sent by (output started at C:\AGGIEFANS\WEB\forums\arcade.php:24) in \arcade.php on line 2258
I get these errors when trying to play a game (and the 2 sessdo erros on the landing page for the arcade which i know the sessdo errors will be fixed)

but I also get the

Quote:

Sorry, an error occurred. If you are unsure on how to use a feature, or don't know why you got this error message, try looking through the help files for more information.

The error returned was:

This score was not submitted from the game. Your score will not be saved.
error which is much more serious.

I run a Win2k3 Server on apache 2.2.2 and php 5.1.4 and mysql 5.0.22

Neo_obs 08-15-2006 04:33 AM

looks like the obvious you have 2 headers on your site. Just look at your source code and look for two <header> statements

the other can be caused by many things but most of the time its by using a portal or having a corrupt/incompatible game file.

aggiefan 08-21-2006 09:42 PM

the only games we have installed so far are the ones builtin with the script... and the only portal we run is vbadvanced and its not in the same directory so i think that isnt an issue (i read in the support docs it is if its in the forums dir)

but really those issues arent too big, the not saving scores is.

Quote:

Sorry, an error occurred. If you are unsure on how to use a feature, or don't know why you got this error message, try looking through the help files for more information.

The error returned was:

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

Professor Haase 08-22-2006 04:26 PM

I have the same problem like aggiefan.

I think it is a problem of MySQL-Version 5.0.22 and/or PHP 5.1.4-0, but i have no idea what i can do.

(Sorry for my english, i am from Germany ;) )

aggiefan 08-22-2006 07:48 PM

Yeah Im thinking its a apache/php/mysql specific error (or possibly running on server 2003)

and I know Ive read many people have this same problem and nobody has gotten an answer yet.

and I have the same versions... server 2003 with apache 2.2.2 and mysql 5.0.22 and php 5.1.4

Professor Haase 08-23-2006 08:22 AM

We use Linux Debian ;)

So i think it's not a problem with Windows 2003 Servers.

We use Apache v2.0.55...

We have the same MySQL und PHP Versions as you...

D1v1n1ty 08-25-2006 12:17 PM

Having the same errors as well. But I'm using a win2003 server with IIS.
So I think we can safely rule out any operating system stuff :cool:

Ranger187 08-27-2006 04:49 PM

Having same issues.

PHP v4.4.3 (32bit)
IIS 6.0 (64bit)
MySQL 5.0 (64bit)
Windows 2003 64bit Edition

Supposedly Zero has a fix in 2.5.7 but unfortunately, it's not resolving our issues now. I'm uninstalling this until a fix is available or the issue is addressed mainstream.

Zero, can you PM info on how to resolve this? I can't allow FTP access to my sites.

aggiefan 08-28-2006 07:06 PM

I sent him pm with my login stuff so we will see if he can find anything.

Ranger187 08-28-2006 09:15 PM

He sent me an email then never replied since.

MrZeropage 08-29-2006 05:25 AM

@Ranger187:
you've mail :)

@aggiefan:
fixed it - the sessdo-thing is done, but the games where working fine ...

Ranger187 08-29-2006 08:41 PM

Zero, you rock! Works great. Thanks.

aggiefan 08-30-2006 10:50 PM

Ours works too....thanks!

CompuJonathan 09-01-2006 08:24 AM

I'm having the same problem of not being able to submit scores. Zero, could you please PM me how to fix this issue.

Thank You!
- Compu

MrZeropage 09-01-2006 08:39 AM

you are using vbAdvanced, read the enclosed instructions "vbadvanced and other portals.txt" to fix this :)

rolandogomez 09-03-2006 03:46 PM

I have the same problems, read the portals.txt, then when I made the changes on the index, I got this (but only on the forum, not the portal page) :

Notice: Undefined index: module in /var/www/vhosts/glamour1.com/htdocs/forums/index.php on line 4

Notice: Undefined index: func in /var/www/vhosts/glamour1.com/htdocs/forums/index.php on line 12

Notice: Undefined index: func in /var/www/vhosts/glamour1.com/htdocs/forums/index.php on line 18

Notice: Undefined index: func in /var/www/vhosts/glamour1.com/htdocs/forums/index.php on line 24

Notice: Use of undefined constant act - assumed 'act' in /var/www/vhosts/glamour1.com/htdocs/forums/index.php on line 30

Notice: Undefined index: act in /var/www/vhosts/glamour1.com/htdocs/forums/index.php on line 30

Notice: Use of undefined constant showuser - assumed 'showuser' in /var/www/vhosts/glamour1.com/htdocs/forums/index.php on line 32

Notice: Undefined index: showuser in /var/www/vhosts/glamour1.com/htdocs/forums/index.php on line 32

Additionally, some games work, store the scores, etc., but when I add other games, not all work. I have one question, do you do custom work so my arcade can look similar to the one on iBPA? Thanks, rg sends!

toolmanwill 10-12-2006 11:03 AM

I'm in that same boat there. Same errors as above when adding the portal code to index.php.

We use vb 3.6.2, vbadvanced CMPS, and Arcade 2.5.6+.
Still cant get the scores to save for anything. It just takes you back to the forums index, not the portal index and still doesnt save the score.

Help Please.

SarahP 10-12-2006 12:18 PM

I have posted a new post about htis but i am having the same issues as pp
please help

Malk 10-13-2006 12:14 PM

Both in arcade.php and this "fix", variables are not defined correctly, which is why the "error" notices are displayed.

Paste in this instead:

Code:

// ibProArcade modification
if(isset($_POST["module"]) && $_POST["module"] == "pnFlashGames"){
        $_GET["act"] = "Arcade";
        $_GET["module"] = "arcade";
}
if(isset($_POST["func"]) && $_POST["func"] == "storeScore"){
        $_GET["do"] = "pnFStoreScore";
}
if(isset($_POST["func"]) && $_POST["func"] == "saveGame"){
        $_GET["do"] = "pnFSaveGame";
}
if(isset($_POST["func"]) && $_POST["func"] == "loadGame"){
        $_GET["do"] = "pnFLoadGame";
}
$act = (isset($_GET["act"])) ? $_GET["act"] : "";
$showuser = (isset($_GET["showuser"])) ? $_GET["showuser"] : "";
if($act == "Arcade") {
include "arcade.php";
exit();
}
if(!empty($showuser) && $showuser >= 1) {
$u = $showuser;
$_GET["u"] = $showuser;
include "member.php";
exit();
}
// end of ibProArcade modification

Either way, I have the same problem that randomly scores are not submitted.

SarahP 10-13-2006 12:35 PM

Hey thanks for the info but where do i put this ? i know you said the arcade.php but i dont read scripts and i am just learning all of this ...can someone explain how to do it?

Malk 10-13-2006 12:41 PM

This "fix" goes into index.php -if- your forum is -not- index.php.

Just paste it in the top of the file but make sure it's inside the php tags...

index.php
<?php
insert code here

your other php code here
?>

chkdgate 10-23-2006 06:39 AM

Quote:

Originally Posted by MrZeropage
you are using vbAdvanced, read the enclosed instructions "vbadvanced and other portals.txt" to fix this :)

Thank you MrZeropage, that did it. Ignore my recent post (#2229) in main thread.


All times are GMT. The time now is 04:59 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.01153 seconds
  • Memory Usage 1,765KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (22)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