AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: ashtonm on May 09, 2021, 06:41:05 PM

Title: No image with Data Import
Post by: ashtonm on May 09, 2021, 06:41:05 PM
I'm not sure why this has started happening, but when I do an import with image url.. It will not display product image.

I get the following error on import:

Error: Unable to save downloaded file to /home/mindustr/www.xxxxx.com/resources/image//TL0063.jpg

The TL0063.jpg is in resources/image/
but It isn't linking it to the product.

I worked on the 30 April 2021 fine, then stopped working. I have restored Database and data back to that day, but that doesn't restore Abantecart.
I ran a discount extension that creates bulk specials but I have uninstalled it and I am still getting the error.

Anyone any idea what could be causing it?

Thanks for your help.

Title: Re: No image with Data Import
Post by: abantecart on May 09, 2021, 08:11:35 PM
Any other errors in the log?
This can be issue with space on your server or permissions on the folders.
Title: Re: No image with Data Import
Post by: ashtonm on May 10, 2021, 05:39:26 AM
Hi,

I have checked the disk space and I have unlimited on the server side.
Permissions on folders are 777.

No Errors in Log file.

I can add an image through Media tab on product and it goes on with no issues.

It is only when I am importing.

The url that I assign to image in the CSV works in a web browser but I get the error when trying the import.

It's worked in the past so not sure why it isn't now.

I'm very confused with it...

Thanks for your help.
Title: Re: No image with Data Import
Post by: ashtonm on May 10, 2021, 06:05:54 PM
UPDATE:

I have tested my sites including an earlier version for updating images via upload. This included V1.2xx (Before V1.3) and still got the same issue.

I have been in touch with the server host and they say there is no issues on their side except they also can not get the images to upload.

I am now stumped!!

Anyone got any other ideas what this could be.

I have attached the file that i use to import the missing images.
A product record will need to be created but without the image.

The files land in the folder that is in the attachment:

PLEASE HELP!!
Title: Re: No image with Data Import
Post by: Basara on May 11, 2021, 01:30:34 AM
Hello.
The issue is confirmed.
Title: Re: No image with Data Import
Post by: abolabo on May 11, 2021, 05:04:24 AM
please replace two files from this commit (https://github.com/abantecart/abantecart-src/commit/96cfa52e3a75ca3b608b242c35925654e571d018)  to solve issue
Title: Re: No image with Data Import
Post by: ashtonm on May 11, 2021, 03:53:41 PM
Thank you for your help.

To let you know the two file mods corrected the issue.