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
本文介绍了如何解决Magento中出现的“最大执行时间30秒已超过”的错误。提供了三种解决方案:一是编辑php.ini文件增加PHP脚本的最大执行时间;二是通过在出现问题的文件顶部设置时间限制来延长执行时间;三是通过index.php文件设置最大执行时间为300秒。
614

被折叠的 条评论
为什么被折叠?



