關於ECSHOP模板架設的伺服器php版本過高報錯的解決方案(二)

來源:互聯網
上載者:User

標籤:ready   調用   參數   意思   .com   config   int   ant   ace   

ECShop安裝之後,在後台發現一個錯誤,這個錯誤提示的意思:mktime()方法不帶參數被調用時,會被拋出一個報錯提示。

ECShop安裝之後,在後台發現一個錯誤提示:

Strict Standards: mktime(): You should be using the time() function instead in :\wamp\www\dqzhubao.com\shinamondadmin\sms_url.php on line 31

Strict standards: mktime(): You should be using the time() function instead in D:\wamp\www\dqzhubao.com\shinamondadmin\shop_config.php on line 33

這個錯誤提示的意思:mktime()方法不帶參數被調用時,會被拋出一個報錯提示。

找到檔案第31行:

$auth = mktime();

將mktime()替換成time()方法,代碼為:

$auth = time();

ECShop後台介面設定時候會出現一個錯誤  Notice: Constant IN_ECS already defined in D:\wamp\www\dqzhubao.com\shinamondadmin\editor\index_module_xn.php on line 3

找到檔案開啟發現define(‘IN_ECS‘, true);刪除一個就可以解決當前這個問題了

關於ECSHOP模板架設的伺服器php版本過高報錯的解決方案(二)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.