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

Home » FUDforum » How To » Question about GLOBALS.php
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Question about GLOBALS.php [message #10207] Fri, 23 May 2003 16:43 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 was running fine until April 15 when my webhost made several changes. Since then, most of the functions work fine, but I have a few nagging problems that they haven't be able to help me with. Having no knowledge of PHP and only limited knowledge of Unix, I've been trying to piece some of the problems together. I apoligize if these questions are too elementary:

Let me give you an example of a problem.

I tried to change the settings to require email confirmation for new registration. When I do that, although I can see that change on the Global Settings Manager page (changed to "Yes"), the change does not take effect.

I notice that I have 3 GLOBALS.php files. One on each of these directories:

1. WWW_SERVER_ROOT: /usr/home/web/users/a0012546/html/forum

2. WWW_SERVER_ROOT: /usr/home/web/users/a0012546/html/forum/adm

3. DATA ROOT: /usr/home/web/users/a0012546/protected/forum-data/include

When I make changes online, only the GLOBALS.php in the last directory gets updated; the other two don't.

Should I have 3 of these? Are they in the directories they need to be?

Any light you can shed on this would be appreciated.

Re: Question about GLOBALS.php [message #10230 is a reply to message #10207] Sat, 24 May 2003 22:27 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 guess a simpler way of asking this question is, what directory(ies) does GLOBALS.php belong in?

Forum version: 2.3.6

[Updated on: Sat, 24 May 2003 22:27]

Report message to a moderator

Re: Question about GLOBALS.php [message #10234 is a reply to message #10230] Sat, 24 May 2003 22:44 Go to previous messageGo to next message
scoutzilla is currently offline  scoutzilla   United States
Messages: 163
Registered: April 2002
Location: Southern Califorina
Karma: 0
Senior Member

Can't answer your question, but did a search of a recent copy of my site. I have 15 GLOBALS.php files in my fud forum Dir...

Got Torque?
Re: Question about GLOBALS.php [message #10252 is a reply to message #10234] Mon, 26 May 2003 14:41 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Normally on *nix systems there is 1 GLOBALS.php inside the incldue/ directory and 2 symlinks to this file. One of those symlinks is inside the forum's web root directory and the other inside the adm/ directory.

On Win32, since symlinks are not supported there are 3 GLOBALS.php, the ones that are symlinks on *nix are basically
<?php
include_once "/path/to/include/GLOBALS.php";
?>


FUDforum Core Developer

[Updated on: Mon, 26 May 2003 14:42]

Report message to a moderator

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: about the returned page after making a new post
Next Topic: Where's the title?
Goto Forum:
  

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

Current Time: Sat Nov 23 00:57:15 GMT 2024

Total time taken to generate the page: 0.02691 seconds