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

XF 1.1 Avatar issues on new server

Discussion in 'Troubleshooting and Problems' started by Will, Jun 5, 2012.

  1. Will

    Will Active Member

    I have users that are unable to change their avatar. When they try to change it, it says it is complete but does not change. They are able to delete it but when they try to upload it goes back to the one they had previously. Hope that makes sense. Let me know if more info is needed about the server.
     
  2. whyweprotest

    whyweprotest Well-Known Member

    chmod -R 0777 data

    To me it looks like write permissions weren't set when you moved servers :)
     
    Will likes this.
  3. Will

    Will Active Member

    Could of swore I had already changed the permissions. Oh well, that did the trick. Thanks.
     
  4. Will

    Will Active Member

    Another thing I noticed is that when trying to add an avatar php began to use a lot of cpu and the load went up.
     
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    If it's processing a large image then a temporary increase in load is expected.
     
  6. Will

    Will Active Member

    It was 1.54 KB. The load went above 13.00
     
  7. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    I recommend upgrading your image library... whichever one you are using, be it GD or ImageMagick. With ImageMagick in particular I have seen some buggy installations that hang when processing an image.
     
  8. Will

    Will Active Member

    We are using ImageMagick so maybe that is what it is. Will upgrade and see if it fixes it.

    Another thing I just now noticed is for one user at least, the large avatar is different from the medium and small avatar. What could be the cause of that?

    Edit: Guess it was a caching issue. I had to hard refresh for the medium and small avatars to update.
     
  9. Will

    Will Active Member

    Is there some sort of configuration I need to set for fastcgi? I am using Nginx + Fastcgi but I remember when I used apache + fastcgi I would just add the fcgi settings and stuff for it to work. First time using this set up so any help would be appreciated.
     
  10. Will

    Will Active Member

    Any help here?
     
  11. a legacy reborn

    a legacy reborn Well-Known Member

Share This Page