ECShop可以說是比較早的電商程序了,那個時候的運行環境在PHP 5.3及其以下版本。不過目前流行的都是PHP 5.4版本,所以安裝后運行就出現了一些小的錯誤。
比如:
Strict Standards: Only variables should be passed by reference in E:/web/shopex/includes/cls_template.php on line 422
解決的辦法:
只要422行把這一句拆成兩句就沒有問題了:
$tag_sel = array_shift(explode(' ', $tag));
改成:
$tag_arr = explode(' ', $tag); $tag_sel = array_shift($tag_arr);
新聞熱點
疑難解答