Title: Syntax Error
Last modified: August 21, 2016

---

# Syntax Error

 *  Resolved [optizign13](https://wordpress.org/support/users/optizign13/)
 * (@optizign13)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-57/)
 * 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)

 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-57/#post-4159784)
 * `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](https://wordpress.org/support/users/optizign13/)
 * (@optizign13)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-57/#post-4159797)
 * 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](https://wordpress.org/support/users/optizign13/)
 * (@optizign13)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-57/#post-4159798)
 * Actually I found the missing semi colon =) Thank you for your help Scriptrunner!
 *  Thread Starter [optizign13](https://wordpress.org/support/users/optizign13/)
 * (@optizign13)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-57/#post-4159813)
 * Resolved!

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

The topic ‘Syntax Error’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [optizign13](https://wordpress.org/support/users/optizign13/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-57/#post-4159813)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
