|
Re: More safe_mode woes [message #3437 is a reply to message #3436] |
Sun, 23 June 2002 07:28 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
get your admin to chown the /www/int2000/a/7676/html/forum directory to the webserver account.
FUDforum Core Developer
|
|
|
|
Re: More safe_mode woes [message #3440 is a reply to message #3438] |
Sun, 23 June 2002 08:39 |
Olliver
Messages: 443 Registered: March 2002
Karma: 0
|
Senior Member |
|
|
Hi Basse,
I feel with u, because I suffer from the same braindead configuration on the rokop-security server. The following worked for me: Make a mirror of ur current forum on ur local server (I assume u got one running in ur home network or on localhost if its just one machine) Next run the upgrade, shouldn't make problems unless u would mess up something with rights and owners)
Now Fud should be running on ur local copy. Next would be: delete the symbolic links and replace them with php files which perform a include as a substitute:
<?php include_once "/home/httpd/ur-web-account/ur-hidden-dir/include/GLOBALS.php"; ?>
In other words: the include points to the real GLOBALS.php with an absolute UNIX path. In case this path is unknown to u u can reveal it by running phpinfo(). Save this code as GLOBALS.php and use it the same way u did with the symbolic links. Now u are able to upload the stuff to ur server. U probably need to change the files' rights so the server can modify them. Then u only need to update ur database (don't use phpadmin for it, as it will break if the process exceeds 30 secs):
$telnet urserver
[user,password]
$ mysql database -u uraccount -p < urdump.sql
After that it should run.
Bye
Ken
|
|
|
|
Re: More safe_mode woes [message #3442 is a reply to message #3441] |
Sun, 23 June 2002 10:47 |
Olliver
Messages: 443 Registered: March 2002
Karma: 0
|
Senior Member |
|
|
Well. But this has nothing to do with the code in itself but the crappy phpmyadmin which can't handle datadumps that are greater then 600-800k (it spins circles forever causing httpd to eat up all available CPU time). The shell command is a way of bypassing this restriction by talking directly to the sqlserver. But I have a script which u could try. I'll send it to u as PM with a short description of what it does
bye Ken
|
|
|
|
Re: More safe_mode woes [message #3445 is a reply to message #3438] |
Sun, 23 June 2002 18:10 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You cannot chown a directory to the www user/group since you account is not in that group.
The alternative is to move the directory esle where, then create a directory with the same name using a php script, with 777 permissions, and then copy your files into that directory using a php script.
Admitedly that is a pain in the ass, but unfortunatly for people upgrading from old versions on systems with safe_mode enabled that is about the only solution.
FUDforum Core Developer
|
|
|
|
Re: More safe_mode woes [message #3841 is a reply to message #3839] |
Sun, 07 July 2002 20:57 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You need to upload the upgrade script using the forum's file manager, after that it should work fine.
FUDforum Core Developer
|
|
|
|
|
Re: More safe_mode woes [message #3869 is a reply to message #3436] |
Mon, 08 July 2002 13:23 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Try the attached upgrade script, it should fix the problem.
FUDforum Core Developer
|
|
|