Does this help?
How to change the WordPress theme directly from the db
NOTE: back up your database before you do this. I’ve never tried it so I can’t guarantee it’ll work or that it won’t mess up your database.
Cheers
PAE
Thread Starter
Kris
(@tedor2)
hello peredur,
thanks for the quick response. I had a look at the db, but couldn’t find the answer. MyPhpAdmin looks a bit different, I only could find ‘wp_options’ but not how to change it’s parameters.
still, any help appreciated.
all the best
Krisztian
In order to set the wp_options field to the new values, you run the SQL queries given in the article (the ones beginning ‘UPDATE’. To do that in phpmyadmin you need to log on and select your wordpress database. Then click on the SQL icon at top left.
Paste each SQL query into the query panel and click on run, or go or whatever it says. You should get a friendly message back that says the query has run and how many records have been updated.
When all the queries have run, you can then try to access your site. With luck it should be back to the default state.
Remember to back up your database before you do this. With a WordPress site you should be backing up your database regularly anyway.
Cheers
PAE
What version of WordPress are you using?
Thread Starter
Kris
(@tedor2)
hello,
thanks for the help, I did an update, but the page is still blank 🙁
http://mayfieldproduce.co/upload/Picture%202.jpg
WORDPRESS Version 3.1.4
all the best
Krisztian
Shall I try to reinstall the whole CMS?
might as well turn on php errors in your htaccess file, it will let you know where the syntax issue(s) are to give you a clue about what to fix…
http://perishablepress.com/press/2007/12/17/how-to-enable-php-error-logging-via-htaccess/
can you still access the admin? might be easiest to just a fresh theme downloaded, load it to your site, then just load it up and compare the files to see where things are wonky.
or just start from scratch entirely…
Also, always back up your wordpress files if you are making significant changes… We’ve all had to learn that one time or another.
Thread Starter
Kris
(@tedor2)
hoho,
for a while I couldn’t access the admin, but now it works, so a strait theme swap sorted me out! wonderful,
thanks for all your help,
all the best
Krisztian