WP Super Cache路径引起的bug

WordPress, 转自点点 6 年前 回复

, ,

今天换了一个环境,因为缓存插件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

支付宝打赏微信打赏

如果此文对你有帮助,欢迎打赏作者。

发表评论

欢迎回来 (打开)

(必填)

1815