• Resolved Fredo754

    (@fredo754)


    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

    (@fredo754)

    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.