Jump to content

PS 1.6 - CSV Import, Error copying image.


Recommended Posts

Greetings everyone, i got some problem importing products as CSV file, i get the "Error copying image" error.

 

> Every image has 777 permission.

> The images URLs work if called in a browser.

> The "allow_url_fopen" is ON.

 

Looking for a similar problem i met this one:

>> https://www.prestashop.com/forums/topic/369997-csv-import-error-copying-image/

where Nemo1 and prestamax kindly helped out this guy.

 

I followed their hints but i still got the problem. Commenting the:

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

this just make it load some empty images which instead of being blank got a big question marks on them.

 

 

I kinda guess it's my host (hostingsolution.it) can you try out with some images of mine? I link you some here:

 

Thank you guys!

Filax

 

 

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 year later...

Hi, I recently have this problem as well. I tried everything suggestions on the forum without success.

 

I manage to narrow the problem down with a simple script : <?php echo copy('domain/upload/image.png', 'image_copy.png') ? 'yes' : 'no'; ?>

 

Just create a new php file in your root and turn your error reporting on please. Then put it in to see if you can use the simple copy function.

 

I found on my server I put a password on the domain privacy directory because It's still in development. And copy failed to work because it require authentication in the error log. So I know what the problem is and turn off the password lock and it works like a charm. 

 

Hope this help someone like me.

Edited by KenYe (see edit history)
  • Like 1
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...