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

Can someone help me decipher this error

Discussion in 'XenForo Development Discussions' started by Renegade, Jun 29, 2013.

  1. Renegade

    Renegade Well-Known Member

    This is while uploading an image and saving it on a custom add-on I am using.

  2. Chris D

    Chris D XenForo Developer Staff Member

    What's the add-on? Ideally the developer of that add-on would need to resolve the issue for you.

    The error is suggesting that an image has been uploaded and it hasn't been able to read it for some reason. What has caused this issue to occur? Does it work with some images? Did it work on XF 1.1.x but not on XF 1.2?

    One thing that could cause this is an image being corrupt so you should try some other images.
  3. Renegade

    Renegade Well-Known Member

    Yeah I will get in touch with the developer.

    I get this error on both 1.1 and 1.2. However I get it on one server and a local installation but not on another server. There it works perfectly.

    No, when it does not work it does not work with any images.
  4. ExpertPixels.com

    ExpertPixels.com Well-Known Member

    Where is this coming from.. what and where caused this issue ?
  5. Chris D

    Chris D XenForo Developer Staff Member

    Could be file permissions.

    It can't ascertain what the file type is and to do that it needs to read the file. If it can't read the file then it will throw that error.

    If it can't read it, that could be related to disk space (maybe the file isn't written to the tmp directory), file permissions when writing to tmp or file permissions when reading from tmp.

    That's just my guess right now based on the error. So it might be worth running it past your hosts too.
    LPH and Renegade like this.
  6. Renegade

    Renegade Well-Known Member

  7. Chris D

    Chris D XenForo Developer Staff Member

    That's basically what I said ;)
  8. Renegade

    Renegade Well-Known Member

    Ok I am a bit stumped on this. I have two test instances running on the same server and I get this error on one instance but not on the other. So it can't be due to the server.
  9. Chris D

    Chris D XenForo Developer Staff Member

    Are both using the same image processor? In attachment options in the admin CP you can choose between GD and ImageMagick
  10. Renegade

    Renegade Well-Known Member

    Yes both are on stock options.

Share This Page