I went through the whole upgrade process from Opencart 1.4.x to 1.5.x to 2.0.1 and after following all the instructions in the upgrade documentation, everything seems to be ok except for the fact that I can't modify order statuses or change customer orders in any way shape or form. when i go to edit an order, all of the modules are grayed out, and no matter what i click i get an error message saying
SyntaxError: JSON Parse error: Unrecognized token '<'
OK
<b>Notice</b>: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in <b>/home/content/96/7448396/html/admin/controller/sale/order.php</b> on line <b>2441</b>
Make sure that the /admin/config.php file has the following line
Code: Select all
define('HTTPS_CATALOG', 'https://<your domain>/');
the https was missing in the admin config, however that doesn't solve the problem.... I still get
SyntaxError: JSON Parse error: Unrecognized token '<'
OK
<b>Notice</b>: Undefined variable: json in <b>/home/content/96/7448396/html/admin/controller/sale/order.php</b> on line <b>2221</b>
SyntaxError: JSON Parse error: Unrecognized token '<'
OK
<b>Notice</b>: Undefined variable: json in <b>/home/content/96/7448396/html/admin/controller/sale/order.php</b> on line <b>2221</b>
I don't think it has been upgraded properly.
Make sure there is an API user here
And it is also selected here:
Make sure there is an API user here
Code: Select all
System -> Users -> API
Code: Select all
System -> Settings -> Your store -> Option -> API user
There are 2 reasons this happens...KineticConsulting wrote:the https was missing in the admin config, however that doesn't solve the problem.... I still get
SyntaxError: JSON Parse error: Unrecognized token '<'
OK
<b>Notice</b>: Undefined variable: json in <b>/home/content/96/7448396/html/admin/controller/sale/order.php</b> on line <b>2221</b>
1. If you didn't add an API user like deepvision mentioned.
2. Your host disabled HTTP Loopback on your site and you need to use this work around:
http://forum.opencart.com/viewtopic.php?f=2&t=146714
ok i have verified there is an api user added and selected for my store, and also uploaded vqmod, and the loopback script, and I am still having the same problem. any further suggestions?
@deepvision
When I go to system>users>api
I dont see any users
ERROR LOG
2015-07-24 2:35:17 - PHP Notice: Undefined variable: json in /home/public_html/admin/controller/sale/order.php on line 2490
2015-07-24 2:35:29 - PHP Notice: Undefined variable: json in /home/public_html/admin/controller/sale/order.php on line 2490
When I go to system>users>api
I dont see any users
ERROR LOG
2015-07-24 2:35:17 - PHP Notice: Undefined variable: json in /home/public_html/admin/controller/sale/order.php on line 2490
2015-07-24 2:35:29 - PHP Notice: Undefined variable: json in /home/public_html/admin/controller/sale/order.php on line 2490
Who is online
Users browsing this forum: darkhorse and 71 guests