• I know that I’m totally missing something here. Trying to move a site from one server to the other and access the site before shifting over the DNS. But I’m getting this bad boy when I try to login to the “temp” site.

    I changed the password in MySQL and changed it in the Config.php file but still getting no love. Help please!

    Parse error: syntax error, unexpected ‘define’ (T_STRING) in /home/arawak/public_html/wp-config.php on line 25

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    please paste in lines 20-30 of your wp-config.php file

    Thread Starter habooble

    (@habooble)

    /** MySQL database username */
    define( 'DB_USER', 'redacted' );
    _
    /** MySQL database password */
    define( 'DB_PASSWORD', 'redacted' );
    
    /** MySQL hostname */
    define( 'DB_HOST', 'redacted' );
    
    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', 'utf8');
    Thread Starter habooble

    (@habooble)

    and thanks in advance for your helpl!

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What’s the dash before “MySQL database password”? That shouldn’t be there.

    Thread Starter habooble

    (@habooble)

    I knew there was something! Now I’m just getting an error establishing a database connection! Progress!

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

The topic ‘Parse Error in the Config.php file’ is closed to new replies.