44 篇
建站知识总结与分享
搜索“exp”
thinkphp5.1手机浏览器关闭后cookie失效
web 0 0
1271 0 2021-11-18 ThinkPHP5.1
thinkphp5.1手机浏览器关闭后cookie失效 做会员自动登录,用cookie保存账号密码,重新访问的时候,验证一下就自动登录了。 pc浏览器可以,手机浏览器不行。 每次关闭手机浏览器,再访问,就没有cookie信息了。 Cookie过期的时间。这是一个Unix时间戳,因此是自纪元以来的秒数。换句话说...
此错误(HTTP 403 禁止)意味着 Internet Explorer 可以连接到该网站,但是没有查看该网页的权限。
web 0 0
3460 0 2021-09-07 其他
apache配置多域名的时候,访问域名提示:此错误(HTTP 403 禁止)意味着 Internet Explorer 可以连接到该网站,但是没有查看该网页的权限。 或者提示:You don't have permission to access / on this server 1、403表示服务器上文件或目录拒...
thikphp5.1 syntax error, unexpected 'Switch' (T_SWITCH), expecting identifier
taotaoit 0 0
1566 0 2021-07-17 ThinkPHP5.1
错误提示: syntax error, unexpected 'Switch' (T_SWITCH), expecting identifier switch是php语言的保留字,不可以拿来当控制器名,换个名字就可以了,比如加个s Sritchs
array_merge(): Expected parameter 1 to be an array, object given
taotaoit 1 1
2625 0 2021-04-17 PHP
array_merge(): Expected parameter 1 to be an array, object given 参数1需要一个数组,给的是对象 $rs = $this->where(['userAccount'=>$data['userAccount'],'userStatus'=>1,...
SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #7 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'tushu.a.shipping_type' which is not functionally dependent on columns in GROUP BY clause; this is incompatibl
web 2 0
2062 0 2021-04-02 Mysql
网站没有问题,结果换了个电脑,可能是mysql从5.6升级到了5.7,就出现如下错误了。 SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #7 of SELECT list is not in GROUP BY clause and conta...
thinkphp5.1语法错误: unexpected 'Case' (T_CASE), expecting identifier (T_STRING)
web 0 0
2093 0 2021-03-17 ThinkPHP5.1
thinkphp5.1语法错误: unexpected 'Case' (T_CASE), expecting identifier (T_STRING) Case 是关键字,不可以拿来当控制器名
Uncaught SyntaxError: Unexpected identifier
web 1 0
1964 0 2021-02-03 JavaScript
chrome下运行编写的javascript代码时,在工具javascript控制台下有时会出现“Uncaught SyntaxError: Unexpected identifier ”的报错,经过我反复查看代码最后得出,原来是代码中缺少一个“,”(英文逗号)。 后经在网上查阅,也有文章指出,如果该异常出现在define里多半是因为你...
js 判断字符串中是否包含某个字符串
web 0 0
1509 0 2021-01-28 JavaScript
String对象的方法 方法一: indexOf()   (推荐) var str = "123"; console.log(str.indexOf("3") != -1 ); // true indexOf() 方法可返回某个指定的字符串值在字符串中首次出现的位置。如果要检索的字符串值没有出现,则该方...
syntax error, unexpected '['
web 0 0
1745 0 2019-12-09 ThinkPHP
版本:thinkphp3.2.3,php5.3.29 提示错误:syntax error, unexpected '[' 原因:使用了不符合php版本要求的,定义数组的方法。 官方对短数组语法的要求:自php5.4起,可以使用短数组定义语法,用[]替代array() 数组定义的正确使用方...
thinkphp错误:syntax error, unexpected 'list' (T_LIST), expecting identifier (T_STRING)
web 1 0
2797 0 2019-10-11 ThinkPHP
syntax error, unexpected 'list' (T_LIST), expecting identifier (T_STRING) 出现这个错误的原因是,list是php的一个函数,系统冲突了,改成别的名字就可以了
Parse error: syntax error, unexpected 'echo'
web 0 0
2277 0 2019-09-25 PHP
报错是因为echo输出时对双引号没有使用转义字符。正确的应该是: 第一种方法 echo "<input name=\"Sel\" type=\"radio\" value=\"".$Arr['ID']."\" />".$Arr['SName']."<br />"; 即是把要输出的双引号使用\"进行转义。 第二种方法...
Parse error: syntax error, unexpected T_CONST in D:\wwwroot\ThinkPHP\ThinkPHP.php
web 1 0
2112 0 2019-08-29 ThinkPHP
用的thinkphp3.2.3,想尝试一下如果php版本小于5.3会怎样,结果报错: Parse error: syntax error, unexpected T_CONST in D:\wwwroot\ThinkPHP\ThinkPHP.php on line 23 php版本升级到5.3就可以了啊
syntax error, unexpected ':', expecting ',' or ';'
taotaoit 2 0
3408 0 2019-08-25 ThinkPHP
thinkphp3.2.3中出现错误如下: syntax error, unexpected ':', expecting ',' or ';' 错误位置 FILE: E:\wamp64\www\app\Runtime\Cache\Home\2bc71d220ff77e6b12bf354b9e8a67ea.php &ems...
Notepad++设置左侧文件夹树结构?LightExplorer
web 0 0
4921 0 2019-05-14 Notepad++
LightExplorer.dll还是感觉不太好用,先记下来。 默认的文件夹工作区,还有Explorer感觉都不好用。 Notepad++设置左侧显示文件夹树结构?LightExplorer插件安装? 一、下载LightExplorer.dll插件,链接: https://pan.baidu.com/s/1OSj-V_PRR...
Parse error: syntax error, unexpected '$isSort' (T_VARIABLE) in
taotaoit 0 0
2303 0 2019-04-26 PHP
在网上复制一段代码,运行的时候提示错误: Parse error: syntax error, unexpected '$isSort' (T_VARIABLE) in F:\wamp\www\php20190214\index.php on line 4 是因为每行中很多特殊的空格,跟普通的空格不一样,只要选中一个空格,...
PHP字符串分割函数explode,strtok,str_split的用法
web 2 0
3335 0 2019-04-22 PHP
常用的PHP字符串分割函数主要有explode、strtok、str_split,主要用来拆分字符串,并以数组或字符串形式返回, 与这三个PHP字符串分隔函数相对应的,以分隔符连接拆分字符串的PHP字符串函数有implode、join,效果和explode正好相反, 另外join函数是implode函数的别名。 一、...
关于本站

“最难不过坚持”

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

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

6543162 2619 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)