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

XF 1.3 Unable To Upload Animated Avatars

Discussion in 'Troubleshooting and Problems' started by DRE, Feb 12, 2014.

  1. DRE

    DRE Well-Known Member

    I have ImageMagick installed and enabled but I am unable to upload animated avatars no matter how small or large. I'm on Xenforo 1.3 Beta 3. No error. It does the loading icon then stops and stays on the upload avatar screen.
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    Anything in the server error log or browser console?

    Typically this is indicative of a dodgy Imagick build.... Which actually... You host installed the Imagick extension right?

    But is the actual Imagick application available on the server?

    You might want to check with them.

    If they think everything is set up correctly it will be worth installing a different Imagick build. I've known similar issues before and installing a newer or even slightly older version has solved the issue.
     
    Last edited: Feb 12, 2014
    DRE likes this.
  3. DRE

    DRE Well-Known Member

    Okay thanks I've created a ticket and sent them a link to this thread so they can investigate.
     
  4. DRE

    DRE Well-Known Member

    So we have the latest stable.

    I asked if he could install another version, he said:
    Which version should I ask him to install? The latest beta or the previous stable version?
     
  5. DRE

    DRE Well-Known Member

    Here are the server errors I'm getting.

    ErrorException: Fatal Error: Maximum execution time of 30 seconds exceeded -library/XenForo/Image/ImageMagick/Pecl.php:197
    Generated By: DRE, Today at 3:07 PM
    Stack Trace
    #0 [internal function]: XenForo_Application::handleFatalError()
    #1 {main}
    Request State
    array(3) {
    ["url"] => string(36) "https://8th.us/account/avatar-upload"
    ["_GET"] => array(0) {
    }
    ["_POST"] => array(8) {
    ["use_gravatar"] => string(1) "0"
    ["avatar_date"] => string(10) "1391584169"
    ["avatar_crop_x"] => string(1) "0"
    ["avatar_crop_y"] => string(1) "0"
    ["_xfToken"] => string(8) "********"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(9) "json-text"
    ["_xfUploader"] => string(1) "1"
    }
    }
     
  6. Chris D

    Chris D XenForo Developer Staff Member

    What is the file size of the gif you're uploading as an avatar?
     
  7. DRE

    DRE Well-Known Member

  8. DRE

    DRE Well-Known Member

    Sheesh

    ErrorException: Fatal Error: Maximum execution time of 180 seconds exceeded -library/XenForo/Image/ImageMagick/Pecl.php:312
    Generated By: DRE, Today at 7:22 PM
    Stack Trace
    #0 [internal function]: XenForo_Application::handleFatalError()
    #1 {main}
    Request State
    array(3) {
    ["url"] => string(36) "https://8th.us/account/avatar-upload"
    ["_GET"] => array(0) {
    }
    ["_POST"] => array(8) {
    ["use_gravatar"] => string(1) "0"
    ["avatar_date"] => string(1) "0"
    ["avatar_crop_x"] => string(1) "0"
    ["avatar_crop_y"] => string(1) "0"
    ["_xfToken"] => string(8) "********"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(9) "json-text"
    ["_xfUploader"] => string(1) "1"
    }
    }
     
  9. Mike

    Mike XenForo Developer Staff Member

    Does this happen with all images or just this one? If it's all, then that sounds like something is wrong with Imagick. (Note that I don't know where the image you're referring to is.)

    However, animated images are effectively much bigger than their potential file size. To resize them and maintain animation, they have to be decompressed, each frame manipulated, and then recompressed. You could have a small image that actually has a lot of frames, which means a lot of work to resize.
     
  10. DRE

    DRE Well-Known Member

    I had this issue with several gifs, even some that were smaller yet some gifs that were small worked fine. I am okay with the limitations and time outs as long at least some can be uploaded. Please Disregard! :p
     

Share This Page