1945浏覽量

Ecshop安裝過程中(zhōng)報錯Strict Standards: Non-static method cls_image::gd_version()

來源: 時間:2014-01-03

報錯提示:

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();

聯系我(wǒ)們

一(yī)次需求提交或許正是成就一(yī)個出色産品的開(kāi)始。
歡迎填寫表格或發送合作郵件至: qczsky@126.com

大(dà)理青橙科技

電(diàn)話(huà):13988578755 13988578755

郵箱:qczsky@126.com

地址:大(dà)理市下(xià)關龍都春天10層