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

2023-12-01 0 275

pbootcms附件上传时报错:

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)

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

悠久资源 Pbootcms教程 pbootcms附件上传失败报错UNKNOW: Code: 8192; Desc: stripos(): https://www.u-9.cn/jiaocheng/pbootcms-jiaocheng/13088.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务