• Any help on this would be great – just installed, now getting this error:
    “Parse error: syntax error, unexpected T_STRING in /homepages/1/d90530790/htdocs/jonahschulz/wordpress/wp-config.php on line 30”
    Cannot find the error in side-by-side comparison with unedited sample wp-config. Here are lines 27-31:

    /** MySQL hostname */
    define(‘DB_HOST’, ‘db2016.perfora.net’);

    /** Database Charset to use in creating database tables. */
    define(‘DB_CHARSET’, ‘utf8’);

    Any ideas where I have gone wrong? Could it be my text editor?
    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Did you just delete that one and create a new config based on the sample config file?

    Thread Starter ghbrooklyn

    (@ghbrooklyn)

    I did. Is that the best way to go about it?
    I saved the first one out of dreamweaver. and have now made another file in textwrangler. still getting the error.
    Thanks for your help.

    Thread Starter ghbrooklyn

    (@ghbrooklyn)

    Just fixed it. It was strangely referencing the wrong line for the error. It was actually in one of the authentication key lines.
    Thank you, Figaro, for your quick response.

    You can’t always depend on the line number but the problem is usually within a few lines of the referenced number.

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

The topic ‘New to PHP – T-STRING error in wp-config file’ is closed to new replies.