![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
thinkphp
hsu282
这个作者很懒,什么都没留下…
展开
-
tpshop 出现No input file specified.
前言:在用宝塔搭建站点的时候,访问网站出现“no input file specified”错误,可以通过关闭“防跨站攻击”解决。1.进入宝塔,打开站点设置页2.选择“网站目录”3.关闭“防跨站攻击”4.重启站点或者服务器即可。...原创 2021-10-14 15:54:49 · 157 阅读 · 0 评论 -
THINKPHP5 fastadmin 截取标题长度并加省略号
common.php文件写下如下函数/** * 字符串截取,支持中文和其他编码 * @static * @access public * @param string $str 需要转换的字符串 * @param int $start 开始位置 * @param int $length 截取长度 * @param string $charset 编码格式原创 2021-05-22 10:23:12 · 589 阅读 · 0 评论 -
类的属性不存在错误 thinkphp/thinkcmf
thinkcmf出现如下错误:这个错误是因为数据库表中没有模板要调用的字段,解决方法:请检测数据库添加相应字段或去掉模板上相应字段原创 2021-01-29 14:56:05 · 1273 阅读 · 0 评论