我知道同樣的問題發佈在StackOverflow之前,但其中一些是用於其他版本,有些只是沒有工作。 問題:當我試圖改變在2.0.1.1版本Opencart的的狀態的順序,我得到=>OpenCart 2.0.1.1 SyntaxError:JSON.parse:JSON數據的第1行第1列的數據意外結束OK
SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data OK
有誰知道這背後的問題上Opencart的2.0.1.1的版本的真正原因。 謝謝你,新年快樂! 錯誤日誌=>
2017-01-01 12:44:22 - PHP Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/otagmusik.com/httpdocs/admin/controller/sale/order.php on line 1484
2017-01-01 12:44:22 - PHP Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/otagmusik.com/httpdocs/admin/controller/sale/order.php on line 1495
線1484是
if (substr(HTTPS_CATALOG, 0, 5) == 'https') {
線1495是
curl_setopt($curl, CURLOPT_URL, HTTPS_CATALOG . 'index.php?route=api/login');
opencart的全新安裝不存在這樣的問題,您是否更改過任何文件或安裝了任何模塊?還要檢查你的錯誤日誌。 – DigitCart
@Mojtaba Sabeti您好,我添加了與問題相關的錯誤日誌... – Otag