ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
### 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