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

XF 1.1 Cannot upload avatars

Discussion in 'Troubleshooting and Problems' started by Bestle, Apr 7, 2013.

  1. Bestle

    Bestle Member

    Hello there,

    My users are having issues uploading new avatars to my forum.

    The error they receive is

    "The image could not be processed by the server. Please try another or contact the site owner."

    I have looked at the suggestions on here regarding chmodding the data and internal_data folders but the issue still persists.

    I have recently moved the forums to a new host if that is relevant, thanks.
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Nothing more in the log?

    Admin CP -> Tools -> Server Error Log

    Permissions would give a more specific error. This error appears as though your image library just doesn't support the image.

    What type of image? What image library are you using? (GD or ImageMagick)

    Admin CP -> Home -> Options -> Attachments -> Default Image Processor
  3. Bestle

    Bestle Member

    Plenty of these:

    ErrorException: move_uploaded_file(/home/websites/gontroller.com/htdocs/community/internal_data/attachments/0/567-6f633d0c35e9db4337a2f32b79712d5e.data): failed to open stream: Permission denied - library/XenForo/DataWriter/AttachmentData.php:203
    Loads of these too:

    ErrorException: getimagesize(): Read error! - library/XenForo/Model/Avatar.php:88
    Using built in GD library.
  4. Bestle

    Bestle Member

    Attachments appear to work fine, just avatars giving me grief.
  5. Bestle

    Bestle Member

    Turns out GD wasn't installed - Ugh.

    Works fine now.
    Tracy Perry and Jake Bunce like this.

Share This Page