ECshop安装问题一解决:Strict Standards: Non-static method cls_image::gd_version() should not be called stati

在安装Ecshop 2.7.3版本的时候,遇到两个问题:

  1.Strict Standards: Non-static method cls_image::gd_version() should not be called statically in D:\X\www\ecshop\install\includes\lib_installer.php on line 31

  解决:找到include/cls_image.php中的678行,发现gd_version()方法未声明静态static,所以会出错。这时候只要:

  将function gd_version()改成static function gd_version()即可。

ECshop安装问题一解决:Strict Standards: Non-static method cls_image::gd_version() should not be called stati_第1张图片

你可能感兴趣的:(Ecshop)