Hi

My problem started when my host upgraded from php4 to php5.
Prior to the upgrade (on php4) I was running Drupal 6 and everything was ok.
After the upgrade I was unable to see admin content or even login because of the wsod.
I could see both admin and custom links but all admin links lead to the wsod
Custom links did lead to content
(it's like a really bad horror move, every time I mention wsod I hear Du du Durr)

As this is a personal development domain I deleted all files and did a fresh install of 6.14,
You can assume my DB settings are correct in settings.php

After examining the DB with Navicat I see I have no tables at all.

And after running the code below in index.php:

error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);

I get:

Warning: Table 'drupal_xxx.access' doesn't exist query: SELECT 1 FROM access WHERE type = 'host' AND LOWER('79.74.56.171') LIKE LOWER(mask) AND status = 0 LIMIT 0, 1 in D:\webspace\xxx\wwwroot\includes\database.mysql.inc on line 128

Warning: Table 'drupal_xxx.users' doesn't exist query: SELECT u.*, s.* FROM users u INNER JOIN sessions s ON u.uid = s.uid WHERE s.sid = '579aniaodkivotbjkdc591gmc0' in D:\webspace\xxx\wwwroot\includes\database.mysql.inc on line 128

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at D:\webspace\xxx\wwwroot\includes\database.mysql.inc:128) in D:\webspace\xxx\wwwroot\includes\bootstrap.inc on line 1037

Warning: Table 'drupal_xxx.cache' doesn't exist query: SELECT data, created, headers, expire, serialized FROM cache WHERE cid = 'variables' in D:\webspace\xxx\wwwroot\includes\database.mysql.inc on line 128

Warning: Table 'drupal_xxx.variable' doesn't exist query: SELECT * FROM variable in D:\webspace\xxx\wwwroot\includes\database.mysql.inc on line 128

Notice: Undefined variable: variables in D:\webspace\xxx\wwwroot\includes\bootstrap.inc on line 480

Warning: Table 'drupal_xxx.cache' doesn't exist query: UPDATE cache SET data = '', created = 1253623921, expire = 0, headers = '', serialized = 0 WHERE cid = 'variables' in D:\webspace\xxx\wwwroot\includes\database.mysql.inc on line 128

Notice: Undefined variable: variables in D:\webspace\xxx\wwwroot\includes\bootstrap.inc on line 487

Warning: Table 'drupal_xxx.system' doesn't exist query: SELECT name, filename, throttle FROM system WHERE type = 'module' AND status = 1 AND bootstrap = 1 ORDER BY weight ASC, filename ASC in D:\webspace\xxx\wwwroot\includes\database.mysql.inc on line 128

Warning: Cannot modify header information - headers already sent by (output started at D:\webspace\xxx\wwwroot\includes\database.mysql.inc:128) in D:\webspace\xxx\wwwroot\includes\bootstrap.inc on line 636

Warning: Cannot modify header information - headers already sent by (output started at D:\webspace\xxx\wwwroot\includes\database.mysql.inc:128) in D:\webspace\xxx\wwwroot\includes\bootstrap.inc on line 637

Warning: Cannot modify header information - headers already sent by (output started at D:\webspace\xxx\wwwroot\includes\database.mysql.inc:128) in D:\webspace\xxx\wwwroot\includes\bootstrap.inc on line 638

Warning: Cannot modify header information - headers already sent by (output started at D:\webspace\xxx\wwwroot\includes\database.mysql.inc:128) in D:\webspace\xxx\wwwroot\includes\bootstrap.inc on line 639

Warning: Table 'drupal_xxx.url_alias' doesn't exist query: SELECT COUNT(pid) FROM url_alias in D:\webspace\xxx\wwwroot\includes\database.mysql.inc on line 128

If I deliberately use the wrong db username in settings.php I get:

Site off-line

The site is currently not available due to technical problems. Please try again later. Thank you for your understanding.

Can anybody tell me how I can start again?
As this is a dev domain it's ok to suggest the radical this is not precious.

Cheers

Comments

matt_harrold’s picture

If your database has no tables ... you're ready to start again (well and truly).

Simply go to http://example.com/install.php file again and reinstall.

If your db username/password is incorrect, the install routine will let you know pretty quick.

fatbike’s picture

Hi
I ran install.php, which does take me to the 'Choose language' initial set-up page but, when I click 'Install Drupal in English' I get the dreaded wsod and am unable to continue.

The chain of event so far

  • Installed drupal on a host running php4.x - everything was fine for months
  • My host updated from php 4.x to php 5.2 last week -wsod on all admin links but custom content and links work but with errors
  • Deleted all files on the server, deleted (but backed up) all tables in the DB
  • Uploaded all files from my working copy on localhost and fixed the DB path in settings and created the tables with an SQL dump using Navicat - TOTAL wsod
  • Deleted all files on the server, all tables in the DB and uploaded a fresh copy (6.14) of all files - TOTAL wsod
  • Ran your suggested install.php and was taken to the initial set-up page
  • Clicked on 'Install Drupal in English' - TOTAL wsod
  • Just looked at the browser!! - TOTAL wsod

I'm total perplexed, the fresh install just leaves me with a white screen.
It's almost as if it's jammed in a previous config setting somehow and cant see the fresh install.

Any further help would be much appreciated

matt_harrold’s picture

Two seconds before you panic, check how much memory you have allocated to PHP ... if its' anything under 64M, you've probably run out of memory.

If stuck ... search Drupal.org for instructions on how to check and increase PHP memory limit.

BTW: make sure you still have .htaccess file .. and modify this to increase memory.

If pain persists .. see a doctor .. I've run out of ideas.

Good luck.

fatbike’s picture

After extensive communications with my host it appears that there was a missing '.' their PHP ini file.

The includes folder in their file was listed as
;C:\php5\pear\pear
It should have been
.;C:\php5\pear\pear - notice the '.' at the beginning....Now notice my calm exterior! IT just serves to mask an ocean of seething rage, and torment!!!

Life's a beautiful thing but a 'dot' can quite easily put a stop to that!

Thanks for all your help