今天换了一个环境,因为缓存插件WP Super Cache的缘故,导致后台不显示。并一段警告闪过:
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.
Warning! WP Super Cache caching broken! The script advanced-cache.php could not load wp-cache-phase1.php.
等等。。
解决方法:
define('WPCACHEHOME', dirname(__FILE__) . '/wp-content/plugins/wp-super-cache/');
Via:http://wordpress.org/support/topic/warning-wp-super-cache-caching-broken-the-script-advanced-cachephp-could-not
声明:本文采用 BY-NC-SA 协议进行授权,如无注明均为原创,转载请注明转自 你好!刘
本文地址:WP Super Cache路径引起的bug
本文地址:WP Super Cache路径引起的bug
发表评论