Issues upgrading from FUDforum2.6.6 to 2.7.5 [message #32534] |
Fri, 07 July 2006 18:01 |
duru1
Messages: 24 Registered: September 2005
Karma: 0
|
Junior Member |
|
|
After running the upgrade.php scripts we got the following error:
Checking if SQL permissions to perform the upgrade are avaliable
Disable the forum
Forum is now disabled
Beginning the file upgrade process
Warning: mkdir(/mkdir/xampp/FUDforum/errors/.backup): Permission denied in /opt/xampp/htdocs/upgrade.php on line 622
Warning: mkdir(/mkdir/xampp/FUDforum/errors): File exists in /opt/xampp/htdocs/upgrade.php on line 622
Begining to decompress the archive
Warning: fwrite(): supplied argument is not a valid stream resource in /opt/xampp/htdocs/upgrade.php on line 700
Warning: fclose(): supplied argument is not a valid stream resource in /opt/xampp/htdocs/upgrade.php on line 701
Warning: copy(/opt/xampp/FUDforum/errors/.backup/cat_cache.inc_1152217426): failed to open stream: No such file or directory in /opt/xampp/htdocs/upgrade.php on line 610
Couldn't open "/opt/xampp/FUDforum/cache/cat_cache.inc" for write
I figured that the webserver does not have permission to write to the FUDforum directory. After change the permissions of the FUDforum directory the files were able to be created but I did notice one thing the upgrade script does, it creates the file then sends data to it. This does not happen because when the files are created it is a read only file, when we change the permissions to write it's okay. After running the script again we get:
Checking if SQL permissions to perform the upgrade are avaliable
Disable the forum
Forum is now disabled
Beginning the file upgrade process
Begining to decompress the archive
Couldn't open "/opt/xampp/FUDforum/sql/def_stats_cache.sql" sql write
[Updated on: Fri, 07 July 2006 18:03] Report message to a moderator
|
|
|
Re: Issues upgrading from FUDforum2.6.6 to 2.7.5 [message #32549 is a reply to message #32534] |
Sat, 08 July 2006 17:44 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
If those are the only errors you've received things should be fine. Ideally however you want to make sure that the directories and files mentioned in the error messages are writable by the web server user.
FUDforum Core Developer
|
|
|
|
|
Re: Issues upgrading from FUDforum2.6.6 to 2.7.5 [message #32601 is a reply to message #32589] |
Tue, 11 July 2006 00:32 |
duru1
Messages: 24 Registered: September 2005
Karma: 0
|
Junior Member |
|
|
The forum's files where unlocked. But I clicked on unlocked
again and now I can not view anything my browser, it is blank. If I try to run the upgrade scripts it says the following message:
No permission to read/write to /opt/xampp/htdocs /GLOBALS.php. Please make sure this script had write access to all of the forum files.
[Updated on: Tue, 11 July 2006 00:33] Report message to a moderator
|
|
|
|
|
|
|
|