Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter frothy

    (@frothy)

    Sir or Madam, thanks. I thought maybe the three-step guide was sufficient. But I appreciate your mixture of helpfulness and sanctimony, hallmarks of WordPress.org. The extended instructions will certainly be useful, if there is another time. They can’t help me now, but maybe they will in the future.

    The WordPress is installed in the root and contains wp-admin, wp-content, and wp-includes. These three folders are also in the www folder and the public_html folder, both of which are also in the root. So I wonder if I should delete the WordPress folder (and its subfolders) and leave the ones that are in public_html and www.

    I’m not really sure how to proceed. I have replaced the faulty file that generated the headers error message with one from the latest upgrade, but I wouldn’t know if it’s really been fixed if I am not importing the backup, as you note that it “confused” things before. I’ll just have to look again at the extended instructions tomorrow and redoo what needs to be redone, step by step. Thanks.

    Hm, never mind – the situation resolved itself. I suspect it had nothing to do with me or my settings and more to do with the host site itself. Woo.

    Matt, did you fix yours?

    This just happened to me, and I’m positive it’s something I did. The site was fine this morning, but after uploading a new theme (stupid Tarski), the database vanished. I get the “Error establishing a database connection” message (and nothing more)..

    And in my cPanel, I apparently no longer have an SQL database. I hope that simply means it can’t be connected to, rather than it having been deleted…

    Here’s my code in my wp-config.php file:

    <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘xxxxx’); // The name of the database
    define(‘DB_USER’, ‘xxxxxx’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘xxxxxxx’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
    define(‘DB_CHARSET’, ‘utf8’);
    define(‘DB_COLLATE’, ”);

    // You can have multiple installations in one database if you give each a unique prefix
    $table_prefix = ‘wp_’; // Only numbers, letters, and underscores please!

    // Change this to localize WordPress. A corresponding MO file for the
    // chosen language must be installed to wp-content/languages.
    // For example, install de.mo to wp-content/languages and set WPLANG to ‘de’
    // to enable German language support.
    define (‘WPLANG’, ”);

    /* That’s all, stop editing! Happy blogging. */

    define(‘ABSPATH’, dirname(__FILE__).’/’);
    require_once(ABSPATH.’wp-settings.php’);
    ?>

    I tried changing ‘localhost’ to ‘127.0.0.1’ and also to the actual URL, to no avail.

    I’m no programmer, so I hope there’s a simple solution here..

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