title: Debugging Drupal's White Screen of Death?
body: <p>I have a Drupal installation that previously worked perfectly on my localhost. However, now, after a formatted my computer, it just shows a blank screen (completely white).</p>
  
  <p>So my question is, how can I see where things are going wrong, if I can't even log into the sever?</p>
  
  <p>The only errors I can find are (taken from the Apache Error Logs):</p>
  
  <pre><code>[Tue May 17 05:05:04 2011] [notice] Parent: child process exited with status 255 -- Restarting.
  [Tue May 17 05:05:04 2011] [notice] Digest: generating secret for digest authentication ...
  [Tue May 17 05:05:04 2011] [notice] Digest: done
  [Tue May 17 05:05:07 2011] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.2.9 configured -- resuming normal operations
  [Tue May 17 05:05:07 2011] [notice] Server built: Dec 10 2008 00:10:06
  [Tue May 17 05:05:07 2011] [notice] Parent: Created child process 6992
  </code></pre>
  
  <p>There are no errors in Watchdog...</p>
  
  <p>I am using Xamp 1.7.1 (PHP 5.2) and Drupal 6.</p>
  
  <p>I just also need to mention that once I try and load the site on my local machine, apache also crashes! I added this:</p>
  
  <pre><code>error_reporting(E_ALL);
  ini_set('display_errors', TRUE);
  ini_set('display_startup_errors', TRUE);
  </code></pre>
  
  <p>And it still just shows the screen of death? Where can I actually see errors?</p>
  
  <p>I also found this in apache access.log:</p>
  
  <pre><code>127.0.0.1 - - [17/May/2011:05:22:14 +0200] "GET /greekmerchant/src/ HTTP/1.1" 200 3
  127.0.0.1 - - [17/May/2011:05:25:45 +0200] "GET /greekmerchant/src/update.php HTTP/1.1" 302 -
  127.0.0.1 - - [17/May/2011:05:25:46 +0200] "GET /greekmerchant/src/update.php?op=info HTTP/1.1" 200 -
  </code></pre>
  
  <p>... after trying to access update.php. It also just goes to a white screen.</p>
  
  <p>I have this in my sql config file:</p>
  
  <pre><code>[mysqld]
  port= 3306
  socket= "C:/xampp/mysql/mysql.sock"
  basedir="C:/xampp/mysql" 
  tmpdir="C:/xampp/tmp" 
  datadir="C:/xampp/mysql/data"
  skip-locking
  key_buffer = 16M
  max_allowed_packet = 128M
  table_cache = 64
  sort_buffer_size = 512K
  net_buffer_length = 8K
  read_buffer_size = 256K
  read_rnd_buffer_size = 512K
  myisam_sort_buffer_size = 8M
  log_error="mysql_error.log"
  </code></pre>
  
  <p>And...</p>
  
  <pre><code>[mysqldump]
  quick
  max_allowed_packet = 128M
  </code></pre>
  
  <p>Also, my PHP memory is set to 1024MB.</p>
  
  <p>Anyone got any idea why this is just dying? Is it really a memory problem? What else can I do to get errors shown to me? I still see nothing even after enabling error logging.</p>
  
  <p>Update:</p>
  
  <p><strong>The website runs on my local machine if I delete the files folder. So, for some reason, when it has to access files in the files folder, it runs out of memory. Why? Or better yet, what could be causing this excessive use of memory?</strong> </p>