您现在的位置是:首页 > 教程 > pbootcms教程pbootcms教程

pbootcms上传附件失败报错UNKNOW: Code: 8192; Desc: stripos():解决方法

雪柳2023-01-25 16:31:17pbootcms教程已有人查阅

导读pbootcms附件上传时报错:解决办法:打开/core/function/file.php,搜索以下if(stripos($types,$ext)!==false)替换成if(stripos($types,chr($ext))!==false)

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)

本文标签:

很赞哦! ()

留言与评论 (共有 条评论)
验证码:

相关标签