• Resolved optizign13

    (@optizign13)


    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!?

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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).

    Thread Starter optizign13

    (@optizign13)

    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’, ”);

    Thread Starter optizign13

    (@optizign13)

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

    Thread Starter optizign13

    (@optizign13)

    Resolved!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Syntax Error’ is closed to new replies.