您现在的位置是:首页 > 教程 > 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附件上传时报错:
上传失败:
打开/core/function/file.php,搜索以下
上传失败:
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)
本文标签:
很赞哦! ()
相关文章
随机图文
-
给pbootcms增加换行标签br=1的修改方法
有的时候产品想增加个字段用来放简单的几句简介,其中需要用的换行,一般来说因为语句少选择新增多行文本字段类型是最合适的。 -
PbootCMS首页Banner轮播制作和调用教程
首页的大图轮播,算是网站中的一道“硬菜”了。大图美不美观,直接影响整个网站的格局。 当然,这道“硬菜”的关键部分应该掌握在设计师手中 -
pbootcms详情页不带父级目录直接ID访问的方法
因为博客有时候不同时间段想法不一样,会考虑栏目层级的变化,这时候文章详情链接如果带了父级目录名称那么链接也会随之变化,对于被收录的文章就打不开了。 -
pbootcms内容列表只显示推荐/置顶/头条内容的调用方法
默认的内容列表调用方式如下 V1.2.2版本开始order排序进行调整,默认情况下置顶、推荐、头条具有优先显示,包括使用date、sorting、visITs、likes、oppose时
留言与评论 (共有 条评论) |