Blog

RSS

Need to turn theme off through database

Thursday, 4th June, 2009 Add Comments

http://drupal.org/node/164506

Better way

yelvington – August 4, 2007 – 19:20

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

Blackguard – August 4, 2007 – 21:16

Thanks! I also found for anybody who finds this post because of a similar problem regarding niftyCorners :

http://drupal.org/node/131927

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

abhinya – February 26, 2009 – 14:12

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

Blackguard – February 28, 2009 – 19:13

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

unlvincent – September 15, 2009 – 16:34

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:

http://drupal.org/node/200774

Worked great!

System Table

ishmaelsanchez – September 16, 2009 – 03:35

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!

Tags:

Comments

POST A COMMENT