1 (edited by Challe 2007-11-29 06:28)

Topic: Arcade Mod Error

I'm want to use the Mod below

##
##        Mod title:  Punbb Arcade Mod
##
##      Mod version:  ?
##   Works on PunBB:  1.2.12
##     Release date:  2006/10/12
##           Author:  ANGO
##
##      Description:  This mod add flash games to your punbb forum it also has a high score system.                  
##
##       Affects DB:  Yes
##
##   Affected files:  none
##
##            Notes:  This Mod Comes with 10 Pre-installed Games. Additional games come as extension.
##
##       Disclaimer:  "Punbb Arcade Mod" is not officially supported by PunBB.
##                    Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.
##
##          License:  Punbb Arcade Mod is free software; you can redistribute it
##                    and/or modify it under the terms of the GNU General
##                    Public License as published by the Free Software
##                    Foundation; either version 2 of the License, or
##                    (at your option) any later version.
##                    Each flash game are the property of their authors.
##
##     Contributors:  PANDARK, DHARMIL, NICO_SOMB 
##              
##

Installed it at my old host (thats my test forum now), worked fine.

After that I installed it to my new webspace, and it first seemed to work too... but now, when I want to submit any highscore I get the following error:

File:
Line:

PunBB reported: You do not have permission to access this page.

Enabled Debug, but I don't really find something suspicious, errot page shows nothing.

After that,  I installed a complete new punbb1.2.15 to just find out if it's an database error or something like that.
Same error there...could this be an issue in phph.ini? I do not really know about that stuff. sad

YY Order!!!

Re: Arcade Mod Error

To tell you the truth this has happened to me before...

I couldnt fix the problem. I just re-installed with fresh files and it worked. Very confusing. hmm

Maybe next time I come across it I will try again to find the problem.

Re: Arcade Mod Error

When I check my Forum for Update I get the follwing Error:

Unable to check for upgrade since 'allow_url_fopen' is disabled on this system.

Could this be the reason why the arcade doesn't work?

YY Order!!!

Re: Arcade Mod Error

Challe wrote:

I'm want to use the Mod below

##
##        Mod title:  Punbb Arcade Mod
##
##      Mod version:  ?
##   Works on PunBB:  1.2.12
##     Release date:  2006/10/12
##           Author:  ANGO
##
##      Description:  This mod add flash games to your punbb forum it also has a high score system.                  
##
##       Affects DB:  Yes
##
##   Affected files:  none
##
##            Notes:  This Mod Comes with 10 Pre-installed Games. Additional games come as extension.
##
##       Disclaimer:  "Punbb Arcade Mod" is not officially supported by PunBB.
##                    Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.
##
##          License:  Punbb Arcade Mod is free software; you can redistribute it
##                    and/or modify it under the terms of the GNU General
##                    Public License as published by the Free Software
##                    Foundation; either version 2 of the License, or
##                    (at your option) any later version.
##                    Each flash game are the property of their authors.
##
##     Contributors:  PANDARK, DHARMIL, NICO_SOMB 
##              
##

Installed it at my old host (thats my test forum now), worked fine.

After that I installed it to my new webspace, and it first seemed to work too... but now, when I want to submit any highscore I get the following error:

File:
Line:

PunBB reported: You do not have permission to access this page.

Enabled Debug, but I don't really find something suspicious, errot page shows nothing.

After that,  I installed a complete new punbb1.2.15 to just find out if it's an database error or something like that.
Same error there...could this be an issue in phph.ini? I do not really know about that stuff. sad

Has anyone figure this out.  I have the same thing, where I get the "No Permission" error when submitting a high score.

What I've noticed is that there are 2 places to get this error.  One is at the top of the newscore.php page where it checks to see if you are a guest or not, and the other is  when it checks to see if you have a score and game_name:

Around Line 22

if(!empty($game_name) && !empty($score))

It then goes into the logic for updating the score, but the else on this if statement  is:

else

{
     error($lang_common['No permission']);
    

}

and I have changed this to show the $game_name and $score variables as a message instead, which are blank. This tells me that the name and score are not getting passed.

Is there something I need to change on the arcade_play.php page to make sure these values get passed?

Thanks.

Re: Arcade Mod Error

I fixed it.

for anyone curious, I had to change all ocurrences of

$HTTP_POST_VARS

to

$_POST

Re: Arcade Mod Error

Thanks a lot! Works now for me too. smile

YY Order!!!