Question about GLOBALS.php [message #10207] |
Fri, 23 May 2003 16:43 |
Victor_M
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 #10252 is a reply to message #10234] |
Mon, 26 May 2003 14:41 |
Ilia
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
|
|
|