I've upgraded to Drupal 4.7, and in error I have selected a theme that does not work in 4.7.

Now my site just gives me an error message (Fatal Error: Call To Undefined Function...), as documented here:
http://drupal.org/node/50099

How do I get back to a 4.7 theme? I can't access my website at all now!

Thanks in advance,

Phil

Comments

dman’s picture

Try just deleting (or moving away) the bad theme :)

You may need to find your way to /admin/themes yourself if the navbars don't work, but trying to cripple my install still left it usable enough to repair.

or maybe the FAQ has a clue

http://www.coders.co.nz/

ventophile’s picture

Thanks for your quick reply :)

Ok, I tried these steps:

* Ran the database command as shown in the FAQ you linked to. It says it made 1 change to the DB, but didn't resolve my problem at all.

* Deleted the directory of the theme (actually, I just renamed it, but same effect). Now I can see some of the website content, but not the User Login block, so I can't log in. I can try to manually get to the Admin pages (mysite.com/?q=admin) but it says Access Denied, because of course I'm not actually logged in...

Any ideas how I can somehow log in, so that manually browsing to the Admin pages will work?...

Otherwise I'm going to have to wipe it and start again :(

Ta! Phil

dman’s picture

Hm.
The FAQ page gave a good hint on where to start looking for the corrupt data - the system table.
If it didn't work, I'd get more violent and try

DELETE FROM `system` WHERE `name` = 'theme_name';

I too found that the navigation block disappeared with no theme, so mentioned you'd have to navigate manually.
This means visit /user/login by typing it in. then /admin/themes to get a version of the themes page.

Sorry, I'm showing troubleshooting procedures rather than just pulling the answers out of the air. Meet me half-way here!

.dan.
http://www.coders.co.nz/

ventophile’s picture

Dan, thanks again for your info and your patience. As you can tell I'm a very new Drupal user!

I've logged in manually now and got rid of the incompatible theme. Normality has been restored :)

Ta for the troubleshooting tips link as well.

Cheers,

Phil