Version: 5.0.47
URL: http://www.photographydirectory.org
|
emmeten
Member Usergroup: Customer Joined: Nov 17, 2008 Total Topics: 14 Total Posts: 32 |
Posted 05/19/09 - 11:08 PM:
Hello! Since upgrading to 5.0.46, and then 5.0.47, I'm getting the following errors: _____ An error occoured at http://www.photographydirectory.org/admin/autoupgrade.php on 2009-05-20 06:56:11. Please relay this data to support. Error #2: 'ftp_chmod() [function.ftp-chmod]: CHMOD 777 temp: Operation not permitted' in /var/www/vhosts/photographydirectory.org/httpdocs/includes/f ilefunctions.php on line 162. Step 1 of backtrace: File: /var/www/vhosts/photographydirectory.org/httpdocs/includes/f ilefunctions.php Line: 162 Function: ftp_chmod Arguments: Resource id #30 511 temp Step 2 of backtrace: File: /var/www/vhosts/photographydirectory.org/httpdocs/includes/f ilefunctions.php Line: 553 Function: ftpchmod Arguments: ../temp 777 Step 3 of backtrace: File: /var/www/vhosts/photographydirectory.org/httpdocs/includes/f ilefunctions.php Line: 540 Function: chmoddirectoryfor Arguments: ../temp/current.tar.gz ____ Even though I didn't test the whole site, it anyway seems to work correctly. Could you please check? Thanks |
|
Paul
developer Usergroup: Administrator Joined: Dec 20, 2001 Location: Diamond Springs, California Total Topics: 65 Total Posts: 7614 |
Posted 05/20/09 - 8:27 AM:
Who's the owner of your /temp/ subdirectory of where you've installed WSN (is it your ftp user, or 99/apache), and what's the chmod value on it? |
|
emmeten
Member Usergroup: Customer Joined: Nov 17, 2008 Total Topics: 14 Total Posts: 32 |
Posted 05/20/09 - 10:39 PM:
The owner is apache and the chmod is 777 |
|
Paul
developer Usergroup: Administrator Joined: Dec 20, 2001 Location: Diamond Springs, California Total Topics: 65 Total Posts: 7614 |
Posted 05/23/09 - 9:29 AM:
Well, it says the FTP user you've supplied doesn't have permission to chmod the directory to 777. |
|
emmeten
Member Usergroup: Customer Joined: Nov 17, 2008 Total Topics: 14 Total Posts: 32 |
Posted 05/23/09 - 10:54 PM:
Ok, but I'm not an expert, what can I do in this case? Can I continue to use and update the directory without problems or sooner or later the site will not work? |
|
Paul
developer Usergroup: Administrator Joined: Dec 20, 2001 Location: Diamond Springs, California Total Topics: 65 Total Posts: 7614 |
Posted 05/25/09 - 11:05 AM:
If it really hadn't been able to write to the temp directory, it wouldn't be able to start the upgrade process and would still show you as being on the previous version number. So I guess it must be some sort of situation where it tried to chmod the directory via FTP even though it was already owned by apache and so didn't need chmoding. In that case, there's no problem. I just don't see how the situation arises. |
Sorry, you don't have permission to post. Log in, or register if you haven't yet.

Print