Maximum execution time of 30 seconds exceeded in...

charlesI - May 29, 2006 - 14:54

Hi !

I first installed 4.6, then 4.7. Everything had worked very well, for a few days.

This morning, I tried to install breadcrumb module.
Here : http://drupal.org/node/61944.

Since then, I keep having problems. I got rid of it, but my drupal site keep crashing.

I get this kind of error message :

Fatal error: Maximum execution time of 30 seconds exceeded in d:\apache\easyphp1-8\www\drupal-4.7.0\includes\database.mysql.inc on line 101

Fatal error: Maximum execution time of 30 seconds exceeded in d:\apache\easyphp1-8\www\drupal-4.7.0\includes\session.inc on line 50

Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0 

Thanks for your help.

Charles

That's a phptimeout error

venkat-rk - May 29, 2006 - 19:44

That's a phptimeout error message, from what little I know. You generally change the settings in the php.ini file (set to zero, which is infinite or some other value that gives more time for the php processes to run). Are you running apache locally? Look for the php.ini file or a similar file

Yes, it's local. I got rid

charlesI - May 30, 2006 - 15:43

Yes, it's local.

I got rid of this site.
I have been working on a few drupal "sites" these last days. So I'll work on another one.
Thanks anyway.

PHP execution timeout

alex_b - July 14, 2006 - 16:26

add this line to your php.ini

max_execution_time = 60

Same problem

yo2lux - November 19, 2006 - 09:52

Hi, I have the same problem.
I need to import a language file (.po) and I get an error message:

Fatal error: Maximum execution time of 240 seconds exceeded in D:\wamp\www\bsdforums\includes\database.mysql.inc on line 102

I have this lines in php.ini:

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 0     ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)

And this lines in Drupal .htacess:

# PHP 5, Apache 1 and 2
<IfModule mod_php5.c>
  php_value magic_quotes_gpc                0
  php_value register_globals                0
  php_value session.auto_start              0
  php_value max_execution_time 0
</IfModule>

Where is the problem ? Anyone has an idea, suggestion to help me ?

Thanks !

How I solved this ...

Keith Adler - June 30, 2007 - 15:03

I simply edited sites/default/settings.php and added the following line:

ini_set('max_execution_time', 0);

ini_set('max_execution_t

marcelodornelas - April 26, 2009 - 12:49

Thanks Keith! That worked for me.

Marcelo Dornelas
www.dornelas.co.uk

Perfect solution !!! It worked for me as well <EOM>

drupal4me2 - May 23, 2009 - 15:20

.

Wonderful....

subac - June 11, 2009 - 08:43

It works for me buddy!!!

Nice...thanks to Keith =)

benahlquist - July 16, 2009 - 19:53

Nice...thanks to Keith =)

Ben Ahlquist

IDEaS Computers

http://www.ideascomputers.com

----------------------

Quality Forum Posts & Replies since 1996.

Thanks.

snick_hill - October 30, 2009 - 06:10

was struggling with it.
thanks a lot!

It worked for me too.. Thanks

mithun_patil - May 22, 2009 - 12:31

It worked for me too..

Thanks

 
 

Drupal is a registered trademark of Dries Buytaert.