当前位置:首页 >> 教程资讯 >> Pboot教程

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

录入编辑:微科技 | 发布时间:2023-01-04
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···


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)

上一篇:PbootCMS使用Ajax无刷新提交留言及表单
下一篇:PbootCMS缩略图上传图片变模糊为什么?
热门服务和内容

手机版

  • 官方微信

    扫码进入

  • 客服微信

  • 官方微信

    扫码添加

  • 高端网站设计,顶级互联网服务 Copyright © 2025 www.vikj.cn All Rights Reserved. 辽ICP备17005629号 XML地图 微科技
    电话咨询:0411-39550725
    在线客服咨询