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

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)

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。

给TA打赏
共{{data.count}}人
人已打赏
广告位招租919838898
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索