Title: themes.php current theme always default
Last modified: August 19, 2016

---

# themes.php current theme always default

 *  [void](https://wordpress.org/support/users/void/)
 * (@void)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/themesphp-current-theme-always-default/)
 * The admin page at themes.php always shows the current theme as the default theme.
   The blog itself shows whatever theme I select.
 * This started when I upgraded to 2.5.
 * I am hesitant to try to fix this myself. My assumption is that the database entry
   for the current theme changed in 2.5. The symptoms point toward themes.php reading
   back the current theme from someplace different than where it wrote it.
 * But if this were the case others would have noticed the problem too.
 * The only way I can switch back to the default theme is to rename the current 
   theme directory. This results in a blank main page, but if I go directly to the
   admin panel it tells me the theme is broken and gives me the option to go back
   to the default theme. I am extremely uncomfortable with this.
 * I’ve tried several different themes, deactivating plug-ins, and sacrificing small
   appliances to the ‘Net God.
 * Any thoughts? I’m afraid to upgrade to 2.7.

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

 *  [shiningphoton](https://wordpress.org/support/users/shiningphoton/)
 * (@shiningphoton)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/themesphp-current-theme-always-default/#post-948402)
 * I had a problematic transfer from blogger to WordPress and had to fix a lot of
   bugs. I have the exact same problem you describe. When i select a theme, the 
   theme changes but the dashboard always indicates the default theme as active.
   it’s annoying but i havent had any problems with it.
 * i also assume it’s an option in the options db that need to fix..
 *  [intothevoid](https://wordpress.org/support/users/intothevoid/)
 * (@intothevoid)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/themesphp-current-theme-always-default/#post-948443)
 * I haven’t had problems with it either, but someday I will upgrade and the whole
   thing will go to hell in a handbasket.
 *  [rhaft22](https://wordpress.org/support/users/rhaft22/)
 * (@rhaft22)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/themesphp-current-theme-always-default/#post-948454)
 * I just installed a clean copy of 2.7 and then a theme (essence) from iThemes.
   I have the same problem with the Current Theme stuck on WordPress Default 1.6
   even after a different theme is selected. While the correct theme displays to
   the user, when I create pages the available page templates are the defaults found
   in the Default 1.6 theme. Any resolution for this issue? It is very problematic
   given that theme page templates can not be properly selected for themes other
   than the Default 1.6.
 *  [rhaft22](https://wordpress.org/support/users/rhaft22/)
 * (@rhaft22)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/themesphp-current-theme-always-default/#post-948455)
 * I discovered the problem with my installation. The MySQL user that was specified
   in the wp-config file to access the WP db did not have the “DELETE” privilege
   which is required to change the theme. The code tries to delete the “current_theme”
   option from the wp_options table – when the op fails due to an access denied 
   error the code falls back to using the default theme. I changed the MySQL user
   privileges and the Current Theme now updates as different themes were selected.
 * The problem was easily solved after I took a look at the Apache server’s log 
   file and saw the error msg generated by WP when the MySQL error occurred.

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

The topic ‘themes.php current theme always default’ is closed to new replies.

## Tags

 * [Current Theme](https://wordpress.org/support/topic-tag/current-theme/)
 * [default theme](https://wordpress.org/support/topic-tag/default-theme/)

 * 4 replies
 * 4 participants
 * Last reply from: [rhaft22](https://wordpress.org/support/users/rhaft22/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/themesphp-current-theme-always-default/#post-948455)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
