pbootcms网站系统操作教程:PbootCMS附件上传失败报错UNKNOW: Code: 8192; Desc: stripos():

pbootcms网站系统操作教程:PbootCMS附件上传失败报错UNKNOW: Code: 8192; Desc: stripos():

PbootCMS附件上传失败报错UNKNOW: Code: 8192; Desc: stripos():,熟悉PbootCMS手册是使用本程序开发模板的前提,虽然尽可能把所有标签做到简单到想哭,但是还是有些标签需要了解!

PbootCMS附件上传时报错:

PbootCMS附件上传失败报错UNKNOW: Code: 8192; Desc: stripos():
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)
分享到 :
相关推荐

发表评论

登录... 后才能评论