I know the same problem was posted on StackOverflow before but some of them were for other versions and some just did not work. Problem: When I try to change the order of status on 2.0.1.1 version of opencart I get =>
SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data OK
Does anyone know the REAL reason behind this issue on version 2.0.1.1 of opencart. Thank you and a happy new year! Error Log=>
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
Line 1484 is
if (substr(HTTPS_CATALOG, 0, 5) == 'https') {
Line 1495 is
curl_setopt($curl, CURLOPT_URL, HTTPS_CATALOG . 'index.php?route=api/login');