By sasi_s on
Hi,
I tried to build a new website using drupal.i have installed views, CCK and other modules. After installing drupal, it runned quite well for 2 days.3rd day when run the site, iam able to access –“create content” and other options available but iam unable to access administration contents .instead it is showing the following error --
"Fatal error: Maximum execution time of 30 seconds exceeded in D:\wamp\www\mysite\includes\common.inc on line 541"
is there any solution for this. Please need your help. Thanks in advance. Regards sasi
Comments
.:
you need to increase the php execution time to 60 or 90 sec in your php.ini.
http://drupal.org/search/apachesolr_search/Maximum+execution+time
------------
Volvo, Video, Velcro. (I came, I saw, I stuck around.)
if you don't have access to
if you don't have access to the server's php.ini, or if PHP is running as an Apache module (instead of CGI), then you will need to increase the execution time in .htaccess instead (or possibly even in settings.php, depending on the server config).
gpk
----
www.alexoria.co.uk
PROBLEM CONTINUES
HI khan and gpk,
thanks for your reply.I increased the php execution time to 120 sec in my php.ini. But still i am facing the same problem.I got the following error while i tried to access my administration tools
"Fatal error: Maximum execution time of 120 seconds exceeded in D:\wamp\www\mysite\includes\common.inc on line 541"
please need your help.thanks in advance.
regards,
sasi
_
so increase it some more
Interesting that it always
Interesting that it always happens on the same line. Which version of Drupal are you using?
[update] Looks like this line http://drupalcode.org/viewvc/drupal/drupal/includes/common.inc?annotate=... may be the problem, in http://api.drupal.org/api/function/drupal_http_request/6. Unless you are using other modules (e.g. aggregators) that need to make outoing HTTP requests the culprit is usually update.module (update status). Try disabling it by setting its status to 0 in the {system} table in the DB.
Typically this happens when you are not connected to the internet, or the network doesn't allow outoing connections like this (e.g. you are on an intranet and need to connect via a proxy ... this problem has been around for some time .. #7881: Add support to drupal_http_request() for proxy servers (http not https)), or Apache isn't configured correctly, or you are using Vista (there is a trick to getting it to work properly).
I had though that the white screen problem was fixed in #243253: Update status module can cause white screen if the check for updates takes too long but possibly that was only a partial solution and maybe #7881 is still needed.
See also #220296: update status: connection timeout behind firewall
gpk
----
www.alexoria.co.uk
thank you
HI GPK,
first of all sorry for my late reply.i have followed the steps you mentioned above.it really solved my problem.thanks a lot.
Great, glad it helped!
Great, glad it helped!
gpk
----
www.alexoria.co.uk
Disabling update module worked for me too...
I'm getting the same error, and notice that it occurs when I've added a new module to my modules directory. I seem to get the error when trying to list modules after activation of the "culprit" module. I can only remedy the situation by deleting the module from the directory. Of course, the problem is that now, I have installed a module I feel I cannot do without and this is becoming annoying.
"Try disabling it by setting its status to 0 in the {system} table in the DB."
I've done it as you suggested, and its worked a charm. Thanks very much gpk.
I'm just wondering whether this has any knock-on effects. I suppose there should be no problem in adding further modules. However, I notice I am not not being notified in red about latest updates (logical). This was quite useful, but I'll live :-)
Is there a deeper solution to the update module problem that you might know of or suggest? Perhaps this has been fixed in the latest 6.15 release... Is it even a drupal problem, or something to do with apache as you mentioned?
N.B. I'm a med student using drupal 6.14 for all my notes on my local drive using wamp (php 5.2.11, apache 2.2.11, mysql 5.1.36). Windows 7 OS.
Thanks.
Adam.
i think i have the same common.inc on line 541 error
i think i have the same common.inc on line 541 error
everytime i add modules, i usually have white pages but sometimes i can manage to get thru, until now it got worse, the normal screen wont comeout anymore
its stated above:
"culprit is usually update.module (update status). Try disabling it by setting its status to 0 in the {system} table in the DB."
Can you please elaborate this, sorry im new to drupal and handling database.. by the way, im using postgre DB.
if anyone can help, pls reply, i really need all the help i can get.... thanks!