Need to turn theme off through database
Thursday, 4th June, 2009 Add Commentshttp://drupal.org/node/164506
Better way
Remove
the theme directory (move it elsewhere on the server). Log in as admin,
deauthorize the theme, move it back, begin your repair work.
Thanks! I also found for
Thanks! I also found for anybody who finds this post because of a similar problem regarding niftyCorners :
1. go to /themes/niftyCorners
2. replace all “form_render” with “drupal_render” in niftyCorners template.php file
3. save and replace template.php file in themes/niftyCorners
My site crashed, but this helped
My site crashed, but this helped
abhinya – February 26, 2009 – 17:41
new
While playing with the themes, i messed pretty bad.
The best part is i damaged the production site.
I go to the site and we all were getting blank page.
chaning the database name did not help so had to try out some thing.
Went to the themes folder and deleted the theme that was configured as default
Next went to
http://www.yoursite.com/admin/build/themes
and changes to another available theme as default theme
Now the site was back on line (Gods Grace)
Next uploaded a fresh folder of the original theme
then went back and change to the theme that i messed up with in the first place.
thank God the site came Back.
Two things:
1. Thank you guys for the forum and the answers
2. some times we might have to sit back and see where the error could happen.
3. we need to seal all site configuration changes and then neven touch
the production site untill every thing is tried and tested and
sanctioned.
Almost lost my JOB
Insha Allah
Sincerely
Abhinya
Right – I have copies of the
Right
- I have copies of the theme from which to work when I’m doing theme
work on a production site. If I’m working with a theme called bigtheme,
I’ll make a copy called bigtheme_dev and work on that. Normally all
will work fine unless some paths are hard coded of theme functions use
the theme name instead of phptemplate.
This worked for me
I was having the same problem with a theme and found this post on how reset the theme back to a working theme via the database:
Worked great!
System Table
In
the system table you can turn on and off themes and modules. Browse the
table and edit the record, status 1 means the theme or module is on,
status 0 it’s off. Good luck!
Comments
POST A COMMENT