InMotion Hosting Support Center

my prestashop image upload is timing out.

Category: Prestashop 15

n/a Points
2014-06-30 4:47 pm EST

Hits: 169
I have extended the memory to 2048, and still it is timing out. I am trying to load 70,000 images in a csv file, but also when i break it down to just 1500 images per file it still times out. How can this be avoided, my client needs the site operational tommorow. I think it is the way smarty templates is interacting with it. How can I get this done

You must login before you can ask a follow up question.

You must login before you can submit an answer.



9,968 Points
2014-06-30 5:16 pm EST

Are you getting a specific error from PrestaShop, or is PHP literally saying Script timed out?

If you are having an issue with a PHP script timing out it's usually not just a problem with the memory limit. More than likely you'll want to break your CSVs up into smaller chunks to avoid problems, but you would also want to try raising the values of these php.ini settings:


Please let us know what seems to be the largest batch of CSV image imports you're able to do at once when adjusting these values to be higher.

- Jacob

You must login before you can post a comment about this answer.

Script just times out. Here are the settings based on the php.ini file:
max_execution_time = 120
max_input_time = 180
post_max_size = 128M
upload_max_filesize = 128M

Furthermore, all images have been sized down to 300x300 max and all thumbnail creation has been turned off. It won't even upload 150 at a time. The only information in the csv is for the image, all the rest of the product data has been uploaded already.
3 Points
2014-07-01 12:55 am EST
Try increasing these values as they can cause the errors you are experiencing. Also, you may need to set your php.ini file as recursive as well.
11,186 Points
2014-07-01 9:13 am EST
Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Social Media Login

Social Login Joomla

Related Articles

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!