Posted by charlesI on May 29, 2006 at 2:54pm
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
Comments
That's a phptimeout error
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
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
add this line to your php.ini
max_execution_time = 60
Twitter: http://twitter.com/lx_barth
Same problem
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 ...
I simply edited sites/default/settings.php and added the following line:
ini_set('max_execution_time', 0);
ini_set('max_execution_t
Thanks Keith! That worked for me.
Marcelo Dornelas
www.dornelas.co.uk
Perfect solution !!! It worked for me as well <EOM>
.
Wonderful....
It works for me buddy!!!
Nice...thanks to Keith =)
Nice...thanks to Keith =)
Ben Ahlquist
IDEaS Computers
http://www.ideascomputers.com
----------------------
Quality Forum Posts & Replies since 1996.
Thanks.
was struggling with it.
thanks a lot!
thank you! this worked for me
thank you! this worked for me too!
Shall we change the 0 to
Shall we change the 0 to something like 60 for 60 seconds as the max exe time?
Well done. That works
Well done. That works perfectly to me.
Bevin
Works fine
brilliant dude !! you're my hero ! ;)
That works for me!!!
Many tanks... :)
mayonero
It worked for me too.. Thanks
It worked for me too..
Thanks
Increase maximum execution time
Try to install http://drupal.org/project/drupal_tweaks
and increase maximum execution time in PHP Tab
Thanks
Worked for me too! Thanks a ton,Keith!
thanks for that!!! worked a
thanks for that!!! worked a treat
Thanks Keith^^
Thanks Keith^^
Thanks Keith
Thanks Keith
Many thanks Keith. Is this
Many thanks Keith.
Is this the right way to listing/enabling my 60 modules?
(PHP Memory Limits is 128 mb)
b
You can fix it by editing setting.php in Drupal
When you are working on Drupal in your local installation some times you get :Fatal error: Maximum execution time of 30/60 seconds exceeded on your browser.
I also got that issue and what I did, I added this code block in my settings.php.
1) open your settings.php (sites / all / default/settings.php)
2) add this code for PHP settings: line number between 147 - 168
ini_set('max_execution_time', 0);
(you may get permission error, because by default setting.php is right protected. for that you can create a new setting.php file and make sure COPY AND PAST ALL data code in old setting.php then you can replace it )
Umanda Jayo Bandara
Thanks
Thanks ini_set('max_execution_time', 0) works for me.
http://www.gslogix.com
Welcome
Welcome :)
Umanda Jayo Bandara