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)


声明:有的资源均来自网络转载,版权归原作者所有,如有侵犯到您的权益 请联系邮箱:123456@qq.com 我们将配合处理!

原文地址:PbootCMS附件上传失败报错UNKNOW: Code: 8192; Desc: stripos():发布于2022-04-25 18:57:03

相关推荐