Ok, so I don’t think it is a hosting issue after all because they have restored an old backup for me and I still have this problem when I update to WP Super Cache 1.4.
What happens is that for a split-second, an error message appears, then the screen goes blank except for my dashboard headings down the left side of the screen and I cannot do anything in WP admin.
I used video capture to record the error message so I could pause it long enough to read it. You can see it here:
Can anyone advise what I should do?
Check your wp-config.php, is there a mention of WPCACHEHOME there? Is the path to the wp-super-cache directory ok?
There is no mention of WPCACHEHOME in wp-config.php
The only mention of “cache” there is the first line after the opening comments, which says:
define('WP_CACHE', true); //Added by WP-Cache Manager
In the wp-content folder I have a file wp-cache-config.php which has a few mentions of WPCACHEHOME:
$wp_cache_home_path = '/'; //Added by WP-Cache Manager
if ( ! defined('WPCACHEHOME') ) define( 'WPCACHEHOME', WP_CONTENT_DIR . "/plugins/wp-super-cache/" ); //Added by WP-Cache Manager
$wp_cache_plugins_dir = WPCACHEHOME . 'plugins';
The path to the plugin in the middle code there looks fine unless I need /wp-content before /plugins?
Do I need to also have some of this code in wp-config.php in the home directory?
Make sure your wp-config.php is world writeable (Google it, there are many ways to do it) and reload the dashboard. It should add a WPCACHEHOME line to the wp-config.php then. Fix the permissions on that file again 🙂
Did you have wp-super-cache installed for a long time? Say, before version 1.2? The older versions didn’t expect WPCACHEHOME in the wp-config.php but the current advanced-cache.php expects it there. If it can’t update the wp-config.php it should show an error message saying it could not update the file and that “WPCACHEHOME must be set in config file”. Maybe some other plugin you have installed is hiding that message somehow.
Check your PHP error log too, that might show something from a different plugin that’s interfering with that message.
Thank you so much. Yes I’ve had it on that site for about 3 years.
I couldn’t see anything in the error log but I figured you must be right about another plugin interfering with the message, so with WP Super Cache deleted* so that I could use the dashboard, I deactivated all the other plugins, then followed your instructions about wp-config.php. Then when I uploaded WP Super Cache again I was able to see the error message and it did fix wp-config.php and with the other plugins reactivated everything is still fine 🙂
* I know I could have just renamed it but I wanted to be sure nothing had been corrupted in my copy of it
Do you have a donate button anywhere?
Excellent, I’m glad that sorted it. I do have a donate link but there’s no need. It’s likely that this will happen to others and they’ll find this post and fix it the same way you did after following those instructions.
I’m really glad it’s working! 🙂
Hi Donncha, I have updated the wordpress version to 3.7 yesterday and now I have a problem with wp super cache plugin!
In version 3.6.1 wp super cache worked fine, but in the new version 3.7 , I can’t activate it, all I got is a blank page in Admin WP and I can’t do anything!
p.s my plugins are all deactivated but I think there is a problem of wp super cache in this new version of wordpress 3.7
– any suggestion? thanks.
- The topic ‘WP Super Cache 1.4 makes WP admin almost blank’ is closed to new replies.