• I upgraded recently from 2.0.x to 2.1 and at the same time, started using the blacknblue theme.

    However, periodically, the theme is reverting back to the ‘default’ theme: this change is visible in the database:

    mysql> select * from wp_options where option_name=’template’;
    +———–+———+————-+———————+————-+————–+————–+—————+——————–+——————–+———-+
    | option_id | blog_id | option_name | option_can_override | option_type | option_value | option_width | option_height | option_description | option_admin_level | autoload |
    +———–+———+————-+———————+————-+————–+————–+—————+——————–+——————–+———-+
    | 54 | 0 | template | Y | 1 | default | 20 | 8 | | 1 | yes |
    +———–+———+————-+———————+————-+————–+————–+—————+——————–+——————–+———-+
    1 row in set (0.00 sec)

    And when I change the theme via the WP interface, it gets corrected:

    mysql> select * from wp_options where option_name=’template’;
    +———–+———+————-+———————+————-+————–+————–+—————+——————–+——————–+———-+
    | option_id | blog_id | option_name | option_can_override | option_type | option_value | option_width | option_height | option_description | option_admin_level | autoload |
    +———–+———+————-+———————+————-+————–+————–+—————+——————–+——————–+———-+
    | 54 | 0 | template | Y | 1 | blacknblue | 20 | 8 | | 1 | yes |
    +———–+———+————-+———————+————-+————–+————–+—————+——————–+——————–+———-+
    1 row in set (0.00 sec)

    However, something in ‘normal use’ causes this to periodically revert to ‘default’. What on earth is going on? The revert times don’t seem to coincide with anything in particular that I can see.

    Any ideas?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter omegaamigo

    (@omegaamigo)

    I should add that, once the theme is set to ‘blacknblue’ it works fine, sometimes for many days, allowing comments, new posts etc. without problem.

    Can’t get the support search to work, but this is a common question. One solution is to look at your WP_Mobile plugin (if you have it) – but there’s lots of stuff in that link to choose from.

    Thread Starter omegaamigo

    (@omegaamigo)

    Hmm, I don’t have WP_Mobile: I’ll take a look at the rest of the links.

    I think I’ll also do some careful logging so that I can see what triggers the theme reset.

    Thanks for your suggestion.

    I’m watching this thread, too. It is a most vexing problem.

    Thread Starter omegaamigo

    (@omegaamigo)

    For info, I’ve got some scripts monitoring this now: every five minutes, they check the theme is still correct and if not, it gets corrected. The theme reverted once, overnight, and I therefore had five minutes of Apache logs to inspect, presuming one of the hits to be responsible.

    None of the entries in the Apache logs were unusual (i.e. nothing strange, just normal page loads and RSS feed reading). Just for good measure, I manually loaded all the links in the five minute window where the theme reverted and … nothing happened to the theme.

    This is very strange, no?

    SO, did you ever look at the other links? I’m also seeing stuff about cache issues.

    There is a possible fix here, but the cache issue – if memory serves – was usually the problem that resulted in this issue when I saw it most of the time.

    Umm, I don’t see where a mu fix would apply to our free standing installations. I don’t have a cache running (that I know of; shared hosting environment and all..). But I do have GZIP enabled from the Options–>>Reading menu.

    Umm, I don’t see where a mu fix would apply to our free standing installations.

    MU is almost the same thing as the regular one – it just provides for multiple blogs from one installation rather than multiple installations for multiple blogs. The basics are the same, therefore a fix for MU may well work for a regular installation.

    I don’t mean your *regular* cache – I mean the WP cache setting in your config file.

    Here are problems with solutions, if I set the name of main blog’s theme folder as default, my user themes set to the main blog’s theme. If neither are default, then both will go blank.

    I don’t have WP-Cache, or the mobile thing, and it’s not happening when I register a new blog, only when I’m uploading any file in my theme. I’m trying to find a fix among the links in the scattered posts on this that relates to cache but not registering a new blog, unsure if there was one. This topic is a mess with so many different pages on it.

    Argh.

    Just need to let you know further complications with this issue. I’m going to go see if WPMU has an updated version like WP just has, I think that came out after I upgraded MU.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WP is reverting to default theme’ is closed to new replies.