Jump to content

Cant import images via CSV import


Recommended Posts

hello, i have problem with Admin CSV importer, whenever i import any product, importer throws me warning: error copying file: link to my image

 

i already reuploaded all files and changed img folder CHMOD to 777, but it didnt worked at all, if ANYONE have solution for this - i will be gratefull

 

Link to comment
Share on other sites

yes, i tried putting image in import path, and some other directory also, no matter what i specify inside csv, it always return me same warning (why the hell it acts like warning? its the hellish error that should burn whole PS and should be fixed ASAP :X)

i tried so far: full path to image on server,
../admin/import/test/1.jpg

admin/import/test/1.jpg
test/1.jpg
1.jpg
none of those worked

 

I even created php script to check if fopen is indeed disabled: 

 

<?php
$url = 'http://www.letsgodigital.org/images/artikelen/35/d90-test-photo.jpg';
$img = 'test/test.jpg';
file_put_contents($img, file_get_contents($url));
?>

 

this one worked like charm. so it have to be PS error unfortunatelly

Link to comment
Share on other sites

i just did exactly what You said ( i tried that before also ) but it didnt help, still same error : cant copy file: url

the url open in webbrowser correctly, and is placed in admin/inport directory, together with csv files.

there are similar issues on presta forge, peoples say that whole thing worked at 1.5.4 - maybe downgrade would be solution?

Link to comment
Share on other sites

I am shooting off the hip, but your host is more than likely running dso as the php interpreter. Move hosts, you are going to have all kinds of issues because of that. Modules will not install right, logs won't write. 

 

DSO does not allow a file to be created with the account being the owner is the issue. 

Link to comment
Share on other sites

okay, Dh42 pointed me into right direction, and i discovered option to change php version - i changed it to 5.4 (from 5.2) and everything seems to work correctly by this point! Thank You guys, hopefully this error will be noted somewhere, so peoples would know that they cant run presta on 5.2 correctly.

Link to comment
Share on other sites

×
×
  • Create New...