wordpress 搬迁后后台报错警告warning 修复file_exists():open_basedir

wordpress 搬迁后后台报错警告warning 修复file_exists():open_basedir

故障:登陆后台报错警告warning,file_exists(): open_basedir restriction in effect. File is not within the allowed path(s): in functions.php on line 

这是在wordpress搬迁之后,看报错的路径已经不存在了,查询open_basedir restriction in effect. 显示跟防跨站有关,

在服务器网站控制面板里关闭防跨站攻击后,后台警告不存在了,但是防跨站开着还是安全一些

刚才的警告信息里好几个路径是以前的上传路径,

干脆直接进数据库修改得了

查询后直接数据库检索,wp_options表里recently_edited,还有upload_path里,相应的修改一下就完成了。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值