关于我们

质量为本、客户为根、勇于拼搏、务实创新

< 返回新闻公共列表

ecShop php5.3升级5.6遇到问题汇总

发布时间:2019-09-12 21:52:31

Ecshop安装过程中的的问题:cls_image::gd_version()和不支持JPEG

在安装Ecshop的时候,遇到两个问题:
  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
  解决:找到install/includes/lib_installer.php中的第31行   return cls_image::gd_version();然后在找到include/cls_image.php中的678行,发现gd_version()方法未声明静态static,所以会出错。这时候只要:
  1)将function gd_version()改成static function gd_version()即可。
  2)或者将install/includes/lib_installer.php中的第31行return cls_image::gd_version();改成:

~~~$p = new cls_image();return $p->gd_version();~~~

Ecshop升级php5.6的几个错误

http://www.baishujun.com/archives/3465.html



/template/Home/Zkeys/PC/Static