I've done something terrible: I've set my theme to a hacked fork or zen theme that does not work and it probably getting confused with original zen. And now the page is not loading at all. I can't even go to /admin/build/themes

How can I reset it back to Garland?

Comments

nico heulsen’s picture

Update the variable table by setting the "theme_default" param to s:7:"garland"; (Possible you need to truncate the cache.)

shiva7663’s picture

A less elegant thing you could do would be to temporarily rename the problem theme folder; this would make your site temporarily unthemed by brute force. You could then get back into your admin pages and select Garland, and finally rename the problem theme back to its original name. I had to do something similar when CSS optimization broke my test site recently.

markconroy’s picture

I think I had this problem a while back as well, and I just delete the folder with the problem theme (I always leave Garland checked as a fall back). Then I could go back to the admin pages and set Garland as the default theme, rework the problem theme, and hey presto!

Mark C.

============

Drupal Core Maintainer for "Out of the Box" Initiative.

Anonymous’s picture

@Nico

A modification of Corolla Theme went amok and your suggestion solved the trouble like greased lightning. Thanks :)

nico heulsen’s picture

no prob! UR welcome