PbootCMS附件上传失败报错UNKNOW: Code: 8192; Desc: stripos():

2021-11-08 7814 19 编辑:pbhtml 来源:PB资源网

PbootCMS附件上传时报错:

PbootCMS附件上传失败报错UNKNOW: Code: 8192; Desc: stripos():

上传失败:UNKNOW: Code: 8192; Desc: stripos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior; File: /www/wwwroot/aaa.xxxx.com/core/function/file.php; Line: 176;

解决办法:

打开/core/function/file.php,搜索以下

if (stripos($types, $ext) !== false)

替换成

if (stripos($types, chr($ext)) !== false)



最后更新于 2021-01-11 14:26:16 本文来源:https://www.pbhtml.com/247.html略有修改

相关知识点: 附件上传
本站文章均为蜀戎网络摘自权威资料,书籍,或网络原创文章,如有版权纠纷或者违规问题,请即刻联系我们删除,未经允许禁止复制转载!感谢...

在线
客服

在线客服服务时间:9:00-21:00

客服
热线

13227777380
7*24小时客服服务热线

客服
微信

扫一扫微信咨询
顶部