When I apply a catalog price rule, appears this error: Fatal error: Maximum execution time of 30 seconds exceeded in /app/code/core/Mage/Rule/Model/Condition/Abstract.php on line 301
How can I solve?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityThis problem is occurring because your maximum execution time
is exceeded, So here is the solution you can try,
Increase your Maximum Execution time
, So here you have the ways to change it.
in value of max exe time 300sec is equal to 5min
Just use one of method mention below. To verify your changes done, Create a php file named info.php
and copy below code, Upload file to your server, So you can check current time as well.
<?php phpinfo(); ?>
There you can find max_execution_time value.
.htaccess
writephp_value max_execution_time 300
index.php
write ini_set('max_execution_time', 300);
php.ini
write or change max_execution_time = 300
Note: You can increase more time from 300 to 18000
just to confirm if its time related error
, If your problem
still persists then there will be other bug
.