WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
I moved my hosting site (5 posts)

  1. ELMIT
    Member
    Posted 2 years ago #

    I moved my site to a new host and get now the message:

    Warning! WP Super Cache caching broken! The script advanced-cache.php could not load wp-cache-phase1.php.

    Please edit /kunden/211137_49113/rblog.info/wp-content/advanced-cache.php and make sure the path to /kunden/211137_49113/rblog.info/wp-content/plugins/wp-super-cache/wp-cache-phase1.php is correct.

    I can read!!!

    However, the file in question, does not show me where I should put in that line:

    <?php
    # WP SUPER CACHE 0.8.9.1
    function wpcache_broken_message() {
    if ( false == strpos( $_SERVER[ 'REQUEST_URI' ], 'wp-admin' ) )
    echo "<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->";
    }

    if ( !include_once( 'CACHEHOME' . 'wp-cache-phase1.php' ) ) {
    if ( !@is_file( 'CACHEHOME' . 'wp-cache-phase1.php' ) ) {
    define( 'ADVANCEDCACHEPROBLEM', 1 );
    register_shutdown_function( 'wpcache_broken_message' );
    }
    }
    ?>

    Where do I change "CACHEHOME" to the correct path, and why the system know it and cannot fix it by itself????

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 2 years ago #

    Did you copy that file into wp-content? It's generated by the plugin which replaces CACHEHOME with the right path, in this case it would be "/kunden/211137_49113/rblog.info/wp-content/plugins/wp-super-cache/".

  3. baranduin72
    Member
    Posted 2 years ago #

    I'm having the same problem. Error message is:

    Please edit \\HOSTING\DFS\20\9\8\2004617890\user\sites\ezjustice.com\www/wp-content/advanced-cache.php and make sure the path to \\HOSTING\DFS\20\9\8\2004617890\user\sites\ezjustice.com\www/wp-content/plugins/wp-super-cache/wp-cache-phase1.php is correct.

    However, when I go to wp-content/advanced-cache.php it says:

    `<?php
    # WP SUPER CACHE 0.8.9.1
    function wpcache_broken_message() {
    if ( false == strpos( $_SERVER[ 'REQUEST_URI' ], 'wp-admin' ) )
    echo "<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->";
    }

    if ( !include_once( '\\HOSTING\DFS\20\9\8\2004617890\user\sites\ezjustice.com\www/wp-content/plugins/wp-super-cache/' . 'wp-cache-phase1.php' ) ) {
    if ( !@is_file( '\\HOSTING\DFS\20\9\8\2004617890\user\sites\ezjustice.com\www/wp-content/plugins/wp-super-cache/' . 'wp-cache-phase1.php' ) ) {
    define( 'ADVANCEDCACHEPROBLEM', 1 );
    register_shutdown_function( 'wpcache_broken_message' );
    }
    }
    ?>`

    Where in that do I make the edit to correct the filepath?

    Also, /wp-content/plugins/wp-super-cache/' . 'wp-cache-phase1.php' does appear to me to be the correct filepath, so I'm not even sure what I'm supposed to edit if that is not it.

  4. baranduin72
    Member
    Posted 2 years ago #

    What I'm trying to say is, this appears to simply be the ERROR message. I don't understand what I'm supposed to correct in this file.

  5. Coolcash4live
    Member
    Posted 1 year ago #

    I'm also having the same issue and it has never been resolved since.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic