• I just tried installing my wordpress and it says:

    Parse error: parse error, unexpected T_STRING in /home/marie2l/public_html/wp/wp-config.php on line 5

    Does anyone know why this is happening?

Viewing 5 replies - 1 through 5 (of 5 total)
  • You messed something up in wp-config.php. Could be a missing ; (semi-colon) on the end of something. Or many many other things. try re doing wp-config.php from the sample, and don’t change any quotes etc..

    Check your wp-config file, especially what you put in for 'password'

    Thread Starter mariel

    (@mariel)

    This is what I changed:

    define(‘DB_NAME’, ‘marie2l_wp’); // The name of the database
    define(‘DB_USER’, ‘marie2l_wp); // Your MySQL username
    define(‘DB_PASSWORD’, ‘hidden’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    is that right?

    Thread Starter mariel

    (@mariel)

    OH! Nevermind I didn’t put the little ‘ after the username! Sorry!

    Mariel,

    define('DB_USER', 'marie2l_wp); // Your MySQL username

    you are missing a quote there. try this:

    define('DB_USER', 'marie2l_wp'); // Your MySQL username

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘T_STRING?’ is closed to new replies.