当前位置:Gxlcms > PHP教程 > ECSHOP安装出错,该如何处理

ECSHOP安装出错,该如何处理

时间:2021-07-01 10:21:17 帮助过:25人阅读

ECSHOP安装出错
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in F:\1Ndown\phpDemo\upload\includes\cls_template.php on line 300

Strict Standards: Only variables should be passed by reference in F:\1Ndown\phpDemo\upload\includes\cls_template.php on line 422

基本出现这两个错误

F:\1Ndown\phpDemo\upload\includes\cls_template.php on line 422:
422行语句: $tag_sel = array_shift(explode(' ', $tag));(有人说是php版本版本太高了,不支持)

$tag_sel = array_shift(explode(' ', $tag));
  改成:
  $tag_arr = explode(' ', $tag);
  $tag_sel = array_shift($tag_arr);
//改完后,还是不行,求大神帮忙
------解决思路----------------------
php和apache版本太高了 试下php5.2 apache2.2

人气教程排行