云速成网络CMS建站模板建站平台!

您现在的位置: 首页>>建站教程>>安装问题

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

来源:本站 发布时间:2021-10-10热度:190 ℃
PbootCMS附件上传时报错:上传失败:UNKNOW: Code: 8192; Desc: stripos(): Non-string needles will be interpreted as ···


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,搜索以下
 

1if (stripos($types, $ext) !== false)


替换成

1if (stripos($types, chr($ext)) !== false)


本文地址:https://yunsucheng.net

上一篇:PbootCMS缩略图上传图片变模糊为什么?

下一篇:没有了!