WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Syntax Error (5 posts)

  1. optizign13
    Member
    Posted 10 months ago #

    Hello, I get a syntax error when viewing my website:

    Parse error: syntax error, unexpected T_STRING in /home/content/85/11051785/html/optizigntemp/wp-config.php on line 62

    This is what line 62 is:

    define('DB_CHARSET', 'utf8');

    Looks like everything is the same. Someone help!?

  2. Scriptrunner (Doug Sparling)
    Member
    Posted 10 months ago #

    define('DB_CHARSET', 'utf8'); is valid. It could be the line right before or after that line. (like a missing semi-colon on the preceding line).

  3. optizign13
    Member
    Posted 10 months ago #

    This is what I have for the lines surrounding it:

    /** MySQL hostname */

    /** Database Charset to use in creating database tables. */

    define('DB_CHARSET', 'utf8');

    /** The Database Collate type. Don't change this if in doubt. */

    define('DB_COLLATE', '');

  4. optizign13
    Member
    Posted 10 months ago #

    Actually I found the missing semi colon =) Thank you for your help Scriptrunner!

  5. optizign13
    Member
    Posted 10 months ago #

    Resolved!

Reply

You must log in to post.

About this Topic