website down.. Parse error: ?

Support for IntegraMOD 140

Moderator: Integra Moderator

website down.. Parse error: ?

PostAuthor: mrbud » Mon Aug 14, 2006 4:45 pm

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.
Last edited by mrbud on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

mrbud
Newbie
Newbie
 
Posts: 17
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 05, 2006 5:51 am
Cash on hand: 0.00

Re: website down.. Parse error: ?

PostAuthor: Teelk » Mon Aug 14, 2006 8:44 pm

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.
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

Re: website down.. Parse error: ?

PostAuthor: mrbud » Wed Aug 16, 2006 8:18 am

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.
Last edited by mrbud on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

mrbud
Newbie
Newbie
 
Posts: 17
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 05, 2006 5:51 am
Cash on hand: 0.00

Re: website down.. Parse error: ?

PostAuthor: Teelk » Wed Aug 16, 2006 8:46 pm

Try putting...

ini_set('display_errors', true);

...in your config.php file and see if any errors are displayed.
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada


Return to IntegraMOD 140

Who is online

Registered users: App360MonitorBot, Bing [Bot]