Page 1 of 1

website down.. Parse error: ?

PostPosted: Mon Aug 14, 2006 4:45 pm
Author: mrbud
ok.. one of my sites is down... completely.. here is the error message when going to the site.

Parse error: parse error, unexpected $ in /home/teamplay/public_html/includes/phpbb_security.php on line 554


Can anyone help or give any hints before I start digging into and waste a lot of time.. Lol.... not wasted but if anyone knows the quick answer it would be muchly appreciated..

Thanks,
MrBud
Mike C.

Re: website down.. Parse error: ?

PostPosted: Mon Aug 14, 2006 8:44 pm
Author: Teelk
Hey Mike,

I'd start with grabbing the security fields from your current includes/phpbb_security.php
Code: Select all
    function phpBBSecurity_AdminConfigName()         {         return 'admins_allowed';         }             function phpBBSecurity_ModConfigName()         {         return 'mods_allowed';         }             function phpBBSecurity_UseSpecial()         {         return 'block_unwanted';         }


admins_allowed, mods_allowed, and block_unwanted should be different in your file. It's whatever you picked for the security fields on install.

Then copy that code into a fresh includes/phpbb_security.php and upload it to your server.

Re: website down.. Parse error: ?

PostPosted: Wed Aug 16, 2006 8:18 am
Author: mrbud
Ok,

I did the above. Then it came back with a couple more errors.. I went in and uploaded new files.. functions_profile.php, def_userfields.php, and der_userfuncs.php...


I scanned these files before upload to see if there were any site specific info and didn't see anything..

Now all I get is a blank screen when you go to site.. says done loading but nothing there.

If I try to open the index.php file from vdeck I get a 404 error..

Any thoughts....

Thanks,
MrBud
Mike C.

Re: website down.. Parse error: ?

PostPosted: Wed Aug 16, 2006 8:46 pm
Author: Teelk
Try putting...

ini_set('display_errors', true);

...in your config.php file and see if any errors are displayed.