Forums

[resolved] Problem with WP Supercache & wp-config.php (3 posts)

  1. William Bowles
    Member
    Posted 2 years ago #

    After upgrading Supercache I get this msg:

    Error: WP_CACHE is not enabled in your wp-config.php file and I couldn’t modify it.

    Edit /home/creative/public_html/wp-config.php and add the following line:
    define('WP_CACHE', true);
    Otherwise, WP-Cache will not be executed by WordPress core.

    But I checked the config file and it is enabled (define('WP_CACHE', true);), what gives?

    Bill

  2. mjoanisse
    Member
    Posted 2 years ago #

    I'm also experiencing the same problem... anyone?

  3. mjoanisse
    Member
    Posted 2 years ago #

    I've fixed my issue by moving the script at top of document, before defining database information..
    --

    //this enables caching for the 'wp cache' plugin
    define('WP_CACHE', true);
    
    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', 'databasename');
    
    /** MySQL database username */
    define('DB_USER', 'username');

    Hope this helps...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.