昨天把博客搬至BlueHost空间后(搬家过程详见上一篇文章),一进入后台就提示错误,并且在每个页面的后面,显示:
<!– WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! –>
在插件的F&Q中查到:
The error message, "WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed!" appears at the end of every page. Open the file wp-content/advanced-cache.php in your favourite editor. Is the path to wp-cache-phase1.php correct? This file will normally be in wp-content/plugins/wp-super-cache/. If it is not correct the caching engine will not load.
于是检查advanced-cache.php文件,发现该文件中引用wp-cache-phase1.php使用的是之前使用小熊猫主机的时候该文件的物理绝对路径, 于是将其改成BlueHost虚拟主机中该文件的绝对路径后清空一下缓存, WP Super Cache 就能正常使用了.
各位访客朋友,如果看完本文有所收获,望点击一下右侧广告!您的支持是博主更新的动力!
本文地址:http://www.chinanet88.com/archives/316 版权所有:动感天地's博客-关注网络资源,掌握第一手资讯 支持原创,共创美好未来!转载请注明出处,谢谢合作!
未经允许不得转载:动感天地's-Blog » WP博客搬家后WP Super Cache插件无法正常使用的解决方法
Warning: A non-numeric value encountered in /www/wwwroot/www.chinanet88.com/wp-content/themes/dux/modules/mo_comments_list.php on line 20
没看懂!!!
Warning: A non-numeric value encountered in /www/wwwroot/www.chinanet88.com/wp-content/themes/dux/modules/mo_comments_list.php on line 20
没看懂!!!