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

Error at import

HWS

Well-known member
#1
When importing from XenGallery we always get the following error:

"Not a JPEG file: starts with 0x3c 0x68"

and the imports fails and stops.

How can this be solved?

Thanks.
 

Chris D

XenForo developer
Staff member
#4
What version of PHP is this?

I have a vague recollection of a bug in a certain PHP 5.6 build that seemed to fall over on various GD functions.
 

HWS

Well-known member
#6
With several restarts of the deferred process we now could finish the import (the deferred process).
However many images have not been imported.
 

Chris D

XenForo developer
Staff member
#7
Signs are all pointing to a corrupt image file. It seems as though the metadata of the image (we don't rely on the extension to work out the type of image) is suggesting it is a jpeg but using the jpeg functions is causing it to complain that the file it's dealing with is not in fact a jpeg.

You may need to identify the problem images in the source data (noting the last image imported when the error happens) and remove them from the source data.