1. 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

Discussion in 'Troubleshooting and Problems' started by Сергей Жуков, Jul 7, 2011.

  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:
    rename(/var/tmp/phpsMCyIz,/usr/home/hosting/wt1000545/htdocs2/data/avatars/l/0/1.jpg) [function.rename]: Operation not permitted
    rename() in XenForo/Model/Avatar.php at line 337
    ->_writeAvatar() in XenForo/Model/Avatar.php at line 201
    ->applyAvatar() in XenForo/Model/Avatar.php at line 69
    ->uploadAvatar() in XenForo/ControllerPublic/Account.php at line 489
    ->actionAvatarUpload() in XenForo/FrontController.php at line 310
    ->dispatch() in XenForo/FrontController.php at line 132
    ->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.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    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.
  3. Thanks. I just do not find this information when installing the engine.
  4. Brogan

    Brogan XenForo Moderator Staff Member

    It's in the INSTALL-UPGRADE.txt file in the zip package.
  5. yes yes:) just work as usual until manual did not happen. Usually this information is written during the installation, or even color codes, such as red, if that is a privilege not.

Share This Page