WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Database error (4 posts)

  1. fkieffer
    Member
    Posted 3 months ago #

    After resetting the language to default english ( "define('WPLANG', 'fr_FR');" to "define('WPLANG', '');" ) I get the message: "Error establishing a database connection".
    Switching back to french ( define('WPLANG', 'fr_FR'); ) gives me the same error message in french.

    Thanks for any help

  2. davidsword
    Member
    Posted 3 months ago #

    some php must of messed up in your editing, causing the script to fail which would fail the database as that's where the connection details are from. make the line:

    define('WPLANG', '');

    notice the ";" are periods at the end of a line/function in the code.

  3. davidsword
    Member
    Posted 3 months ago #

    (btw put your code between back-tics "`" to make your code a mono font instead of using brackets)

  4. fkieffer
    Member
    Posted 3 months ago #

    Thank you all, the problem is solved. I made a silly mistake since I forgot to enter the database password when uploading config.php from my local xampp installation. Sorry

Reply

You must log in to post.

About this Topic