WordPress.org

Forums

Theme spontaneously deactivated itself! (16 posts)

  1. trojanloy
    Member
    Posted 8 years ago #

    I recently installed Mike Little's theme Journalized 2.0 (http://zed1.com/journalized/themes/journalized-theme-version-2/) on my blog, with some modifications. The theme is supposedly compatible with WP 1.5.2, which is what I'm using, and at first, it appeared to be working fine.

    However, overnight, the theme deactivated itself and activated the default Kubrick theme!! I have no idea what would cause this, but needless to say, it is very disconcerting. It actually happened on two separate occasions. I then re-activated Journalized and moved all of my other themes, including the "default," to a different folder, in hopes that WP would be unable to spontaneously switch themes if no other themes existed. But an hour or so later, it did indeed attempt to switch to the "default" theme -- and since no default theme existed, my blog went totally blank. (I ascertained what had happened by looking at the options table in my MySQL database and seeing that the template had switched to the word "default," again without any input by yours truly.)

    It's like my WordPress installation is having an allergic reaction to Journalized! After an hour or two, it automatically deactivates it and attempts to switch to the "default" theme. I realize this isn't a Journalized forum, and I did leave a comment on Mr. Little's blog... but does anyone have any idea what could cause something like this?

  2. Mark (podz)
    Support Maven
    Posted 8 years ago #

    What plugins are running?

  3. trojanloy
    Member
    Posted 8 years ago #

    Hmm, let's see...

    Spam Karma 2.2 r3
    Batch Categories .91
    Custom Query String 2.6
    Paged Comment Editing 0.4
    Fold Category List 1.0b4
    Get Custom Field Values 2.1
    Live Comment Preview 1.7
    Post editor enhancer for WordPress 0.1.1
    WP-PageNavi 2.0
    Better Feed 1.1

  4. trojanloy
    Member
    Posted 8 years ago #

    I also have some funky auto-SQL action going on...

    http://www.brendanloy.com/2006/04/cnn-auto-blogging-working-again.html

    ...but I don't think that can be the culprit, because that runs an SQL query every five minutes, and it takes the theme an hour or more to deactivate itself. Presumably, if my SQL queries were somehow messing things up, it would happen within 5 minutes, the first time the query runs.

  5. ryanglenn
    Member
    Posted 8 years ago #

    Having the exact same problem with another theme. Using no other plugins. :/

  6. suexID
    Member
    Posted 8 years ago #

    I have exactly the same problem. I've using my own designed template and my plugins list is totally different. I don't think is a plugin related problem, but a bug in the WordPress code. I've posted a bugtracker entry about this, but I got kicked back to the forums. :(

  7. trojanloy
    Member
    Posted 8 years ago #

    I figured out a workaround: rename the "default" directory to "kubrick," and rename the theme you actually want to use to "default." That way, when the MySQL database for whatever reason automatically switches the "template" and "stylesheet" rows on the "wp_options" table to the word "default," they're still pointing to the right theme. Works like a charm!

    (The only side effect: you, and potentially other users of your blog, will need to clear your cache/cookies after the change takes place, because initially the browser may incorrectly believe it has already loaded the "default" stylesheet, when really that is the Kubrick stylesheet. If that makes any sense. Anyway, if you do this and your blog looks funny, clear your cache/cookies.)

  8. ladydelaluna
    Member
    Posted 8 years ago #

    Any time I've ever seen this happening is when you change the theme name in the stylesheet, or rename the theme folder (via FTP) or something simple like that. If you just reactivate the theme, and don't make that change again, you'll be fine.

  9. trojanloy
    Member
    Posted 8 years ago #

    ladydelaluna, that doesn't describe what happened to me, and it doesn't sound like it describes what happened to ryanglenn or suexID, either. My database was repeatedly, spontaneously changing the data fields that control which theme is active, setting them to "default," without any action whatsoever on my part. I would then reactivate the correct theme through the WP interface, and it would work fine for a while, but then it would spontaneously change to a different theme again. No FTPing involved. The only time where FTP became involved was in my workaround -- if you rename the the desired theme <i>to</i> "default," and then activate it as such, this weird spontaneous-MySQL-change issue, whatever is causing it, will stop creating problems because it will be "switching" to the theme you're already using.

    Trust me, I wouldn't be posting to the forums if the solution was as simple as activating my theme. I'm a man, and we don't like asking for directions :), so I always try the obvious steps, usually about five times each :) before finally giving up and realizing that I need to ask for help...

  10. ladydelaluna
    Member
    Posted 8 years ago #

    pardon me then, as a woman, who enjoys trying to help people, for apparantly giving you, a "man", a suggestion that you already thought of...

    i was only trying to be helpful. i stated that the only time i've ever seen this happen was during a certain circumstance. it was not an attempt to discredit you or what you may or may not have tried doing to solve the problem.

    my apologies for not knowing better than to assume, since you didn't say one way or the other whether you'd done what i'd mentioned or not, that i could help you. trust me, it won't happen again.

  11. LiverpoolLad
    Member
    Posted 8 years ago #

    Ladydelaluna, I've had the issue with renaming themes, and seeing your web page blank. It does happen in the circumstances you describe, and we ought to watch out if we use themeswitchers, perhaps limit experiments to a blog set up for that alone.

  12. trojanloy
    Member
    Posted 8 years ago #

    ladydelaluna, my comments about being a man were intended as <i>self</i>-deprecating, not making fun of <i>you</i>, and anyway they were purely good-natured, as I thought the smiley-faces would have indicated. I'm not sure what I said that offended you so much. I apologize for it, whatever it was. But I would humbly suggest that you consider following what Wikipedia calls the "assume good faith" policy online. Since there's no way to tell people's tone of voice online, it's easy to misinterpret people, so I think it's generally a good idea to assume that people don't mean anything bad unless they clearly demonstrate otherwise. I certainly didn't mean to suggest that you said or did anything wrong. I was just trying to clarify the nature of our problem, and then make a humorous comment about myself.

  13. trojanloy
    Member
    Posted 8 years ago #

    Darn it, I keep forgetting that HTML code doesn't work here...

  14. halfbloodprince
    Member
    Posted 8 years ago #

    You can use HTML tags here. If you look below your comment box, you'll see a list of allowed tags.

  15. mseabra
    Member
    Posted 8 years ago #

    I have exactly the same issue. Looking at the initial plugin list I see the Custom Query String that I am also using. I wonder if that could be causing the switch?

  16. There are rare, but known cases, that can cause this sort of behavior. I don't think there's a known fix yet.

    http://trac.wordpress.org/ticket/3907

Topic Closed

This topic has been closed to new replies.

About this Topic