Support » Plugin: Yoast SEO » Updating broke my site!

  • Resolved Chris

    (@chrisinsouthkorea)


    (To be clear from the start, there were 3 updates that WordPress did at the same time using the built-in updating feature. I’m not sure which one is the culprit, but this was one of the three, the others being Better WP Security and Tweet Old Posts)

    Updating broke the site, and the back-end is broken as well. All it shows now is essentially the wp-config.php file, starting with the following:

    /** * The base configurations of the WordPress. * * This file has the following configurations: MySQL settings, Table Prefix, * Secret Keys, WordPress Language, and ABSPATH. You can find more information * by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing * wp-config.php} Codex page. You can get the MySQL settings from your web host. * * This file is used by the wp-config.php creation script during the * installation.

    The error log also shows:

    [21-Apr-2013 09:11:05] PHP Fatal error: Call to undefined function wp() in /home1/chrisint/public_html/chrisinsouthkorea/wp-blog-header.php on line 14

    Everything was running smoothly before the upgrades, so I’m 99.9% positive it was the upgrades that made the difference. Anyone know what’s going on?

    Website: chrisinsouthkorea.com

    http://wordpress.org/extend/plugins/wordpress-seo/

Viewing 1 replies (of 1 total)
  • Thread Starter Chris

    (@chrisinsouthkorea)

    OK, problem solved. Not sure how it happened, but the following bit of code got deleted from the wp-config.php file:

    // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define(‘DB_NAME’, ‘YOUR DB NAME HERE’);

    For anyone having the unrelated ‘error establishing a database connection’, check this before panicking 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Updating broke my site!’ is closed to new replies.