• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Error permissions and upload avatar

#1
1. Created a new account, download it to an avatar. Everything is fine. Saved this avatar from the forum on the desktop, and tried to pour in new acanthus and received:
PHP:
rename(/var/tmp/phpsMCyIz,/usr/home/hosting/wt1000545/htdocs2/data/avatars/l/0/1.jpg) [function.rename]: Operation not permitted
XenForo_Application::handlePhpError()
rename() in XenForo/Model/Avatar.php at line 337
XenForo_Model_Avatar->_writeAvatar() in XenForo/Model/Avatar.php at line 201
XenForo_Model_Avatar->applyAvatar() in XenForo/Model/Avatar.php at line 69
XenForo_Model_Avatar->uploadAvatar() in XenForo/ControllerPublic/Account.php at line 489
XenForo_ControllerPublic_Account->actionAvatarUpload() in XenForo/FrontController.php at line 310
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
XenForo_FrontController->run() in /usr/home/hosting/wt1000545/htdocs2/index.php at line 13
2. After all this, began a nightmare:
When I try to come up with an account, got error: "Error user's permissions..." and began FWD to this page with an error and constant REFRESH. Closed the tab and opened again - on the move again began to throw the same mistake with permissions. Only helped torestart the browser.
 

Brogan

XenForo moderator
Staff member
#2
Have you set the directory permissions correctly?

3. Setting Permissions

Once the files are finished uploading, you must set permissions (or CHMOD) several places. This is necessary to ensure that XenForo can write to those parts of your server. You can usually do this with your FTP client.
  1. In the set of files and directories you just uploaded, you will see 2 folders: data andinternal_data.
  2. These two directories must be set to world writeable (CHMOD 0777) or give the IUSR_ Full Control in Windows.
http://xenforo.com/help/installation/