Some problems ... [message #294] |
Wed, 30 January 2002 09:40 |
Achi
Messages: 5 Registered: January 2002 Location: Taiwan
Karma: 0
|
Junior Member |
|
|
I'm installed FUDforum in my hosting... When i finish setup to view my form what i get error :
Warning: Failed opening 'GLOBALS.php' for inclusion (include_path='') in wwwfubforumindex.php on line 25
Fatal error: Call to undefined function: fud_use() in wwwfubforumindex.php on line 27
what's problems ??
and i copy /include/ directory file GLOBALS.php to my forum, It's normally, but i can't use Admin CP ,i get error :
not administrator
Shombody can help me ?Normal
Hi~
|
|
|
Re: Some problems ... [message #295 is a reply to message #294] |
Wed, 30 January 2002 17:06 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Normally when the installation process is complete there is a symlink to the GLOBALS.php file, which is located inside the include directory, to the forum's www root directory and the adm directory.
The error message you are seing implies that the symlink is not there, because the script is unable to open the file.
The solution to your problem is as follows:
make a symlink of GLOBALS.php to your forum www root and your forum's adm directory:
ex:
ln -s /home/forum/include/GLOBALS.php /home/forum/www/docs/GLOBALS.php
ln -s /home/forum/include/GLOBALS.php /home/forum/www/docs/adm/GLOBALS.php
FUDforum Core Developer
|
|
|
|
Re: Some problems ... [message #297 is a reply to message #296] |
Thu, 31 January 2002 16:33 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Achi wrote on Thu, 31 January 2002 2:02 AM | Thx for Administrator replay answer .. I'm sorry my unpromising English....
I'm copy the file GLOBALS.php to my located directory, It's solution my problem,but a other problem is happen, The generally is normally,when i go to the Admin CP, I get an error :
not administrator
...what's wrong??is it the Cookie wrong ?
|
Most likely. The non administrator parts of the forum, can use sessions, which means that you can use the forum even if the cookie is not being set. However, the admin options require a valid cookie.
Check the following 2 variables inside your GLOBALS.php file to verify they are correct:
$COOKIE_PATH $COOKIE_DOMAIN
FUDforum Core Developer
|
|
|