XF 1.1 Avatar Help [FIXED]

jonoathome

Active member
I keep getting this error on when trying to change Avatars, intermittently.

I've checked the chmod permissions , disabled add ons, etc it still persists..

looking through the server logs it appears it has been going on for a while..

Some days you can upload avatars it seems, someday's you cant... Attachments appear to be working fine

Any ideas what this could be referring to ?

Code:
rename(/tmp/phpC85VU4,/srv/d_6CM001/www/www.sixcrazyminutes.com/htdocs/data/avatars/l/0/181.jpg): Operation not permitted
XenForo_Application::handlePhpError()
rename() in XenForo/Model/Avatar.php at line 342
XenForo_Model_Avatar->_writeAvatar() in XenForo/Model/Avatar.php at line 206
XenForo_Model_Avatar->applyAvatar() in XenForo/Model/Avatar.php at line 69
XenForo_Model_Avatar->uploadAvatar() in XenForo/ControllerPublic/Account.php at line 482
XenForo_ControllerPublic_Account->actionAvatarUpload() in XenForo/FrontController.php at line 313
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
XenForo_FrontController->run() in /srv/d_6CM001/www/www.sixcrazyminutes.com/htdocs/index.php at line 13
 
Well, the main file to check would be:

/srv/d_6CM001/www/www.sixcrazyminutes.com/htdocs/data/avatars/l/0/181.jpg

You'd want to check that file and the parent directories to ensure that the web server can write to it. If you did a server transition, you will need to ensure that all the old files are chmodded correctly (0666 or 0777). If you did the folders but not the files, you'll run into errors like this with some existing users.
 
Well, the main file to check would be:

/srv/d_6CM001/www/www.sixcrazyminutes.com/htdocs/data/avatars/l/0/181.jpg

You'd want to check that file and the parent directories to ensure that the web server can write to it. If you did a server transition, you will need to ensure that all the old files are chmodded correctly (0666 or 0777). If you did the folders but not the files, you'll run into errors like this with some existing users.


All files and folder, sub folders, files etc are chmodded to 0777 in the internal_data and data directory

im a bit baffled with this tbh..
 
Top Bottom