PbootCMS附件上传时报错:



上传失败: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)



特别说明:本站资源来自网友发布分享,仅供学习与参考,请勿用于商业用途,若有侵权请联系删除(272966172@qq.com)。

声明:本资料由淘建站会员提供,如转载注明来源,资料来源淘建站免费素材库:https://www.taojz.cn/topic/1117.html
PbootCMS附件上传失败报错UNKNOW: Code: 8192; Desc: stripos(): 希望对你有帮助,感谢您的支持!
留言(0)
头像
 阿里云限量代金券,戳我领取
1 2