Magento: fatal error maximum execution time of 30 seconds exceeded

Error : Maximum execution time of 30 seconds exceeded in Magento.

Solution: You need to increase your maximum execution time for php scripts on your server. You can edit your php.ini file to increase this value

max_execution_time = 600

 

or

You can try adding the following line at the start of your file on which you are facing error.
For example : /home/username/public_html/estore/app/code/core/Zend/Cache/Backend/File.php

set_time_limit(180);

 

or

/index.php

ini_set('max_execution_time', 300); //300 seconds = 5 minutes

Done

 

原文:http://www.indianwebportal.com/maximum-execution-time-30-seconds-exceeded

Loading

Add a Comment

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.