my prestashop image upload is timing out.

Category: Prestashop 15

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

Hits: 36
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.

OTHER ANSWERS

0

JacobIMH
Staff
9,962 Points
2014-06-30 5:16 pm EST
Hello,

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:

max_execution_time
max_input_time
post_max_size
upload_max_filesize

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.
blmatteson
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.
JeffMa
8,065 Points
Staff
2014-07-01 9:13 am EST
Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

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: support@InMotionHosting.com
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!