WP Super Cache - Error (1 post)

  1. pmonz_7
    Posted 1 year ago #

    Hello everyone,

    I'm trying to activate WP Super Cache and I alwais get the same error:

    Warning! Could not update F:\Inetpub\vhosts\paumonzoncillo.com\httpdocs/wp-config.php! WPCACHEHOME must be set in config file.
    Warning! F:\Inetpub\vhosts\paumonzoncillo.com\httpdocs/wp-content/advanced-cache.php does not exist or cannot be updated.

    1. If it already exists please delete the file first.
    2. Make F:\Inetpub\vhosts\paumonzoncillo.com\httpdocs/wp-content writable using the chmod command through your ftp or server software. (chmod 777 F:\Inetpub\vhosts\paumonzoncillo.com\httpdocs/wp-content) and refresh this page. This is only a temporary measure and you’ll have to make it read only afterwards again. (Change 777 to 755 in the previous command)
    3. Refresh this page to update F:\Inetpub\vhosts\paumonzoncillo.com\httpdocs/wp-content/advanced-cache.php

    If that doesn’t work, make sure the file F:\Inetpub\vhosts\paumonzoncillo.com\httpdocs/wp-content/advanced-cache.php doesn’t exist:

    1. Open F:\Inetpub\vhosts\paumonzoncillo.com\httpdocs\wp-content\plugins\wp-super-cache/advanced-cache.php$wp_cache_file in a text editor.
    2. Change the text CACHEHOME to F:\Inetpub\vhosts\paumonzoncillo.com\httpdocs\wp-content\plugins\wp-super-cache/
    3. Save the file and copy it to F:\Inetpub\vhosts\paumonzoncillo.com\httpdocs/wp-content/advanced-cache.php and refresh this page.

    Cannot continue... fix previous problems and retry.

    - the advanced-cache.php it doesn't exixt, I didn't finded.
    - I already add permisions to the fils through my web files manager (Plesk) and it doesn't work.
    - I look into the advanced-cache.php ( I don't know anything about code, just from forums like this one), the advanced-cache.php is this one:

    # WP SUPER CACHE 1.2
    function wpcache_broken_message() {
    if ( false == strpos( $_SERVER[ 'REQUEST_URI' ], 'wp-admin' ) )
    echo "<!-- WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. -->";

    if ( false == defined( 'WPCACHEHOME' ) ) {
    define( 'ADVANCEDCACHEPROBLEM', 1 );
    } elseif ( !include_once( WPCACHEHOME . 'wp-cache-phase1.php' ) ) {
    if ( !@is_file( WPCACHEHOME . 'wp-cache-phase1.php' ) ) {
    define( 'ADVANCEDCACHEPROBLEM', 1 );
    if ( defined( 'ADVANCEDCACHEPROBLEM' ) )
    register_shutdown_function( 'wpcache_broken_message' );

    Could anybody help me?

Topic Closed

This topic has been closed to new replies.

About this Topic