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

Home » FUDforum » FUDforum Installation Issues » Can't access GLOBALS.php after moving forum
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Can't access GLOBALS.php after moving forum [message #20313] Thu, 07 October 2004 19:31 Go to next message
BugLaden is currently offline  BugLaden   United States
Messages: 216
Registered: February 2002
Location: Westminster, MD
Karma: 0
Senior Member
I just moved the forum. Once I copied the data directory over, I now get a

Fatal error: Failed opening required './GLOBALS.php' (include_path='.:/usr/share/pear') in /var/www/html/ccgw/forum/index.php on line 13


I tried to open via web request GLOBALS.php and it gave me:
You don't have permission to access /forum/GLOBALS.php on this server.

Here is the ls -l list of the file in the forums directory
lrwxrwxrwx    1 apache   apache         33 Oct  7 11:38 GLOBALS.php -> /usr/fudforum/include/GLOBALS.php


and the data directory
[root@server1 include]# ls -l GLOBALS.php
-rw-rw-rw-    1 apache   apache       2232 Oct  4 10:27 GLOBALS.php


Any ideas?


-=BugLaden
Re: Can't access GLOBALS.php after moving forum [message #20315 is a reply to message #20313] Thu, 07 October 2004 19:51 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
Is the symlink valid?

FUDforum Core Developer
Re: Can't access GLOBALS.php after moving forum [message #20317 is a reply to message #20313] Thu, 07 October 2004 19:58 Go to previous messageGo to next message
BugLaden is currently offline  BugLaden   United States
Messages: 216
Registered: February 2002
Location: Westminster, MD
Karma: 0
Senior Member
Yes, the data directory is /usr/fudforum. I went into the shell and edited the symlink with vi and it came up no problem. I deleted, and re-recreated the symlink just to be sure.

The thing is, the master GLOBALS.php was one that was copied from the old server. Not sure if this has anything to do with it, since the link is ok, and I can edit it via shell.

What throws me is the fact I can't even access it via direct HTTP request. Could it be something with httpd.conf and symlinks? I could access a blank forum just fine before I moved over the old files.


-=BugLaden

[Updated on: Thu, 07 October 2004 20:01]

Report message to a moderator

Re: Can't access GLOBALS.php after moving forum [message #20319 is a reply to message #20317] Thu, 07 October 2004 23:41 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
check the permissions of the directories, maybe they are chmoded in such a way as to prevent access to the files in them to the webserver.

FUDforum Core Developer
Re: Can't access GLOBALS.php after moving forum [message #20338 is a reply to message #20313] Fri, 08 October 2004 17:49 Go to previous message
BugLaden is currently offline  BugLaden   United States
Messages: 216
Registered: February 2002
Location: Westminster, MD
Karma: 0
Senior Member
Yep, I inadvertantly removed the X access from the include directory. Thank you once again for your patience and help.

-=BugLaden
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: After Forum Database import, all Forum accounts locked
Next Topic: MySQL errors
Goto Forum:
  

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

Current Time: Thu Nov 21 18:47:15 GMT 2024

Total time taken to generate the page: 0.02538 seconds