【www.bbyears.com--redis】
php大家用的版本不断提高,Ecshop没有来得及修改那么及时。
Ecshop安装出现
Only variables should be passed by reference
5.3以上版本的问题,应该也和配置有关 只要418行把这一句拆成两句就没有问题了
代码如下$tag_sel = array_shift(explode(" ", $tag));
改成:
$tag_arr = explode(" ", $tag); $tag_sel = array_shift($tag_arr);
(实验过,绝对可行) 因为array_shift的参数是引用传递的,5.3以上默认只能传递具体的变量,而不能通过函数返回值
修改
代码如下Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead...?
cls_template.php
$out = "