Log in

View Full Version : Arcade Main Settings Parse Error


parabat
01-18-2007, 01:46 PM
**EDITED**
Sorted it out. Seems my PC's cache was playing havoc.

==========================================

This is a new install for me. All seems to have gone well except I get the following error
"Parse error: parse error, unexpected $ in ******/Forums/admincp/arcade.php on line 533"
when I click on the "Arcade Main Settings" link under "Arcade" in the AdminCP.

Can anyone assist me please??

-parabat

dj chico
01-18-2007, 07:04 PM
Well i cant get mine working plz help!!!

Hi, looking for help on this. Its really annoying me.

Had cmps working fine using the index.php and forums.php renaming idea.

I then installed ibproarcade and now the cmps has disappeared.

I was told to add this text in forum.php just after <?php, basically 2nd line
// ibProArcade modification
if($_POST['module'] == "pnFlashGames"){
$_GET[act] = "Arcade";
$_GET['module'] = "arcade";
}
if($_POST['func'] == "storeScore"){
$_GET['do'] = "pnFStoreScore";
}
if($_POST['func'] == "saveGame"){
$_GET['do'] = "pnFSaveGame";
}
if($_POST['func'] == "loadGame"){
$_GET['do'] = "pnFLoadGame";
}
$act = $_GET[act];
$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

I now get this error on my homepage:

Parse error: parse error, unexpected T_DEC, expecting T_VARIABLE or '$' in (web-addy)/forum/index.php on line 2

Can someone plz help as its driving me crazy.

Thanks

EDIT : Seems to be most forum pages doing this now. I can still access admincp by typing address