Warning! WP Super Cache caching broken! The script advanced-cache.php could not
-
Hello I just tried to instal WP Super Cache and I am getting a weird warning message:
Warning! WP Super Cache caching broken! The script advanced-cache.php could not load wp-cache-phase1.php.
Please edit /home/[our-site-folder]/public_html/[wp-content-folder-renamed]/advanced-cache.php and make sure the path to /home/[our-site-folder]/public_html/[wp-content-folder-renamed]/plugins/wp-super-cache/wp-cache-phase1.php is correct.
The problem is, I’ve gone into this file, as instructed, and there isn’t really a “path” anywhere.
I just see the file name of “wp-cache-phase1.php” and try to change that to a full path, but that doesn’t work.
I’ve tried deactivating and re-activating and that also didn’t work.
I’ve tried looking online for answers and nothing seems to be solving this issue, that I could find.
Can you help?
Here is the code that is in /home/[our-site-folder]/public_html/[wp-content-folder-renamed]/advanced-cache.php:
<?php # 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' ); ?>
- The topic ‘Warning! WP Super Cache caching broken! The script advanced-cache.php could not’ is closed to new replies.