when ever i try to put "ANY" module , i get this error Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\drupal\includes\common.inc on line 501.

what does this mean? what do i do?

Comments

cog.rusty’s picture

max_execution_time is a PHP settings. See:

http://gr.php.net/manual/en/info.configuration.php#ini.max-execution-time

You can change it
- either in PHP's php.ini file using max_execution_time = 60 (if your server configuration allows you to use a php.ini file)
- or in Drupal's .htaccess file using php_value max_execution_time 60
- or in Drupal's sites/default/settings.php file using ini_set('max_execution_time', 60);.
You may not be able to do the last one if your server has safe mode enabled.

In some cases this error message is misleading and the real problem is the max_input_time value, which you can change to 120 with the first two of the three methods that I mentioned.

sycorax’s picture

thank you so much, its working fine now:)

tommytom’s picture

thanks its working

EJuhl’s picture

For taking time to write a clear and very helpful reply. I benefitted from your kindness.

vallab444’s picture

Your guidance helped me too.

cheers
-vallabh

-Vallab

kadekjayak’s picture

- or in Drupal's .htaccess file using php_value max_execution_time 60

Thanks It's Working

yoinclude’s picture

thank you.

Anonymous’s picture

Thank you!!

vikasrh’s picture

Thanks its working..

addicted_to_drupal’s picture

I had the same problem, i went on the net and after a lot pages i found this one

the soluce

And it works. You have to go one location of drupal/sites/default folder then found the file defaulf.setting and add new line on it

ini_set('max_execution_time', 0);

You can also use others one like
ini_set('session.cookie_lifetime', 2000000);
it's as you wish

I hope it help's you

robertoperuzzo’s picture

When I save a cloned node or when I edit a node and the I save it, I have these kind of error:

[Wed Nov 06 19:47:10 2013] [error] [client 78.134.47.173] PHP Fatal error: Maximum execution time of 60 seconds exceeded in /var/www/www.xxxxxxxx.com/sites/all/modules/cck/content.module on line 914, referer: http://www.xxxxxxxx.com/it/node/3281/edit?destination=admin%2Fcontent%2F...

or

[Thu Nov 07 09:11:37 2013] [error] [client 78.134.56.144] PHP Fatal error: Maximum execution time of 60 seconds exceeded in /var/www/www.xxxxxxxx.com/includes/database.mysqli.inc on line 114, referer: http://www.xxxxxxxx.com/it/node/3281/edit?destination=admin%2Fcontent%2F...

Than I try to change the "max_execution_time" parameter with 0, 30, 60, ... values, but nothing goes better.

[Thu Nov 07 09:16:57 2013] [error] [client 78.134.56.144] PHP Fatal error: Maximum execution time of 0 seconds exceeded in /var/www/www.xxxxxxxx.com/modules/node/node.module on line 433, referer: http://www.xxxxxxxx.com/it/node/3281/edit?destination=admin%2Fcontent%2F...

Someone can help me to solve this issue?
tnx