Title: wp-super-cache problem / bug: WP_CACHE not enabled in wp-config.php
Last modified: August 19, 2016

---

# wp-super-cache problem / bug: WP_CACHE not enabled in wp-config.php

 *  Resolved [Fredo754](https://wordpress.org/support/users/fredo754/)
 * (@fredo754)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/wp-super-cache-problem-bug-wp_cache-not-enabled-in-wp-configphp/)
 * Hi, folks:
 * I just installed wp-supercache. I went to dashboard -> settings -> WP Super Cache.
   I got it installed ok, but I had to ‘chmod 777 wp-config.php’ to allow supercache
   to modify it. Then I changed it back to the standard 644.
 * So now, when I go to settings -> WP Super Cache, I get the following error:
 * —
    Error: WP_CACHE is not enabled in your wp-config.php file and I couldn’t modify
   it. Edit /home/virtual/site40/fst/var/www/html/wp-config.php and add the following
   line: define(‘WP_CACHE’, true); Otherwise, WP-Cache will not be executed by WordPress
   core. —
 * Settings does not proceed past this error message unless I chmod 777 wp-config.
   php. Yet the file already contains the define “define(‘WP_CACHE’, true);” and
   I will not leave the file set to 777.
 * This appears to be a bug.
 * Help, please?
 * Thanks,
 * Fred

Viewing 1 replies (of 1 total)

 *  Thread Starter [Fredo754](https://wordpress.org/support/users/fredo754/)
 * (@fredo754)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/wp-super-cache-problem-bug-wp_cache-not-enabled-in-wp-configphp/#post-1442420)
 * Hey, I resolved it myself.
 * In wp_config.php, the line:
    define(‘WP_CACHE’, true);
 * must occur before the define of ABSPATH.
 * Cheers,
 * Fred

Viewing 1 replies (of 1 total)

The topic ‘wp-super-cache problem / bug: WP_CACHE not enabled in wp-config.php’ 
is closed to new replies.

## Tags

 * [super cache](https://wordpress.org/support/topic-tag/super-cache/)
 * [supercache](https://wordpress.org/support/topic-tag/supercache/)
 * [WP_CACHE](https://wordpress.org/support/topic-tag/wp_cache/)

 * 1 reply
 * 1 participant
 * Last reply from: [Fredo754](https://wordpress.org/support/users/fredo754/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/wp-super-cache-problem-bug-wp_cache-not-enabled-in-wp-configphp/#post-1442420)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
