Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By charlesI on
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
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:
And this lines in Drupal .htacess:
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.
Perfect solution !!! It worked for me as well <EOM>
.
Wonderful....
It works for me buddy!!!
Nice...thanks to Keith =)
Nice...thanks to Keith =)
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.
Works fine
brilliant dude !! you're my hero ! ;)
That works for me!!!
Many tanks... :)
Thanks Keith
Thanks Keith
Keith is a legend :)
I'm using a multisite set up so had to add it to the settings.php file for that /sites folder, but it worked :) Thank-you!
i cannot edit in settings.php
i cannot edit in settings.php file...help me out
shakthi
to solve "cannot edit settings.php file"
right click on settings.php file and properties, then uncheck the read only attribute. then try to edit :)
Maximum execution time exceeds 30seconds
simply copy and paste this where you start to see ini_set. It will work for you.
ini_set('max_execution_time', 0);
This worked
This solution worked for me. Thanks Keith!
i changed to 60 in max
i changed to 60 in max execution time...but it is not working...help me out
PHP execution
it will work when you restart drupal and web server like XAMPP,LAMP,WAMP,etc.
php execution timeout
thanks you ,it's working....
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 )
Thanks
Thanks ini_set('max_execution_time', 0) works for me.
Welcome
Welcome :)
Worked for me..
Thank you........
Thankyou
It worked for me thank you
why i can't?
Thanks Mr Keith for your help. I see many get helps from you.
But why i can;t?
I do what you do, but; unluckily there are no work out!
I can't figure it what is problem?
Listen , I have similar version which CharlesI has.
Worked
Worked :) Thank you :)
step to edit php.ini
first of all Thanks Keith! That worked for me.
-after displaying this error. I DROP all tables from database(to avoid "table variable already exist).
- then in sites/defaults/settings.php
line number 301 I added ini_set('max_execution_time', 0);
like ->
then refresh page of error and its working.!!!
Thanks kkalaskar
Thanks kkalaskar
your post worked for me :-)
Don,t set it to 0. You should set a appropriate time.
You should not set ini_set('max_execution_time', 0); It is bad practice, please always set a appropriate timestamp just like ex:- ini_set('max_execution_time', 300); or you may increase it as per your requirement.
Not only with XAMPP...
Look at Step 2 of https://www.drupal.org/node/2347717
Good luck!
Wusel
Works like a charm, thank you
Works like a charm, thank you!
// Cooper Webdesign
This is only workaround, not the solution.
ini_set('max_execution_time', 0);
it is better to change this setting after installation and don't have it on prododuction sever. It is easy to DoS server with it e.g. with never ending loop.Ratio Web
Quick install Drupal on Windows
Look at Step 2 of https://www.drupal.org/node/2347717
Good luck!
Wusel
Fixed in Drupal 6.37 | Maximum execution time of 30 seconds...
And this lines in Drupal .htacess: php_value max_execution_time 0
Before Changes in Drupal .htacess:
# PHP 5, Apache 1 and 2.
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_value mbstring.encoding_translation 0
After Changes in Drupal .htacess:
# PHP 5, Apache 1 and 2.
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
php_value mbstring.http_input pass
php_value mbstring.http_output pass
php_value mbstring.encoding_translation 0
php_value max_execution_time 0
Thanks
Kumar Rahul Sankrit