Jump to content

Error copying image from CSV Import of products , brands ,


oktu.it

Recommended Posts

Hello
is about a month that I do experience the following error while importing CSV file to update my products. "Error copying image:"

imports products with no images, but all texts are imported, sometimes cloning products so dubling the products on DB.
In beginning CSV import was working properly.
But now makes no sense, since code error has been solved after prestashop v1.5.x.x in 2015.
I list my attempt, just in case i did miss something.

I tried to:

-Give rules 775 or 777 to images and image folders folder.
-change directory of images

-create a new website hosting images, host images in wordpress and redirect to my site, use online pics (and works again using other sites pictures.) 

-change image extension from *.jpg to *.png

- make a new website in prestashop 8.04 ; 1.7** ecc
-Use different supported versions of PHP 7.4; 8; ecc
-switch beetween Ngix and Apache 
-use a new domine connected to cloudflare
-use a new domine not connected to cloudflare
-create a new server, with a new website, ecc...

here is the last quick list of errors I get: 


Some errors were detected. Please check the details:

Error copying image: https://www.outlet-vintage.it/img-prodotti/Cannabis-Light/Cheese-weedman-cannabis-light-marijuana-legale-cbd.png

Error copying image: https://www.outlet-vintage.it/img-prodotti/Cannabis-Light/White-Widow-weedman-cannabis-light-marijuana-legale-cbd.png

Error copying image: https://www.outlet-vintage.it/img-prodotti/Cannabis-Light/Super-Skunk-weedman-cannabis-light-marijuana-legale-cbd.png

Error copying image: https://www.outlet-vintage.it/img-prodotti/Cannabis-Light/Amnesia-Haze-weedman-cannabis-light-marijuana-legale-cbd.png

Error copying image: https://www.outlet-vintage.it/img-prodotti/Cannabis-Light/Lemon-Punch-weedman-cannabis-light-marijuana-legale-cbd.png

Error copying image: https://www.outlet-vintage.it/img-prodotti/Cannabis-Light/Platinum-OG-weedman-cannabis-light-marijuana-legale-cbd.png

Error copying image: https://www.outlet-vintage.it/img-prodotti/Cannabis-Light/Tropical-Mango-weedman-cannabis-light-marijuana-legale-cbd.png

Error copying image: https://www.outlet-vintage.it/img-prodotti/Cannabis-Light/Hash-Marocchino-weedman-cannabis-light-marijuana-legale-cbd.png

Error copying image: https://www.outlet-vintage.it/img-prodotti/Cannabis-Light/Hash-Afgano-weedman-cannabis-light-marijuana-legale-cbd.png

Error copying image: https://www.outlet-vintage.it/img-prodotti/Cannabis-Light/Hash-Burbuka-weedman-cannabis-light-marijuana-legale-cbd.png

Error copying image: https://www.outlet-vintage.it/img-prodotti/Cannabis-Light/Cookies-weedman-cannabis-light-marijuana-legale-cbd.png

Error copying image: https://www.outlet-vintage.it/img-prodotti/Cannabis-Light/White-Widow-weedman-cannabis-light-marijuana-legale-cbd.png

Screenshot 2023-08-02 114427.png

Link to comment
Share on other sites

  • 3 weeks later...

Hi,

Make sure that the directories where PrestaShop stores images have the correct file permissions. It's generally not recommended to set permissions to 777 due to security concerns. Instead, you can try setting them to 755 for directories and 644 for files.

Sometimes, PHP upload limits might cause issues with uploading images. Check the upload_max_filesize and post_max_size settings in your php.ini file. You might need to increase these values if your images are large.

Check the server error logs to see if there are any more specific error messages related to image copying or file permissions.

Instead of trying to import all products at once, create a small CSV file with just a few products and their images. This can help narrow down whether the issue is related to the quantity of products being imported.

Keep backups of your data and files before making significant changes

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
  • 4 months later...

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...