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

wKiom1Qk1FijQH5WAAR3JP6z9B0631.jpg

Strict Standards: Non-static method cls_image::gd_version() should not be called statically in E:\xampp\htdocs\ECShop_V2.7.3_UTF8_release1106\upload\includes\lib_base.php on line 346

Strict Standards: Non-static method cls_image::gd_version() should not be called statically in E:\xampp\htdocs\ECShop_V2.7.3_UTF8_release1106\upload\includes\lib_base.php on line 346

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in E:\xampp\htdocs\ECShop_V2.7.3_UTF8_release1106\upload\includes\cls_template.php on line 300

Strict Standards: Only variables should be passed by reference in E:\xampp\htdocs\ECShop_V2.7.3_UTF8_release1106\upload\includes\cls_template.php on line 422

Strict Standards: Only variables should be passed by reference in E:\xampp\htdocs\ECShop_V2.7.3_UTF8_release1106\upload\includes\cls_template.php on line 422

Strict Standards: Only variables should be passed by reference in E:\xampp\htdocs\ECShop_V2.7.3_UTF8_release1106\upload\includes\cls_template.php on line 422

Strict Standards: Only variables should be passed by reference in E:\xampp\htdocs\ECShop_V2.7.3_UTF8_release1106\upload\includes\cls_template.php on line 422

Strict Standards: Only variables should be passed by reference in E:\xampp\htdocs\ECShop_V2.7.3_UTF8_release1106\upload\includes\cls_template.php on line 422

Strict Standards: Only variables should be passed by reference in E:\xampp\htdocs\ECShop_V2.7.3_UTF8_release1106\upload\includes\cls_template.php on line 422

Strict Standards: Only variables should be passed by reference in E:\xampp\htdocs\ECShop_V2.7.3_UTF8_release1106\upload\includes\cls_template.php on line 422


 



解决:找到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()即可。

你可能感兴趣的:(安装,ecshop)