By bryancasler on
I am running on Drupal 6.13. I added the following code, each into it's own respective block. Each block had unfiltered php as it's input filter.
The first block had:
<form method="get" action="http://org2.democracyinaction.org/dia/api/process.jsp">
<input type="hidden" name="table" value="supporter">
<input type="hidden" name="organization_KEY" value="5966">
<input type="hidden" name="redirect" value="http://org2.democracyinaction.org/">
Email Address: <input name="Email">
<input type="Submit">
</form>
The second block had:
<form method="get" action="http://org2.democracyinaction.org/dia/api/process.jsp">
<input type="hidden" name="table" value="supporter">
<input type="hidden" name="organization_KEY" value="5966">
<input type="hidden" name="redirect" value="http://org2.democracyinaction.org/dia/changeMe.html">
<table>
*I am guessing the culprit is this open
Comments
You need to edit your
You need to edit your database.
Look at the 'boxes' table, find the rows where the body looks like your text/html. You could try clearing the body or note the bid(s) and look at the blocks table. Find the rows that have the corresponding bids and set status to 0 (disables the block).
The second block is incomplete html, no ending form tag and that opening table tag followed by darkness. That could account for your formatting problems. Neither looks like and obvious source of WSOD.
Ok, another confusing twist
So I have removed the offending blocks from the database, but my site is still offline. I looked at my settings.php file and nothing has changed, I am even more confused about what to do now.
My Sandbox Testing Site: http://www.ivawsandbox.com.php5-5.dfw1-1.websitetestlink.com/
That message generally means
That message generally means Drupal can not access the database either because it's not available (sounds like it is if you edited the block settings) or the values in settings.php are wrong.
Update of what is Happening
I've been having problems with my site stuck in Offline mode.
I followed the instructions here http://drupal.org/node/56995
I ran the sql query:
UPDATE variable SET value = 's:1:"0";' WHERE name= 'site_offline';
DELETE FROM cache WHERE cid = 'variables';
and I got the result:
UPDATE variable SET value = 's:1:"0";' WHERE name = 'site_offline';# MySQL returned an empty result set (i.e. zero rows).
DELETE FROM cache WHERE cid = 'variables';# Affected rows: 1
Does this mean site_offline is missing in my database? If so could someone baby step me through to how I can add it back using phpMyAdmin. Your help will save my sanity.
The variable will not be set
The variable will not be set if you never took the site offline.
The error you are seeing is because Drupal can not connect to you database, either settings.php has the wrong values in $db_url or there is a problem with mySQL.
It would also appear you have 'display_errors' completely off
Manual removing a block
-IGNORE- How can I manually remove this block from the database ? -IGNORE-
...
This topic is continued in this thread: http://drupal.org/node/540858