网站搬家后报错Warning: file_exists(): open_basedir restriction in effect. File的解决办法 WordPress教程 20年5月30日 编辑 刘海 取消关注 关注 私信 宝塔面板,网站搬家后出现报错 报错代码是Warning: file_exists(): open_basedir restriction in effect. File 这个问题的解决办法是,进入宝塔后台,把防跨站攻击✓给去掉,保存就可以了。宝塔后台-网站-设置-网站目录。 给TA打赏 共{{data.count}}人 人已打赏 Warning: file_exists(): open_basedir restriction in effect. File