![]() |
hi i need help i have vb4,8 and if the game end the score dont safe and i see this mesage
Invalid forum path specified! Please edit this file and be sure to include the correct path for your $forumpath variable. i have vbadvanced this is my code can you help my with the code what i doing wrong? <?php// ibProArcade if($_POST['module'] == "pnFlashGames") { require_once('./global.php'); switch($_POST['func']) { case "storeScore": $_GET['act'] = "Arcade"; $_GET['module'] = "arcade"; $_GET['do'] = "pnFStoreScore"; break; case "saveGame": $_GET['do'] = "pnFSaveGame"; break; case "loadGame": $_GET['do'] = "pnFLoadGame"; break; case "loadGameScores": $gid = $vbulletin->input->clean_gpc('p', 'gid', TYPE_INT); $uid= $vbulletin->userinfo['userid']; $game = $db->query_first("SELECT * FROM " . TABLE_PREFIX . "games_scores WHERE mid=$uid AND gid = $gid ORDER BY score DESC LIMIT 0,1"); $scores = $game[score]; if($scores != false) { //Return true print "&opSuccess=true&gameScores=$scores&endvar=1"; //send endvar to keep opSuccess separate from all other output from PostNuke } else { print "&opSuccess=false&error=Error&endvar=1"; } break; } } $act = $_GET[act]; $autocom = $_GET[autocom]; $showuser= $_GET[showuser]; if($act == "Arcade" || $autocom=="arcade") { include "arcade.php"; exit(); } if(!empty($showuser) && $showuser >= 1) { $u = $showuser; $_GET[u] = $showuser; |
[S]Oh my God , it was workin good but now I've got this error :(
Warning: require(C:\xxxxxxxxxxxx\xxxxxxxx\seusers.com\httpd ocs\foro/arcade.php) [function.require]: failed to open stream: Permission denied in C:\xxxxxxxxxxxxxxxx\xxxxxxxxxxxxxxxx\seusers.com\h ttpdocs\foro\vbseo.php on line 1392 Fatal error: require() [function.require]: Failed opening required 'C:\xxxxxxxxxx\xxxxxxxxxx\seusers.com\httpdocs\for o/arcade.php' (include_path='.;./includes;./pear') in C:\xxxxxxxxxxxxxxxx\xxxxxxxxxxxxxxxx\seusers.com\h ttpdocs\foro\vbseo.php on line 1392 I add this code to my custom rewrite rules: https://vborg.vbsupport.ru/showthread.php?t=190490 but the error doesn't dissapear :( I turned off vbseo mod but the error still appears :( What's wrong now? :'([/S] Never mind. Works perfect. The error was on arcade.php server permissions :rolleyes: And his post saved me once again :p https://vborg.vbsupport.ru/showpost....08&postcount=3 |
Quote:
Many thanks |
i have make the change in INFO - vbadvanced
and i see this code Parse error: syntax error, unexpected T_DEC, expecting T_STRING or T_VARIABLE or '$' in C:\IIS_WEBSITES\ellinofatsa.www\index.php on line 57 |
I am thinking this doesn't work with 4.1 beta.
all my links bring up an error Fatal error: Cannot redeclare ibp_cleansql() (previously declared in /home/crosseye/public_html/arcade.php:5536) in /home/crosseye/public_html/arcade.php on line 5553 anyone else try 4.1 with the arcade? UPDATE: tried some changes on my own and still nothing. If anyone can assist with a fix so I can get the arcade working again I would appreciate your help big time. Thanks. |
Crosseyedgamer
I justupdated my test forum to 4.1.0 beta.. no issues with the arcade.. I also just noticed that the stable version is out I am going to update the beta.. If you don't hear back from me all still works.. those lines in the arcade.php are Code:
function ibp_cleansql($value) I would also optimize my db through phpmyadmin.. check for corrupt tables.. |
just did all the repair and optimizing on the DB. Still get the same fatal error. Games play on the main page if you hit play game but any other link generates the above mentioned error. Going to do the update here later on so let's see how that goes. I appreciate the help. if you or anyone comes across this, please let me know if you get a fix. Thanks.
|
Getting a security token error with 4.1... anyone know the fix?
|
Quote:
Somewhere in the description as well as the documentation for this mod the code is noted which you need to add to your INDEX.PHP file. Getting that fixed so it is not needed would be a cool thing! |
I'm not seeing it in the documentation. Do you know exactly where?
|
All times are GMT. The time now is 05:03 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|