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 :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
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 15:31 Go to next message
BugLaden is currently offline  BugLaden   United States
Messages: 208
Registered: February 2002
Location: New Windsor, Md.
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user

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
CCG Workshop, LLC
Play Hobby and Strategy Games Online!
Re: Can't access GLOBALS.php after moving forum [message #20315 is a reply to message #20313] Thu, 07 October 2004 15: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
add to buddy list
ignore all messages by this user
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 15:58 Go to previous messageGo to next message
BugLaden is currently offline  BugLaden   United States
Messages: 208
Registered: February 2002
Location: New Windsor, Md.
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user

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
CCG Workshop, LLC
Play Hobby and Strategy Games Online!

[Updated on: Thu, 07 October 2004 16: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 19: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
add to buddy list
ignore all messages by this user
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 13:49 Go to previous message
BugLaden is currently offline  BugLaden   United States
Messages: 208
Registered: February 2002
Location: New Windsor, Md.
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user

Yep, I inadvertantly removed the X access from the include directory. Thank you once again for your patience and help.

-=BugLaden
CCG Workshop, LLC
Play Hobby and Strategy Games Online!
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Sun Dec 17 12:34:19 EST 2017

Total time taken to generate the page: 0.00734 seconds