Jump to content

500 Internal Server Error on CSV Import w/ Large Photos


Recommended Posts

I am having trouble with importing products with a CSV file.

 

I am trying to upload a CSV file with about 1400 products. . . most with three pictures or so. .. .  but the pictures are quite large at 3-4 megabytes.  So far, while testing,  I have only tried importing from a CSV file with 5 items. 

 

I originally was getting an error within prestashop indicating the pictures for my products could not be copied.   The products were imported but just did not have the photos.  I researched this and found that the PHP.INI file needed to be updated.  I have done this with the following parameters:

<?php
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

memory_limit = 256M
max_execution_time = 120
max_input_vars = 3000;
suhosin.post.max_vars = 3000;
suhosin.request.max_vars = 3000;

 
?>

My PHP info file is here:  www.gbamedical.com/info.php

 

Now I get a 500 Internal Server Error.  The actual error in the error log is the following:

[Tue Jul 22 23:21:19 2014] [5435820] [fcgid:warn] [client 97.115.27.65:60638] mod_fcgid: read data timeout in 120 seconds, referer http://www.gbamedical.com/shoppe/05ad01min05/index.php?controller=AdminImport&token=62fefdea84f98bf2f436dafc040b6c1f
[Tue Jul 22 23:21:19 2014] [5435820] [core:error] [client 97.115.27.65:60638] End of script output before headers: index.php, referer http://www.gbamedical.com/shoppe/05ad01min05/index.php?controller=AdminImport&token=62fefdea84f98bf2f436dafc040b6c1f

What am I doing wrong?  I have experimented with smaller pictures and it works but the vendor's data feed I am using does not have smaller pictures for the 1400 items and it is a MONSTER job to make them smaller.

 

Thanks in advance for any help you might be able to offer.

 

Trevor

Link to comment
Share on other sites

I reduced the size of the pictures and all are below 1 meg.  Still same problem.  I removed my PHP5.ini file and now I'm back to just the Prestshop error:  "Error copying image:".  The pictures are hosted on another server but I did a test with 5 items and hosted the pictures on my server. . . . same error

 

Please help.

Link to comment
Share on other sites

  • 3 months later...
×
×
  • Create New...