View Full Version : Fatal Error With Plugin
innominds
02-01-2010, 09:13 AM
When I'm trying to delete the SPAM with akismet wordpress plugin, I'm getting the following error message:
Fatal error: Maximum execution time of 30 seconds exceeded in /home/onlinedo/public_html/diary/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 533
How to fix this wrror?
danlefree
02-01-2010, 01:37 PM
If you are using shared hosting, I would recommend that you try the following .htaccess directive in your wordpress install directory:
<IfModule mod_php5.c>
php_value max_execution_time 60
</IfModule>
<IfModule mod_php4.c>
php_value max_execution_time 60
</IfModule>
These directives should up your PHP script timeout to 60 seconds; if you have access to your php.ini file, I would recommend changing the settings there.
NetProwler
02-02-2010, 01:16 AM
Or disable the cache temporarily before you purge the spam. The error is thrown up by the wp-super-cache plugin.
30 seconds execution time and beyond indicates that some thing is wrong.