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

分类:CMS教程 时间:2023-11-02 13:08 浏览:0 评论:0
0
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)

1. 本站所有资源来源于用户上传或网络,仅作为参考研究使用,如有侵权请邮件联系站长!
2. 本站积分货币获取途径以及用途的解读,想在本站混的好,请务必认真阅读!
3. 本站强烈打击盗版/破解等有损他人权益和违法作为,请各位会员支持正版!
4. CMS教程 > PbootCMS附件上传失败报错UNKNOW: Code: 8192; Desc: stripos():

用户评论