Jump to content

Increase the execution time in prestashop


Prema

Recommended Posts

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 error

Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/vhosts/befunk.co.uk/subdomains/elvi/httpdocs/images.inc.php on line 159


So i have tried to increase the maximum execution time

so 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 20



Please any one help me how to increase the execution time from code itself ?

thanks
Prema

Link to comment
Share on other sites

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

  • 3 years later...
  • 5 years later...
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. ;)

  • Like 3
Link to comment
Share on other sites

  • razaro changed the title to Increase the execution time in prestashop

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