• I get the following message
    :<!– WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! –>

    I have search the forums, and I know theres tons of post like this one. All saying I have to change the path in my wp-cache-phase1.php, but for some reason i cant get it right:

    This is what my wp-cache-phase1.php looks like:

    <?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( ‘/var/www/web219/web/wp-content/plugins/wp-super-cache/’ . ‘wp-cache-phase1.php’ ) ) {
    if ( !@is_file( ‘/var/www/web219/web/wp-content/plugins/wp-super-cache/’ . ‘wp-cache-phase1.php’ ) )
    register_shutdown_function( ‘wpcache_broken_message’ );
    }
    ?>

    I have tried to remove the “‘ . ‘” from both lines, but that didn’t help. Can anyone tell me exactly how I should write the path?

Viewing 1 replies (of 1 total)
  • You should probably talk to your webhost support as they can give you the right path. Sometimes they use “virtual” directories that aren’t the same as the real directories the plugin needs.

Viewing 1 replies (of 1 total)
  • The topic ‘WP Super Cache is installed but broken’ is closed to new replies.