By cmscritic on
Using Drupal 6.8, when I go to log in I get a white screen of death. I've got error logging on and here are the contents:
[28-Dec-2008 07:09:21] PHP Fatal error: Call to undefined function db_is_active() in /home/critic/public_html/includes/bootstrap.inc on line 420
[28-Dec-2008 07:19:43] PHP Warning: fopen(./sites/default/default.settings.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in /home/critic/public_html/includes/install.inc on line 188
[28-Dec-2008 07:19:43] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/critic/public_html/includes/install.inc:188) in /home/critic/public_html/includes/install.inc on line 618
[28-Dec-2008 07:19:43] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/critic/public_html/includes/install.inc:188) in /home/critic/public_html/includes/install.inc on line 619
[28-Dec-2008 07:19:51] PHP Warning: fopen(./sites/default/default.settings.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in /home/critic/public_html/includes/install.inc on line 188
[28-Dec-2008 07:19:51] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/critic/public_html/includes/install.inc:188) in /home/critic/public_html/includes/install.inc on line 618
[28-Dec-2008 07:19:51] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/critic/public_html/includes/install.inc:188) in /home/critic/public_html/includes/install.inc on line 619
[28-Dec-2008 07:20:02] PHP Warning: fopen(./sites/default/default.settings.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in /home/critic/public_html/includes/install.inc on line 188
[28-Dec-2008 07:20:02] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/critic/public_html/includes/install.inc:188) in /home/critic/public_html/includes/install.inc on line 618
[28-Dec-2008 07:20:02] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/critic/public_html/includes/install.inc:188) in /home/critic/public_html/includes/install.inc on line 619Can anyone help me out here?
Comments
Did you rename
Did you rename default.settings.php to settings.php? I think drupal needs that file and we're supposed to copy it instead of renaming it. Try duplicating your settings.php and renaming the dup to default.settings.php (essentially put default.settings.php back in its original place).
I hope this helps.
renaming file
I tried renaming it but that doesn't appear to have helped.
the second Warning in your
the second Warning in your log says it is failing to open stream:
./sites/default/default.settings.php
Is your default.settings.php file in that ./sites/default location? It should also have file permissions set to 644
Aside from this, I would say it's good to allow more MEMORY for PHP, which is set in the php.ini file. This is helped me avoid the white screen of death (WSOD) in the past.
More info:
http://drupal.org/node/29268
Similar issue [31-Dec-2008
Similar issue
[31-Dec-2008 14:57:01] PHP Fatal error: Call to undefined function db_is_active() in /home/jovialde/public_html/collegeadmissions/includes/bootstrap.inc on line 420
[31-Dec-2008 15:02:59] PHP Fatal error: Call to undefined function db_is_active() in /home/jovialde/public_html/collegeadmissions/includes/bootstrap.inc on line 420
[31-Dec-2008 15:03:02] PHP Fatal error: Call to undefined function db_is_active() in /home/jovialde/public_html/collegeadmissions/includes/bootstrap.inc on line 420
[31-Dec-2008 15:03:03] PHP Fatal error: Call to undefined function db_is_active() in /home/jovialde/public_html/collegeadmissions/includes/bootstrap.inc on line 420
[31-Dec-2008 15:03:03] PHP Fatal error: Call to undefined function db_is_active() in /home/jovialde/public_html/collegeadmissions/includes/bootstrap.inc on line 420
[31-Dec-2008 15:03:04] PHP Fatal error: Call to undefined function db_is_active() in /home/jovialde/public_html/collegeadmissions/includes/bootstrap.inc on line 420
[31-Dec-2008 15:03:04] PHP Fatal error: Call to undefined function db_is_active() in /home/jovialde/public_html/collegeadmissions/includes/bootstrap.inc on line 420
[31-Dec-2008 15:03:04] PHP Fatal error: Call to undefined function db_is_active() in /home/jovialde/public_html/collegeadmissions/includes/bootstrap.inc on line 420
[31-Dec-2008 15:03:04] PHP Fatal error: Call to undefined function db_is_active() in /home/jovialde/public_html/collegeadmissions/includes/bootstrap.inc on line 420
I tried changing the default.settings.php file and nothing happened
Drupal Upgrade to 6.8 Update.php error resolved
I just fixed my issue. The problem was in the update.php. Because of the location of my core file is unconventionally in sites/all/modules I had to change this section of the code lines 576-586
From
To
I also notices one of you errors had a PERIOD proceeding the default.settings.php This may be part of your problem. Hope this helps somebody.
Avoid a headache and follow convention!
-------------------------------------
www.jovialdesigns.com