Hello all,
Looking for a little guidance on creating a cache. Originally, I was attempting to activate my wp stats through my dashboard. However, I was receiving this message:
wp-content/cache does not exist: please make sure that the “wp-content/cache” directory is created.
I downloaded and installed the Super Cache plug-in and received this message:
WP Super Cache Manager
Warning! /home/trhou2/public_html/blog/wp-content/advanced-cache.php does not exist or cannot be updated.
* 1. If it already exists please delete the file first.
* 2. Make /home/trhou2/public_html/blog/wp-content writable using the chmod command through your ftp or server software. (chmod 777 /home/trhou2/public_html/blog/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 /home/trhou2/public_html/blog/wp-content/advanced-cache.php
If that doesn’t work, make sure the file /home/trhou2/public_html/blog/wp-content/advanced-cache.php doesn’t exist:
1. Open /home/trhou2/public_html/blog/wp-content/plugins/wp-super-cache/advanced-cache.php in a text editor.
2. Change the text CACHEHOME to /home/trhou2/public_html/blog/wp-content/plugins/wp-super-cache/
3. Save the file and copy it to /home/trhou2/public_html/blog/wp-content/advanced-cache.php and refresh this page.
Cannot continue… fix previous problems and retry.
I walked through the steps, making sure I had the right permissions set, etc. Here is the code for the advanced-cache.php
<?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’ ) )
register_shutdown_function( ‘wpcache_broken_message’ );
}
?>
Any ideas how to fix my broken super cache? I welcome any and all ideas. Thank you for your time. I certainly appreciate it.