Ecshop提示Only variables should be passed by reference in错误
来源:互联网 发布:sql和db2 编辑:程序博客网 时间:2024/04/29 12:35
在安装好ecshop软件之后我们打开首页时提示Only variables should be passed by reference in错误了,碰到这个问题是什么原因呢?下面我们就一起来看看解决办法吧。
Ecshop是个坑爹货,为什么tiandi会说它是个坑爹货呢,请看一下下面的官方的运行环境推荐:
服务器端运行环境推荐
·php版本5.0以上5.3以下的版本(推荐使用5.2系列版本)
·Mysql版本5.0及以上
·空间安装zend
·空间支持文件锁功能
·开启GD功能
·Mysql函数支持mbstring、iconv、fsockopen
看见了吧,PHP5.3以下的版本,还推荐使用5.2的,尼妹的,现在哪个虚拟机还敢用5.3以下的版本?还在用5.3以下的版本?看看tiandi用的2两个主机,衡天的和wopus的都是5.3.28,至于为什么不用5.3以下的版本,自己google”php内存泄露”。
Ecshop上个月刚更新了最新版本,写代码的思路依旧坚挺,仍旧使用5.2版本,好吧,为了做一些测试,需要在本机上进行调试,但本机上装了wp3.9,忘了从哪个版本开始wp只支持5.3以上的php,所以本机的PHP环境是5.4.13。起先,做了两个批处理来切换php5.2.1和php5.4.13,然后发觉一直用批处理切换也累啊,索性直接5.4.13上跑ecshop看看哪里有问题就改哪里吧,结果泥煤的首页直接来个错误。
Strict Standards: Only variables should be passed by reference in D:\tiandiyoyo\hengtian\ecshop\upload\includes\cls_template.php on line 424
不淡定了,打开cls_template.php,定位到424行,发现下面内容:
代码如下复制代码$tag_sel = array_shift(explode(' ', $tag));
将其注释掉,分别拆开,添加两行
代码如下复制代码$tag_tmp = (explode(' ', $tag));
$tag_sel = array_shift($tag_tmp);
//$tag_sel = array_shift(explode(' ', $tag));
- Ecshop提示Only variables should be passed by reference in错误
- Ecshop提示Only variables should be passed by reference in错误
- ecshop Strict standards: Only variables should be passed by reference in flashplay.php on line 181
- ECShop出现Strict Standards: Only variables should be passed by reference in的解决方法
- ecshop二次开发: Only variables should be passed by reference in的解决
- ECShop出现Strict Standards: Only variables should be passed by reference in的解决方法
- ECshop Strict Standards: Only variables should be passed by reference in
- 安装 ecshop后报错 Strict standards: Only variables should be passed by reference in
- ECshop Strict Standards: Only variables should be passed by reference in解决办法
- ecshop报错Strict Standards: Only variables should be passed by reference in 怎么解决
- 安装ECSHOP错误,Strict Standards: Only variables should be passed by reference
- Strict Standards: Only variables should be passed by reference in
- only variables should be passed by reference in,原因
- php错误:Strict Standards: Only variables should be passed by reference in
- Ecshop安装过程中 出现Strict standards: Only variables should be passed by reference in D:\xxx\www\ECShop
- 解决Strict Standards: Only variables should be passed by reference
- In bugfree, 解决Strict Standards: Only variables should be passed by reference in FuncModel.inc.php
- 函数套着用就提示:Strict Standards: Only variables should be passed by reference
- Android - ViewPager + Fragment 实现仿微信界面
- 情感分析——《Hierarchical emotion classification and emotion component ...》 2015-12-02
- ASCII码表及扩展ASCII码表
- Android Manifest标签之manifest,meta-data,path-permission,permission
- iOS 游戏渠道SDK 抽象工程封装(下)
- Ecshop提示Only variables should be passed by reference in错误
- slam数据集整合
- NGUI的UIScrollview的实现原理
- 关键字static有一段不寻常的历史。
- Linux-CentOS 解决Deviceeth0 does not seem to be present
- 【Leetcode】Move Zeroes
- 冒泡算法和简易桶排序算法实现
- easyui datagrid 去掉 全选checkbox
- 关于oracle采用pivot函数列转行后一些列的值为null处理