FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Can't open GLOBALS.php
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Can't open GLOBALS.php [message #12890] Thu, 18 September 2003 01:24 Go to next message
Victor_M is currently offline  Victor_M   United States
Messages: 51
Registered: January 2003
Location: NJ, USA
Karma: 0
Member
My forum had been working just fine when out of the blue we can't get in. I get this message:
Quote:

Warning: main(GLOBALS.php): failed to open stream: Permission denied in /home/purple6/public_html/forum/index.php on line 18

Warning: main(): Failed opening 'GLOBALS.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/purple6/public_html/forum/index.php on line 18

Fatal error: Call to undefined function: fud_use() in /home/purple6/public_html/forum/index.php on line 19



The permissions for GLOBALS.php is 600. Any idea what could possibly be wrong?


Re: Can't open GLOBALS.php [message #12927 is a reply to message #12890] Thu, 18 September 2003 14:55 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Make sure that the user who owns GLOBALS.php is the same as the webserver.

FUDforum Core Developer
Re: Can't open GLOBALS.php [message #13030 is a reply to message #12927] Fri, 19 September 2003 01:55 Go to previous messageGo to next message
Victor_M is currently offline  Victor_M   United States
Messages: 51
Registered: January 2003
Location: NJ, USA
Karma: 0
Member
I always kept the files Locked (600 for files, 700 for directories). It appears that all of sudden, that doesn't work.

Is it possible that the webhost changed something that caused that?

(I changed the permissions using FTP and the forum is running again.)
Re: Can't open GLOBALS.php [message #13043 is a reply to message #13030] Fri, 19 September 2003 17:15 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
It is possible your webhost in their infinite wisdom decided to change the owner/group of all the files in your account to you. Meaning that files that were owned by the webserver are now owned by you and webserver cannot open them.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Archiving a forum, is it possible?
Next Topic: Anonimous posting
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 03:14:47 GMT 2024

Total time taken to generate the page: 0.02235 seconds