解决Strict Standards: Only variables should be passed by reference in C:\Apache24\htdocs\ecshop\in
下一篇:很抱歉没有了
Strict Standards: Only variables should be passed by reference in C:\Apache24\htdocs\ecshop\includes\cls_template.php on line 422
问题语句:$tag_sel = array_shift(explode(' ', $tag));
解决方法如下:
5.3以上版本的问题,应该也和配置有关 只要406行把这一句拆成两句就没有问题了
$tag_sel = array_shift(explode(' ', $tag));
改成:
$tag_arr = explode(' ', $tag); $tag_sel = array_shift($tag_arr);
因为array_shift的参数是引用传递的,5.3以上默认只能传递具体的变量,而不能通过函数返回值
来源://作者:/更新时间:2014-02-18
顶
踩
相关文章:
- 安装ecshop出错,Strict Standards: Non-static,Only v
- Ecshop系统去掉标题后的Powered by Ecshop方法[ecshop
- ecshop中标签的写法 [ecshop优化]
- ecshop商品详情页标题 [ecshop优化]
- ecshop Url静态化修改说明[ecshop开发教程]
- ecshopSEO案例之 手机优化记录[ecshop开发教程]
- ecshop模板中lbi和dwt文件的关系[ecshop基础教程]
- ecshop后台密码忘记了怎么办?[ecshop基础教程]
- 1.ecshop首页调用文章分类思路及方法 [ecshop基础教程
- ecshop文章自动发布[ecshop帮助文档]
最新文章
新热推荐
- 解决Strict Standards: Only variables should be passed by reference in C:\Apache24\htdocs\ecshop\in
- 解决Strict Standards: Non-static method cls_image::gd_version() should not be called statically in ecs
- 解决Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in D:
- 解决Warning: mkdir() [function.mkdir]: No such file or directory in install/includes/lib_installer.php
- ecshop文章自动发布[ecshop帮助文档]