安装ECSHOP错误,Strict Standards: Only variables should be passed by reference
2014-10-07 11:31
387 查看
环境:php5.4 + mysql 5.5
错误警告:Strict Standards: Only variables should be passed by reference in D:\www\Apache2.2\htdocs\ecshop\includes\cls_template.php on line 418
找到418行代码:$tag_sel = array_shift(explode(' ', $tag));
--------------------------------------------------------
解决办法:将该行代码分开写成两行即可
$tag_arr = explode(' ',$tag);
$tag_sel = array_shift($tag_arr);
错误警告:Strict Standards: Only variables should be passed by reference in D:\www\Apache2.2\htdocs\ecshop\includes\cls_template.php on line 418
找到418行代码:$tag_sel = array_shift(explode(' ', $tag));
--------------------------------------------------------
解决办法:将该行代码分开写成两行即可
$tag_arr = explode(' ',$tag);
$tag_sel = array_shift($tag_arr);
![](http://img9.ph.126.net/Y2NOpyTb4ZyPiUdt6NFEAA==/6597748165330908879.jpg)
相关文章推荐
- Ecshop安装过程中 出现Strict standards: Only variables should be passed by reference in D:\xxx\www\ECShop
- 安装 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的解决方法
- php错误: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 flashplay.php on line 181
- 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
- Strict Standards: Only variables should be passed by reference in
- PHP程序报错Strict Standards: Only variables should be passed by reference in
- In bugfree, 解决Strict Standards: Only variables should be passed by reference in FuncModel.inc.php
- 函数套着用就提示:Strict Standards: Only variables should be passed by reference
- php中出现Strict Standards: Only variables should be passed by reference in的解决方法
- 解决Strict Standards: Only variables should be passed by reference
- 解决Strict Standards: Only variables should be passed by reference
- php 出现Strict Standards: Only variables should be passed by reference in的解决方法