This is most peculiar, but totally my fault, i put in some php in a block - and i knew very well that drupal/php's failsafe is really just to break. So really no failsafe at all.

I've dealt with this before, by 1) removing the output from block.tpl.php 2) removing the $sidebar variable from page.tpl.php to remove the offending section. 3) I have this block loading into a themed region, so i removed the themed region.

For some reason, i am still getting the 'white page of drupal death', even after trying both these., it's almost as if it's still loading this php snippet. Any ideas what should i do? I Deleting that table is a bit of a last resort, so i'm hoping there are some other solutions.

Thanks

Comments

vm’s picture

Outside of finding it in the database and deleting it, I don't think there is another way.

luyendao’s picture

I ended up deleting the field, but if anybody has tips for this in the future, that'd be great.

sepeck’s picture

Test php snippets with page or story in preview mode. Then if it blows up, it's not in the database and even if you press submit, you should still be able to get to the admin/content page to delete it. This tip and others can be found in the best practices link in my sig. :)

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

luyendao’s picture

Thanks! Your sig is now bookmarked!