ecshop在PHP版本 5.3及以上版本出问题的解决办法
《一》、安装时出错Strict Standards: Non-static method cls_image::gd_version() should not be called statically in D:/amp/www/ecshop/install/includes/lib_installer.php on line 31
解决方法:
将install/includes/lib_installer.php中的第31行return cls_image::gd_version();改成:
$p = new cls_image();
return $p->gd_version();
ecshop在PHP版本 5.3及以上版本出问题的解决办法
《二》、安装Ecshop后首页出现报错:
Strict Standards: Only variables should be passed by reference in D:/wamp/ecshop/includes/cls_template.php on line 418
解决方法:
$tag_sel = array_shift(explode(' ', $tag));
改成:
$tag_arr = explode(' ', $tag);
$tag_sel = array_shift($tag_arr);
新闻热点
疑难解答