|
Re: Upgrade script does not work [message #981 is a reply to message #980] |
Mon, 18 March 2002 17:13 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
add to buddy list ignore all messages by this user
|
|
djupsjob wrote on Mon, 18 March 2002 4:00 PM | I ran the upgrade scripts for 1.x to 1.2.3 and got this:
Must be able to write to the UPDATE_STATUS Execute the following lines chmod 777 chmod -f 666 UPDATE_STATUS
I tried to execute the lines but the file UPDATE_STATUS is nowhere to be found. What's wrong?
|
Nothing wrong, simply you're doing the upgrade for the 1st time and the file is not there...
Your safe_mode settings do not allow the upgrade script to create the file I believe...
Could you tell me what are the permissions (including owner) of the errors directory?
FUDforum Core Developer
|
|
|
|
|
|
Re: Upgrade script does not work [message #1017 is a reply to message #1016] |
Tue, 19 March 2002 18:32 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
add to buddy list ignore all messages by this user
|
|
djupsjob wrote on Tue, 19 March 2002 6:29 PM |
prottoss wrote on Tue, 19 March 2002 6:43 PM | Okie 1 last question then, could you please open your GLOBALS.php file and tell me what is the path you have to the error directory.
|
/www/int2000/a/7676/html/forum_data/errors/
|
Is this what ALL your GLOBALS.php file say, especially the one in the forum's main web dir?
FUDforum Core Developer
|
|
|
|
Re: Upgrade script does not work [message #1049 is a reply to message #1034] |
Wed, 20 March 2002 10:53 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
add to buddy list ignore all messages by this user
|
|
There should be ONLY 1 GLOBALS.php file and it should be inside the include dir. There are to symlinks to this file, 1 from adm/ directory and one from the forum's main web dir.
I wanted to make sure you do not have multiple copies of the GLOBALS.php file in your forum installation. Some FTP clients tend to replace simlinks with REAL files when you're uploading.
FUDforum Core Developer
|
|
|
|
|
|
Re: Upgrade script does not work [message #1057 is a reply to message #1056] |
Wed, 20 March 2002 15:38 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
add to buddy list ignore all messages by this user
|
|
djupsjob wrote on Wed, 20 March 2002 3:36 PM | Could it be the lousy safe_mod that's behind the problems again?
This might be a stupid question, but how do I create symlinks with an ftp client? I've never done that before and when I tried it didn't work quite as I expected.
|
the command is called "symlink [source] [dest]"
ex: symlink /some/dir/blah/GLOBALS.php /new/dir/cool/GLOBALS.php
FUDforum Core Developer
|
|
|
|
|
|
Re: Upgrade script does not work [message #1121 is a reply to message #1107] |
Thu, 21 March 2002 10:46 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
add to buddy list ignore all messages by this user
|
|
The 2 symlinks I've mentioned in previous messages are the only ones that the forum creates.
you can create UPDATE_STATUS file your self by doing:
exec("touch /path/to/file/UPDATE_STATUS");
This way the file will have webserver's UID & GID and the upgrade script will be able to edit the file...
FUDforum Core Developer
|
|
|
|
|
|
|
|