cer*_*elp 7 php wordpress webserver cherrypy less
将WordPress站点从一台服务器迁移到另一台服务器后,我们看到以下错误.
lessphp fatal error: load error:
failed to find /hermes/bosnaweb18a/b2978/ipw.m3federalcom/public_html/m3federal/wp-content/themes/theme44107/bootstrap/less/bootstrap.less
lessphp fatal error: load error:
failed to find /hermes/bosnaweb18a/b2978/ipw.m3federalcom/public_html/m3federal/wp-content/themes/theme44107/style.less
Run Code Online (Sandbox Code Playgroud)
有问题的域位于停放的测试域(cerwebtest.net)上,点击主页以外的任何页面后,您将看到顶部的错误.我们已经从WordPress管理门户中更新了所有插件/ WordPress到最新版本.我已经验证错误中的文件确实存在.我已经尝试(根据此资源)删除bootstrap.less.cache和style.less.cache文件以尝试强制它查看.less
用于生成站点的文件.它只修复了主页面上的错误,但没有修复任何子页面.即使调用这些文件但没有查找/使用它们,该网站似乎也正确加载.有关纠正错误需要做些什么的任何想法?
Joh*_*han 17
我刚才有同样的错误.通过删除错误消息中指定文件的文件夹中的.cache文件,我摆脱了它.
删除/wp-content/themes/theme44107/bootstrap/less/bootstrap.less.cache /wp-content/themes/theme44107/style.less.cache
之后,错误消息消失,网站工作.
我们使用 https://interconnectit.com/products/search-and-replace-for-wordpress-databases/ 来查找和替换不正确的数据库路径链接。它们需要从 /hermes/bosnaweb18a/b2978/ipw.m3federalcom/ 更新到我们当前的 Linux 服务器文件路径。然后我们更新了 wp-admin 中的永久链接。我们还删除了 wp-content 下的 .cache 文件以删除存储的站点缓存。之后,网站开始正常运行。
归档时间: |
|
查看次数: |
9076 次 |
最近记录: |