Support » Fixing WordPress » Theme Resets & DB Error

  • Alex


    Howdy all, I’m running into an odd issue wherein my theme occasionally resets to the default (WordPress Default 1.6) overnight. This doesn’t happen every night, and I cannot find a way to recreate the problem as it is intermittent, so toggling plugins to see if one is the source won’t be useful. The error logs don’t show any issues. I do not have any cron jobs set up to run against the WP install.

    DB Error
    I also run into this error each time I post a new entry, which I think may be related to a plugin, but have not tested yet. If anyone is familiar with it I would appreciate a pointer:
    Warning: mysql_affected_rows(): A link to the server could not be established in /home/alex/public_html/wp-includes/wp-db.php on line 183

    Install Info
    WordPress 2.1
    PHP 4.4.2
    MySQL 4.1.21-standard

    * AMM – Amazon Media Management Extension
    * Akismet
    * Contact Form ][
    * FB StandardStats
    * Feedburner Feed Replacement
    * Google Sitemaps
    * Ma.gnolia
    * Previous Posts
    * Recent Comments Widget
    * Related Posts
    * Tiger Style Administration
    * Ultimate Google Analytics
    * Ultimate Tag Warrior
    * Update Manager
    * Viper’s Plugins Used
    * WP-ServerInfo
    * WordPress Database Backup

Viewing 4 replies - 1 through 4 (of 4 total)
  • Actually, it looks as if the db server is intermittenly dropping the connection – which would explain the theme reverting.
    Ask your host if they are doing any upgrades or other on db or db server.

    Thread Starter Alex


    Thanks for the response samboll!

    How would a dropped DB connection cause the theme reversion issue? The proper theme choice should was used for a while, so the right option was stored in the DB. I haven’t seen any other data loss or corruption, so I’m a bit confused how one option would be modified..?

    I’ll ask my host about DB modifications and reboots too.



    This is the same problem I have… You can check it out at this thread:
    Unfortunately, no one was able to help me with this issue, just like, it seems, no one was able to help you either. I had this problem like seven months ago, so the time frame is also similar.
    I had not any template issue, anyway, just the error message at the bottom of the page. Please let me know if you found anything regarding this problem.

    The plugin which causes your DB error for me it was Google XML Sitemaps.
    Test it for yourself, try to deactivate that plugin and go over the same process by which you faced the warning.
    Hope it will work for you too.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Theme Resets & DB Error’ is closed to new replies.