Title: Theme php error, theme deleted now blank
Last modified: August 20, 2016

---

# Theme php error, theme deleted now blank

 *  [Kris](https://wordpress.org/support/users/tedor2/)
 * (@tedor2)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/theme-php-error-theme-deleted-now-blank/)
 * Hello,
    I wonder which file I have to alter to change the theme? I’ve deleted
   the one I installed the last (that buggered the whole thing up) but now I face
   a blank screen so I still cannot log it.
 * I wonder how I could change the setup for the theme (which theme to load) manually(
   html code)?
 * thank you and all the best
    Krisztian

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [peredur](https://wordpress.org/support/users/peredur/)
 * (@peredur)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/theme-php-error-theme-deleted-now-blank/#post-2234471)
 * Does this help?
 * [How to change the WordPress theme directly from the db](http://designgala.com/how-to-change-wordpress-theme-directly-from-database/)
 * 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](https://wordpress.org/support/users/tedor2/)
 * (@tedor2)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/theme-php-error-theme-deleted-now-blank/#post-2234497)
 * 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
 *  [peredur](https://wordpress.org/support/users/peredur/)
 * (@peredur)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/theme-php-error-theme-deleted-now-blank/#post-2234510)
 * 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
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/theme-php-error-theme-deleted-now-blank/#post-2234529)
 * What version of WordPress are you using?
 *  Thread Starter [Kris](https://wordpress.org/support/users/tedor2/)
 * (@tedor2)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/theme-php-error-theme-deleted-now-blank/#post-2234626)
 * hello,
    thanks for the help, I did an update, but the page is still blank 🙁
 * [http://mayfieldproduce.co/upload/Picture%202.jpg](http://mayfieldproduce.co/upload/Picture%202.jpg)
 * WORDPRESS Version 3.1.4
 * all the best
    Krisztian
 * Shall I try to reinstall the whole CMS?
 *  [mixmastermichael](https://wordpress.org/support/users/mixmastermichael/)
 * (@mixmastermichael)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/theme-php-error-theme-deleted-now-blank/#post-2234628)
 * 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/](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](https://wordpress.org/support/users/tedor2/)
 * (@tedor2)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/theme-php-error-theme-deleted-now-blank/#post-2234630)
 * 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

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Theme php error, theme deleted now blank’ is closed to new replies.

 * 7 replies
 * 4 participants
 * Last reply from: [Kris](https://wordpress.org/support/users/tedor2/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/theme-php-error-theme-deleted-now-blank/#post-2234630)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
