報(bào)錯(cuò)提示:
Strict Standards: Non-static method cls_image::gd_version() should not be called statically in D:Xwwwecshopinstallincludeslib_installer.php on line 31
解決:找到install/includes/lib_installer.php中的第31行 return cls_image::gd_version();然后在找到include/cls_image.php中的678行,發(fā)現(xiàn)gd_version()方法未聲明靜態(tài)static,所以會(huì)出錯(cuò)。這時(shí)候只要:
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();