Title: T_STRING error
Last modified: August 21, 2016

---

# T_STRING error

 *  [fotodmick](https://wordpress.org/support/users/fotodmick/)
 * (@fotodmick)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/t_string-error-2/)
 * I am getting this error Parse error: syntax error, unexpected T_STRING in /home/
   content/d/m/p/dmphoto/html/davidmcclainphotography/wp-config.php on line 55
 * I updated the database password on my hosting account because I could not remember
   it, which created this problem first. “Error establishing a database connection
   
   This either means that the username and password information in your wp-config.
   php file is incorrect or we can’t contact the database server at h50mysql93.secureserver.
   net. This could mean your host’s database server is down.
 * Are you sure you have the correct username and password?
    Are you sure that you
   have typed the correct hostname? Are you sure that the database server is running?”
 * So I opened the wp-config in text edit and changed the password to the new one
   and then got the T_STRING error Any help?

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/t_string-error-2/#post-4556953)
 * You seem to have inadvertently created an error when adding your new password.
   Check your wp-config.php against the wp-config-sample.php file.
 *  Thread Starter [fotodmick](https://wordpress.org/support/users/fotodmick/)
 * (@fotodmick)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/t_string-error-2/#post-4556963)
 * THANK YOU!!

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

The topic ‘T_STRING error’ is closed to new replies.

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [password](https://wordpress.org/support/topic-tag/password/)
 * [T_STRING](https://wordpress.org/support/topic-tag/t_string/)

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
