• When I login as ADMIN, and click on MY ACCOUNT, I get this error. Any idea how to fix this?

    =================
    The file ‘wp-config.php’ already exists. If you need to reset any of the configuration items in this file, please delete it first. You may try installing now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter NORTH

    (@north)

    I know everyone is busy here, but any pointers you could give would be really appreciated!

    I can’t tell you why you’re getting this error, but there’s a way to work around it–hopefully without causing other problems, but then things are already broken, eh?

    You want to edit setup-config.php in the wp-admin/ directory. Right at the top you’ll find these lines:

    if (file_exists('../wp-config.php'))
    die("The file 'wp-config.php' already exists. If you need to reset any of the configuration items in this file, please delete it first. You may try <a href='install.php'>installing now</a>.");

    Just comment them out:

    /*
    if (file_exists('../wp-config.php'))
    die("The file 'wp-config.php' already exists. If you need to reset any of the configuration items in this file, please delete it first. You may try <a href='install.php'>installing now</a>.");
    */

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘The file ‘wp-config.php’ already exists’ is closed to new replies.