I think you best fix this in the database (take backup first):

- truncate all tables that start with cache_
- change active theme back to garland  (there is a 0 / 1 flag for this) as mentioned before