Jump to content
thirty bees forum
  • 0

CSV image import with 1.0.4


jnsgioia

Question

I just did my first csv import after upgrading and it failed. The log report returned this error:

"ERROR 2018/05/07 - 11:13:44: Not a JPEG file: starts with 0x3c 0x21 `/.../.../.../.../store/img/p/8/0/3/7/8037.jpg' @ error/jpeg.c/JPEGErrorHandler/322 at line 94 in file override/classes/ImageManager.php"

When I removed the image url from the csv file the upload went through fine and then I manually added the photos in the back office with no problems.

Any ideas?

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0

@lesley It is the one created by imagemagick. But the problem seems to be that the import is not saving the image referenced by the url but the url itself.

"starts with 0x3c 0x21" is saying that it is an html file not a jpg.

Link to comment
Share on other sites

  • 0

I did do a test upload after seeing the error message with imagemagick disabled and the upload completed but the images were not there, just the place holder and another error message popped up about a file not found when I deleted them.

Link to comment
Share on other sites

  • 0

@colorful-ant I went in and disabled each of those as well as "generate high resolution images" and then activated them one by one. It appears that it is the high resolution image generation that is the problem. The upload does not fail with the below configuration.

0_1527544875567_227da45b-e81b-4bc8-832b-4012e90485c0-image.png

Link to comment
Share on other sites

  • 0

I had to dig for the error message I referenced above. On upload it just said error: and nothing. Thank you for finding how to fix the upload problem. Now we need someone to shed some light on the high resolution image problem :)

Link to comment
Share on other sites

  • 0

the curious thing is that I am just further confused. with a fresh installation of 1.0.4. I see the options.

In another shop from 1.0.3 (without migration of PS) with update to 1.0.4, I do not see these options. All caches emptied, including class_index.php removed.

new 1.0.4 installation

0_1527546205719_c51fe6e2-d6cd-402f-b376-d9dee261c23c-image.png

-- new 1.0.3 with update to 1.0.4 0_1527546275275_2d7eef1a-4592-49f6-b9aa-316300098661-image.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...