Jump to content

picture upgrade


Recommended Posts

upgrade from 1.4.9.0 to 1.6.0.11

 

there are 90,000+ pictures and regenerating thumbs takes some time and more timeouts

 

I need to configure some timeout, but it allways stays on 120 sec

 

system Ubuntu 14.04

 

which php.ini or other values do I need to changhe?

 

thanks, bro, in advance,

tp

 

 

Link to comment
Share on other sites

Prestshop automatically attempts to change the timeout, but your host may be preventing it. 

 

You really should be working with your host to understand what limitations or restrictions they have for increasing this value.  If you are on a shared hosting plan, you probably will not be allowed to increase it past a certain value

Link to comment
Share on other sites

 

Hi, you need to modify set_time_limit to increase the time in php,ini

in which php.ini?

I have php.ini under /etc/php5, there are no 'set_time_limit' value

or I must create php.ini in my Prestashop root folder and put 'set_time_limit = 720'?

 

Prestshop automatically attempts to change the timeout, but your host may be preventing it. 

 

You really should be working with your host to understand what limitations or restrictions they have for increasing this value.  If you are on a shared hosting plan, you probably will not be allowed to increase it past a certain value

 

it is dedicated Ubuntu server and I can change everything, but don't know what to change

 

is there some way to LOG which files are converted?

Link to comment
Share on other sites

the actual php setting is called max_execution_time.  Since it has nothing to do with Prestashop, but is a php setting, you are better off to google how to change this value based on the software you are using.

 

http://php.net/manual/en/function.set-time-limit.php

set_time_limit is a function that would allow you to change the time limit inside of a php script

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