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 :)

Add A Comment