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

PbootCMS附件上传时报错:

PB素材网,pbootcms模板技术网,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)

转载自:Pb素材网合作伙伴 pbootcms技术网(www.pbhtml.com) 如需二开请移步到本站应用中心

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注