Prema Posted October 8, 2010 Share Posted October 8, 2010 Hi,I am using prestashop and developed e-commerce website. i have tried to download bulk images from admin end. but i am getting the following errorFatal error: Maximum execution time of 30 seconds exceeded in /var/www/vhosts/befunk.co.uk/subdomains/elvi/httpdocs/images.inc.php on line 159So i have tried to increase the maximum execution timeso i have inserted the following code in admin header.inc file in top set_time_limit (60)but its not working again i am getting the following error Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /var/www/vhosts/befunk.co.uk/subdomains/elvi/httpdocs/admin5296/header.inc.php on line 20Please any one help me how to increase the execution time from code itself ?thanksPrema Link to comment Share on other sites More sharing options...
Moggen Posted October 8, 2010 Share Posted October 8, 2010 Tell your host to move away from safemod or if you can invest some money move to host where you can control php.ini and make the change there. I worst case scenario you can ask your host nicely if the can increase the execution time. Link to comment Share on other sites More sharing options...
yodapt Posted October 8, 2010 Share Posted October 8, 2010 try this : ini_set('max_execution_time', 60); Link to comment Share on other sites More sharing options...
Henki Posted June 5, 2014 Share Posted June 5, 2014 Hi, try set_time_limit (0) => no limit time Link to comment Share on other sites More sharing options...
bellini13 Posted June 5, 2014 Share Posted June 5, 2014 good thing you replied to a 4 year old post... Link to comment Share on other sites More sharing options...
Kogkalidis Posted July 16, 2019 Share Posted July 16, 2019 On 6/5/2014 at 2:54 PM, bellini13 said: good thing you replied to a 4 year old post... @bellini13 Don't blame people. There are some issues that still make people have nightmares. For example, in 1.7.4.4 I have this issue and that's the reason I am browsing through a bunch of threads so old. Order message encoding (greek and other non-latin) is still an issue that keeps showing every now and then. People are just trying to find a solution and others are trying to help. It's like you telling "Hey Sagrada Familia is too old, why visit it instead of Camp Nou?" Quality is not calculated based on freshness. 3 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now