排除万难,安装完成了ecshop后,打开前台和后台都会有如下错误提示:
Strict Standards: Only variables should be passed by reference in D:\webroot\meyki.com.cn\includes\cls_template.php on line 418
查看对应部分的代码为
$tag_sel = array_shift(explode(‘ ‘, $tag));
将这一句代码拆为两句即可(貌似在php5.4中array_shift只能为变量,不能是函数返回值)
$tag_arr = explode(‘ ‘, $tag);
$tag_sel = array_shift($tag_arr);
联系客服