報錯提示:
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中(zhōng)的第31行 return cls_image::gd_version();然後在找到include/cls_image.php中(zhōng)的678行,發現gd_version()方法未聲明靜态static,所以會出錯。這時候隻要:
1)将function gd_version()改成static function gd_version()即可。
2)或者将install/includes/lib_installer.php中(zhōng)的第31行return cls_image::gd_version();改成:
$p = new cls_image(); return $p->gd_version();
下(xià)一(yī)篇 Ecshop安裝過程默認時區問題解決
上一(yī)篇: Ecshop安裝過程中(zhōng)報錯提示不支持JPEG的解決辦法