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

XF 1.4 Avatar errors

Discussion in 'Troubleshooting and Problems' started by macara, Mar 11, 2015.

  1. macara

    macara Active Member


    I found any new member can't upload avatar even when it said " upload completed " .. so I found some server errors relate to it :

    ErrorException: getimagesize(/home/macarabi/public_html/data/avatars/l/35/35121.jpg): failed to open stream: No such file or directory - library/XenForo/Model/Avatar.php:252
    is that a permission error ?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Has anything changed on the server recently?

    Can you check that the directory permissions for /data and internal_data are 0777 recursively?
  3. macara

    macara Active Member

    Hi Brogan,

    all the folders are 777 except this one have no idea why it is 755 !!
    Screen Shot 2015-03-11 at 10.40.23 AM.png
  4. Brogan

    Brogan XenForo Moderator Staff Member

    If you change it to 0777 does it then allow that member to update their avatar?
  5. macara

    macara Active Member

    yep it works ..

    but do I have to check the permissions every month for every folder ?
  6. Brogan

    Brogan XenForo Moderator Staff Member

    You shouldn't have to, no.

    Any new folders should be created with the correct permissions.
  7. macara

    macara Active Member

    ok thanks.

Share This Page