Hi ,

I've just started developing a theme for the first time. (I am new to Drupal but I am an experienced developer in Java and SQL.) I did almost nothing and the left hand menu disappeared and I cannot see any admin pages - even if I enter ?q=admin - that just gives me a completely blank screen.

I'm guessing this must happen from time to time and there is a well known 'panic button' in the form a sql hack or open-this-file-and-edit-this-line sort of thing.

What is it?

Thanks.

Comments

dman’s picture

Depending on what "almost nothing" you did ....
The thing to do is look at the Troubleshooting FAQ and decide which symptom applies to you.

Sounds like a PHP error in the theme means a crash during rendering, so that nothing displays.
See the FAQ for how to revert to a safe theme in the meantime.

The actual error will be in the PHP server logs.

tonyofthewoods’s picture

Thanks Dan - useful address.

Another useful tip, it turns out, if your development theme is stuffed is go to ...my-dev-url?q=admin/build/themes. Which if you're lucky will let you swap back to a known good theme.

dman’s picture

Yeah,
That's #3 on http://drupal.org/node/49102
I take it the "almost nothing" you did was rename or relocate the active theme?

If you'd like to add some description that better describes your experience - in a way that makes sense to someone that's looking for it - please add it to the documentation there! "Panic Button" doesn't describe much, but maybe "My sidebars disappeared but the page still loads" does.