hobylazy Posted February 17, 2013 Share Posted February 17, 2013 Hi please help me I was doing product import by csv, total 2000 products and images are going to import. After click "Import csv file", I wait for the processing time about 5 minutes it goes to a fresh page, which are full of errors, I tried many times, I've set configure the memory limit for 200000M, but still give me errors. Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: in D:\APMServ5.2.6\www\htdocs\8\classes\ImageManager.php on line 362 Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: 'D:\APMServ5.2.6\www\htdocs\8\img\tmp\ps_5AC5.tmp' is not a valid JPEG file in D:\APMServ5.2.6\www\htdocs\8\classes\ImageManager.php on line 362 Warning: imagecopyresampled(): supplied argument is not a valid Image resource in D:\APMServ5.2.6\www\htdocs\8\classes\ImageManager.php on line 183 ... ... The version for prestashop is 1.5.2. Please help me in advance.. Link to comment Share on other sites More sharing options...
hobylazy Posted February 17, 2013 Author Share Posted February 17, 2013 (edited) classes\ImageManager.php on line 362: case IMAGETYPE_JPEG : default: return imagecreatefromjpeg($filename); break; } on line 183: imagecopyresampled($dest_image, $src_image, (int)(($dst_width - $next_width) / 2), (int)(($dst_height - $next_height) / 2), 0, 0, $next_width, $next_height, $src_width, $src_height); return (ImageManager::write($file_type, $dest_image, $dst_file)); } What I m going to do next? Edited February 17, 2013 by hobylazy (see edit history) Link to comment Share on other sites More sharing options...
hobylazy Posted February 18, 2013 Author Share Posted February 18, 2013 why no response ? . Link to comment Share on other sites More sharing options...
wdburgdorf Posted February 10, 2015 Share Posted February 10, 2015 why no response ? Link to comment Share on other sites More sharing options...
wdburgdorf Posted February 10, 2015 Share Posted February 10, 2015 Maybe, since it is just a warning, it can be ignored ... Link to comment Share on other sites More sharing options...
Recommended Posts