探索,發現,愛好、學習,記錄,分享。
學海無涯,天涯若比鄰,三人行,必有我師。

ECSHOP在PHP版本5.3及以上版本出问题的解决办法

1、安装时出错Strict Standards: Non-static method cls_image::gd_version() should not be called statically in D:\amp\www\ecshop\install\includes\lib_installer.php on line 31

解决方法:

将install/includes/lib_installer.php中的第31行return cls_image::gd_version();改成:
$p = new cls_image();
return $p->gd_version();
 
2、安装Ecshop后首页出现报错:
Strict Standards: Only variables should be passed by reference in D:\wamp\ecshop\includes\cls_template.php on line 418
解决方法:
$tag_sel = array_shift(explode(‘ ‘, $tag));
改成:
$tag_arr = explode(‘ ‘, $tag); 
$tag_sel = array_shift($tag_arr); 

版權聲明:本文采用知識共享 署名4.0國際許可協議 [BY-NC-SA] 進行授權
轉載事宜:如需轉載需徵得應允,轉載必須注明來源於本站的信息。
文章名称:《ECSHOP在PHP版本5.3及以上版本出问题的解决办法》
文章链接:https://www.thefreesky.com/blog/19561.html
本站資源僅供個人學習交流,請於下載後24小時內刪除,不允許用於商業用途,否則法律問題自行承擔。

評論 抢沙发