日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程语言 > php >内容正文

php

ecmall支持php5.3,在PHP5.3以上版本运行ecshop和ecmall出现的问题及解决方案

發布時間:2024/1/23 php 38 豆豆
生活随笔 收集整理的這篇文章主要介紹了 ecmall支持php5.3,在PHP5.3以上版本运行ecshop和ecmall出现的问题及解决方案 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

ecshop

問題一:商城首頁報錯 Strict Standards: Only variables should be passed by reference in D:\wamp\ecshop\includes\cls_template.php on line 422

解決方法:

找到提示錯誤的文件?cls_template.php 及行號

把?$tag_sel = array_shift(explode(‘ ‘, $tag));

改成:$tag_arr = explode(‘ ‘, $tag);?$tag_sel = array_shift($tag_arr);

并且刪除?D:\wamp\www\ecshop\temp\caches下所有的文件

問題二:后臺首頁報錯 Strict Standards: Non-static method cls_image::gd_version() should not be called statically in?D:\wamp\www\ecshop\includes\lib_base.php?on line?346

解決辦法

找到D:\wamp\www\ecshop\includes\cls_image.php文件

搜索?function gd_version?改成?static function gd_version

問題三:后臺-商店設置

Strict Standards: mktime(): You should be using the time() function instead in?D:\wamp\www\ecshop\admin\sms_url.php?on line?31Strict Standards: mktime(): You should be using the time() function instead in?D:\wamp\www\ecshop\admin\shop_config.php?on line?32

解決辦法

根據錯誤提示 把?mktime()?改成?time()

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

ecmall

問題描述:打開商城首頁及后臺出現亂碼及以下一系列的錯誤信息

Strict Standards: Non-static method ECMall::startup() should not be called statically in?D:\wamp\www\ecmall\index.php?on line?22Deprecated: Assigning the return value of new by reference is deprecated in?D:\wamp\www\ecmall\eccore\controller\app.base.php?on line?141Deprecated: Assigning the return value of new by reference is deprecated in?D:\wamp\www\ecmall\includes\ecapp.base.php?on line?143Deprecated: Assigning the return value of new by reference is deprecated in?D:\wamp\www\ecmall\includes\ecapp.base.php?on line?149Strict Standards: Declaration of FrontendApp::jslang() should be compatible with ECBaseApp::jslang($lang) in?D:\wamp\www\ecmall\app\frontend.base.php?on line?365Strict Standards: Declaration of Message::display() should be compatible with FrontendApp::display($tpl) in?D:\wamp\www\ecmall\eccore\controller\message.base.php?on line?332

Strict Standards:Non-static method Conf::get() should not be called statically, assuming $this from incompatible context inD:\wamp\www\ecmall\app\frontend.base.phpon line?446

解決辦法

到ecmall安裝目錄下 找到?ecmall/eccore/ecmall.php

把?function get(?改成?static function get(

把?function startup(?給成?static?function startup(

到php安裝目錄下找到php.ini 把?error_reporting = E_ALL?改成?error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT?重啟服務

===========================================================

后臺:http://localhost/ecshop/admin

=============================================

1.

Fatal error: Call to undefined function curl_init() in........這種錯誤提示的解決辦法!

別急!首先得聲明,這是因為php的擴張函數沒有啟動,一樣重新啟動我們wamp

amp

================================================================

原文:http://www.cnblogs.com/vip-deng-vip/p/7536137.html

總結

以上是生活随笔為你收集整理的ecmall支持php5.3,在PHP5.3以上版本运行ecshop和ecmall出现的问题及解决方案的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。