Discussion in 'XenForo Development Discussions' started by Renegade, Jun 29, 2013.
This is while uploading an image and saving it on a custom add-on I am using.
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.
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.
Where is this coming from.. what and where caused this issue ?
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.
From the following thread it seems my host has to do something about it.
That's basically what I said
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.
Are both using the same image processor? In attachment options in the admin CP you can choose between GD and ImageMagick
Yes both are on stock options.
Separate names with a comma.