Title: help!!!! wp-config error
Last modified: August 20, 2016

---

# help!!!! wp-config error

 *  Resolved [cbwhat](https://wordpress.org/support/users/cbwhat/)
 * (@cbwhat)
 * [15 years ago](https://wordpress.org/support/topic/help-wp-config-error/)
 * [http://www.misplacedgrenade.com](http://www.misplacedgrenade.com)
 * i get this error when i go to any page on my website
    Parse error: syntax error,
   unexpected T_STRING in /home/jandv411/public_html/misplacedgrenade.com/wp-config.
   php on line 1
 * wpconfig file
    [Deleted!]

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

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years ago](https://wordpress.org/support/topic/help-wp-config-error/#post-2082042)
 * To fix your problem, change
 *     ```
       <?php/** Enable W3 Total Cache **/define('WP_CACHE', true); // Added by W3 Total Cache/** Enable W3 Total Cache **///define('WP_CACHE', true); //Added by WP-Cache Manager
       ```
   
 * to
 *     ```
       <?php
   
       /** Enable W3 Total Cache **/
       define('WP_CACHE', true); // Added by W3 Total Cache
       ```
   
 * That said, you just published your DB password for everyone to see. NEVER EVER
   EVER EVER DO THAT!
 * Go change your password RIGHT NOW unless you wan to be hacked. Also change your
   API keys for your hash keys and salts. DO NOT stop. Do not pass go. Just do it.
   This is HUGELY important.
 *  Thread Starter [cbwhat](https://wordpress.org/support/users/cbwhat/)
 * (@cbwhat)
 * [15 years ago](https://wordpress.org/support/topic/help-wp-config-error/#post-2082044)
 * my fault, completly understand. will do. im new to wordpress and how it works.
 *  Thread Starter [cbwhat](https://wordpress.org/support/users/cbwhat/)
 * (@cbwhat)
 * [15 years ago](https://wordpress.org/support/topic/help-wp-config-error/#post-2082045)
 * also how do i do that by the way?
 *  Thread Starter [cbwhat](https://wordpress.org/support/users/cbwhat/)
 * (@cbwhat)
 * [15 years ago](https://wordpress.org/support/topic/help-wp-config-error/#post-2082047)
 * do i just change it in the wp-config file? what about that api keys
 *  [miocene22](https://wordpress.org/support/users/miocene22/)
 * (@miocene22)
 * [15 years ago](https://wordpress.org/support/topic/help-wp-config-error/#post-2082067)
 * You need to change the password to your MySQL Database. This is usually done 
   through your hosting control panel (cPanel) using phpMyAdmin or similar. Easier
   just to create a new database user and delete the old one.
 * Then edit your wp-config.php file to add the new username/pass.
 * Your not quite done…
 * See [http://codex.wordpress.org/Editing_wp-config.php#Security_Keys](http://codex.wordpress.org/Editing_wp-config.php#Security_Keys)
   to see how to add some new security keys.

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

The topic ‘help!!!! wp-config error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [miocene22](https://wordpress.org/support/users/miocene22/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/help-wp-config-error/#post-2082067)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
