4 篇
建站知识总结与分享
搜索“php5.4”
Deprecated: Methods with the same name as their class will not be constructor...
web 0 0
362 0 2023-08-07 PHP
Deprecated: Methods with the same name as their class will not be constructor... 最近刚把php版本从5.6切换到7.0上,但是再重新打开项目时,报如下错误: Deprecated: Methods with the same name as th...
php的Allowed memory size of 134217728 bytes exhausted问题解决办法
web 0 0
1292 0 2020-11-11 PHP
php的Allowed memory size of 134217728 bytes exhausted问题解决办法 报错: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 128 bytes) in xxxx...
syntax error, unexpected '['
web 0 0
1664 0 2019-12-09 ThinkPHP
版本:thinkphp3.2.3,php5.3.29 提示错误:syntax error, unexpected '[' 原因:使用了不符合php版本要求的,定义数组的方法。 官方对短数组语法的要求:自php5.4起,可以使用短数组定义语法,用[]替代array() 数组定义的正确使用方...
windows2003+IIS6+FastCGI+PHP5.4的安装配置
web 0 0
2227 0 2017-06-24 IIS
本文内容来自网络,本人亲测可用。 说明:PHP5.5已不支持win2003了,Win2003最高能安装PHP5.4.30。 安装好系统;并且安装好IIS6。 具体安装方法可查看:http://www.taotaoit.com/article/details/140.html(我自己网站的文章) 下载并安装IIS FastCG...
关于本站

“最难不过坚持”

本人承接扒站仿站,php网站维护,病毒查杀,网站编辑,网站改版,html制作

有需要网站维护,改版,病毒查杀,网站编辑,网站备案,html制作等相关的工作可以联系我。
本人有多年相关工作经验,也可提供免费咨询,交个朋友。
有需要探讨问题的朋友,也可以加我微信,共同探讨!
微信:15011482830 QQ:408917339

6282159 2594 39
最新评论
https://jueru.net/
评 留言
:weixiao:
评 留言
:shuijiao: :weiqu: :zhenbang: :leng:
评 留言
:yiwen: :yiwen: :yiwen: :yiwen:
评 EasySass: could not generate CSS file. See Output panel for details.
这个业务逻辑多少都有点奇怪了,阅读浏览次数增值在新闻详情页的控制器方法里setInc,这怎么还写进模型事件里了。如果非要用onAfterRead也可以,把新闻文章的内容单独分出来一个news_content表,然后把它和news做关联,然后给news_content表的onAfterRead事件做增值处理,这样点进新闻页内查询到文章内容时才会触发它。
评 TP6模型事件-查询后onAfterRead不好用
文章标签更多
ThinkPHP (254)
Mysql (58)
DedeCms (33)
jQuery (67)
证件照 (1)
setInc (4)
setDec (4)
onclick (5)