Jump to content

Can't import more than 140 images from CSV


Recommended Posts

I have a complete database of about 700 products.

 

The only thing missing from the data is the 700 product images.

 

I have the images stored in a directory (on a different site) and

I am trying to import them to PrestaShop using an absolute URL

to the images on that site, via a CSV file.

 

It only imports 140 or so images and then stops.

I get a black admin screen below the Admin header - no error or warning messages.

 

I have tried all of the following:

 

Increasing the Resource limits via php.ini

;;;;;;;;;;;;;;;;;;;

; Resource Limits ;

;;;;;;;;;;;;;;;;;;;

 

; max_execution_time = 30 ; Maximum execution time of each script, in seconds

max_execution_time = 600 ; Maximum execution time of each script, in seconds

; max_input_time = 60 ; Maximum amount of time each script may spend parsing request data

max_input_time = 600 ; Maximum amount of time each script may spend parsing request data

; memory_limit = 64M ; Maximum amount of memory a script may consume (16MB)

memory_limit = 128M ; Maximum amount of memory a script may consume (16MB)

 

and increasing the memory in the PrestaShop config file as well

 

ini_set('memory_limit','128M');

 

but nothing works.

 

There has to be a way to do this, surely?

Link to comment
Share on other sites

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 19712 bytes) in /home2/myaccount/public_html/mysite/mydir/images.inc.php on line 238

 

Seems like there is just a natural limitation with importing large numbers of image files.

 

Any suggestions?

Link to comment
Share on other sites

One thing you might also watch out for when doing this is activating the flood protection of the other server. I have done that in the past and it is a pain in the butt if you don't run the server and you have to wait for the ban to fall off.

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...