WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP Super Cache] Error: WP_CACHE is not enabled in your wp-config.php file (2 posts)

  1. clivesgt
    Member
    Posted 6 years ago #

    hi
    i have installed super cache on my laptop and it works fine. i then install it on my website but get this error message:

    Error: WP_CACHE is not enabled in your wp-config.php file and I couldn't modified it.
    Edit /home/xxxxxxxx/public_html/wp-config.php and add the following line:
    define('WP_CACHE', true);
    Otherwise, WP-Cache will not be executed by WordPress core.

    both laptop and website have wordpress 2.5.1. i copied the wp-config.php file over from my laptop so i assume it is ok.

    any ideas how i can resolve this?

    thanks

    clive

  2. clivesgt
    Member
    Posted 6 years ago #

    i forgot to include a snippet from the config file:

    define( 'WPCACHEHOME', ABSPATH . 'wp-content/plugins/wp-super-cache/' );
    define('WP_CACHE', true);

    the installation instruction mentions a line beginning with ...require....as there is no such line, i assume that it should read ...define...is this correct?

    thanks

    clive

Topic Closed

This topic has been closed to new replies.

About this Topic