I Found a Fix

Where Answers are Found!

Welcome to I FoundAFix.com - Where real answers are found! Our aim is to provide proven solutions to real problems. This website is a resource for tried and tested answers for everyday or obscure problems.

Mar
05

WP_CACHE wp-config.php advanced-cache.php

Posted under Coding, Dreamweaver, Software by ifoundafix

The other day while browsing the Internet I Found A Fix for a recent problem I was having. The issue is described as follows;

I was unable to setup my wordpress plugin for WP_Cache. I received the error “advanced-cache.php link does not exist” and also “Error: WP_CACHE is not enabled in your wp-config.php “

The solution and description to this error is set out below;


1. First, you need to make the contents of the “wp-content” folder writable.
2. Next, you need to add the line- define(‘WP_CACHE’, true); to your wp-config.php folder

i.e see below..

// ** MySQL settings ** //
define(‘DB_NAME’, ‘xxxxxxxxxxxx’);    // The name of the database
define(‘DB_USER’, ‘xxxxxxxxxxx’);     // Your MySQL username
define(‘DB_PASSWORD’, ‘xxxxxxxxxx’); // …and password
define(‘DB_HOST’, ‘localhost’);    // 99% chance you won’t need to change this value
define(‘DB_CHARSET’, ‘utf8’);
define(‘DB_COLLATE’, ”);
define(‘WP_CACHE’, true);

3. Refresh the plugin.

I would like to acknowledge the assistance and thank Wordpress for their solution which can also be found here and here respectively.

I hope you too have Found A Fix!

  1. Mark Said,

    Tried that. It didn’t work

  2. karthik Said,

    No use!

    ver 2.6

  3. mods4you Said,

    The Problem is the ’ charakter, you have to replace it with the ‘ charakter.

    before: define(’WP_CACHE’, true);

    after: define(‘WP_CACHE’, true);

  4. Vishnu S Said,

    If you have the plugin installed and geting the error try this, Make a folder named cache in wp-content with CHMOD permission 777 . Change the CHMOD permission to 777 for wp-content and wp-config.php and now check settings WP Cache it will work 🙂

  5. galut Said,

    Hello…I’m wondering why?When I try to access my blog at http://www.jodeweb.com/blog,the display will appear in white and no background,the article title also becomes blue with the font size a bit larger the article content becomes width,I’ve change the theme few times but still no changes.Any idea sir?

    T.Q.

  6. masoud Said,

    Thanks was very helpful.
    mer30.
    masoudmirzaee of IRAN

  7. Mirco Said,

    I can’t notice any difference if I USE WP_CACHE

  8. Maheh Said,

    Thanks to your suggestion. I am now able to use the plugin after editing wp-config file.

  9. nedir Said,

    Hi I have a cache problem I ue wp super cache then I uninstalled it now there is a problem

  10. Bruce Said,

    In wp_config.php, the line:
    define(‘WP_CACHE’, true);

    must occur before the define of ABSPATH.

  11. Musik+ Said,

    Hi I have a cache problem I ue wp super cache then I uninstalled it now there is a problem

Add A Comment