Had a shock this morning when I used cherokee marketplace with installed wordpress. The shock came in when i edited the wordpress > header file with the built in editor. On save. it practically took the site down….Lesson learnt, do not use the wordpress editor to edit header files or code files.
What i did was go into cherokee via ssh. click on vserver and located the wordpress installation directory: /var/lib/cherokee/…..130xxxxxxx . With this number I used phpmyadmin to get into the database and updated the options table to default. this fixed the problem..phew… too much automation gives one the creeps. anyways. the following article will help.
SELECT *
FROM wp_options
WHERE option_name = ‘template’
OR option_name = ‘stylesheet’
OR option_name = ‘current_theme’;
the above 3 is changed to value = twentyeleven
http://designgala.com/how-to-change-wordpress-theme-directly-from-database/