Title: wp_config.php T_string error
Last modified: August 21, 2016

---

# wp_config.php T_string error

 *  [rustnroses](https://wordpress.org/support/users/rustnroses/)
 * (@rustnroses)
 * [12 years ago](https://wordpress.org/support/topic/wp_configphp-t_string-error/)
 * Accidentally uninstalled wordpress from the wrong site. Still have the database
   on my site and have restored the last good back up. Have checked the database
   through phpMyAdmin and confirmed the table structure which now all read as:
 *     ```
       wp_f28erk_commentmeta
       wp_f28erk_comments
       wp_f28erk_links
       ...
       etc.
       ```
   
 * From what I understand, this means my new table prefix is ‘wp_f28erk_’ and that
   needs to be changed in the wp_config.php file.
 * So, reinstalled WordPress (I’m using Dreamhost). Accessed files through FTP, 
   and edited the line to read: $table_prefix = ‘wp_f28erk_’;
 * That gave me the error: Parse error: syntax error, unexpected T_STRING in /home/
   rustnroses/testing.rustnroses.net/wp-config.php on line 69
 * I figured I must have screwed up somewhere, so pulled down the config sample 
   file, changed the DB ident sections “NAME” “USER” etc. and the whole section 
   around table name looks like this
 *     ```
       /**#@-*/
   
       /**
        * WordPress Database Table prefix.
        *
        * You can have multiple installations in one database if you give each a unique
        * prefix. Only numbers, letters, and underscores please!
        */
       $table_prefix  = 'wp_f28erk_’;
   
       /**
       ```
   
 * But I’m still getting the same error. Please help?
 * Thanks

The topic ‘wp_config.php T_string error’ is closed to new replies.

## Tags

 * [T_STRING](https://wordpress.org/support/topic-tag/t_string/)
 * [wp_config.php](https://wordpress.org/support/topic-tag/wp_config-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [rustnroses](https://wordpress.org/support/users/rustnroses/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/wp_configphp-t_string-error/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
