ecshop的几个小瑕疵
生活随笔
收集整理的這篇文章主要介紹了
ecshop的几个小瑕疵
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
在安裝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的几个小瑕疵的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Memcached初探
- 下一篇: 2014.11 总结