Jump to content

CSV Import, Error copying image.


Recommended Posts

Running version 1.6

I am getting an error when using CSV import.

It says 'Error copying image'

 

I have checked file permissions on the server, no issues there.

I have checked the umage url, they work. I have tried multiple sources.

 

I have searched the forums and found fixes for older versions, but those seem to have been fixed in 1.6.

 

Any ideas?

Thanks in advance!

  • Like 1
Link to comment
Share on other sites

The images are on the server already, and if I manually add them one by one, they work.

They may work but the question is how big are your images? If your uploading a csv file your server has to move all images from the place where you have uploaded them to the img folder for the products. If the file size of your images is too big and your server has to move and resize let's say hundred or even more images the memory limit of your server may be not sufficient.

 

You can do the test as Nemo suggested. Go to your prestashop folder controller and look for AdminImportController.php and go there to line 1019

 

 

	if (!ImageManager::checkImageMemoryLimit($url))
			return false;

and change it to

 

 

	if (!ImageManager::checkImageMemoryLimit($url))
	//		return false;

Then you should see if your memory limit is sufficient or not.

 

How big (file size) is one photo and how many items are you tryin to upload?

Edited by prestamax (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...