WordPress网站搬迁后出现file_exists(): open_basedir restriction in effect.

Warning: file_exists(): open_basedir restriction in effect. File(/www/wwwroot/eyangzhen.com/wp-content/plugins/imwpcache-dist//bootstrap/index.php) is not within the allowed path(s): (/www/wwwroot/www.eyangzhen.com/:/tmp/) in /www/wwwroot/www.eyangzhen.com/index.php on line 1

网站迁移到另外一台服务器后,打开网站出现以上报错。

解决办法

进入宝塔,找到对应网站后,把防跨站攻击这个勾选取消掉即可。

出现报错原因分析

打包的时候把防跨站的文件打包,然后覆盖掉新建的文件。

可能是该原因导致

声明:来自内容团队,仅代表创作者观点。链接:https://eyangzhen.com/706.html

内容团队的头像内容团队

相关推荐

关注我们
关注我们
购买服务
购买服务
返回顶部