gpt4 book ai didi

php - 获取错误 W3 Total Cache(版本 0.9.2.4)

转载 作者:行者123 更新时间:2023-12-05 08:01:44 25 4
gpt4 key购买 nike


安装 W3 Total Cache (Version 0.9.2.4) 后出现错误,如

Blockquote W3 Total Cache Error: Default settings are in use. The configuration file could not be read or doesn't exist. Please save the settings to create the file.

保存设置显示为按钮,但即使点击它也没有任何变化。没有任何反应。它甚至不工作。没有 css,js 正在缩小。

有人能告诉我插件有什么问题吗?

最佳答案

我得到了同样的错误“W3 总缓存错误:默认设置正在使用中。配置文件无法读取或不存在。请保存设置以创建文件”在我的从现有服务器迁移到新服务器后的生产服务器。

我注意到以下两个文件 ma​​ster.phpma​​ster-admin.phpwp-content/w3tc-config 位置丢失了/p>

一旦我将这些文件移动到新服务器,错误消息就消失了。

您可能还需要运行以下命令

cp /wp-content/plugins/w3-total-cache/wp-content/advanced-cache.php /wp-content/advanced-cache.php
mkdir /wp-content/cache
chmod 777 /wp-content/cache
mkdir /wp-content/w3tc-config
chmod 777 /wp-content/w3tc-config

关于php - 获取错误 W3 Total Cache(版本 0.9.2.4),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12708352/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com