Home  >  Article  >  Backend Development  >  ECSHOP安装出错,该如何处理

ECSHOP安装出错,该如何处理

WBOY
WBOYOriginal
2016-06-13 12:19:331126browse

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn