• Resolved cbwhat

    (@cbwhat)


    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)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    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

    (@cbwhat)

    my fault, completly understand. will do. im new to wordpress and how it works.

    Thread Starter cbwhat

    (@cbwhat)

    also how do i do that by the way?

    Thread Starter cbwhat

    (@cbwhat)

    do i just change it in the wp-config file? what about that api keys

    miocene22

    (@miocene22)

    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.ww.wp.xz.cn/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.