After commenting out this block of code above, did you checked to ensure you still have the permission access from the user groups to access the orders?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Yes. I can access orders, generate invoice numbers and everything other than changing the order status or add a comment to order history.
Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
This would be part of the bugs in the API for v2.2 and below. The beta release of v2.3 of Opencart fixes this issue which is not about dynamic or static IP on that end.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I hope it fixes it and doesn't break anything elsestraightlight wrote:This would be part of the bugs in the API for v2.2 and below. The beta release of v2.3 of Opencart fixes this issue which is not about dynamic or static IP on that end.

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
What finally fixed it for me was http://forum.opencart.com/viewtopic.php ... 12#p630942
Not sure why, but it lets me change order status again!
Not sure why, but it lets me change order status again!
Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
I also having the same issue.
When I try to update the status and comment over an order it returns the message - Warning: You do not have permission to access the API. Any module or extension is there in Opencart store?
We wish to install the solution for above bug fix. My Internet IP changes every time I connect. Hope to get any solution soon.
When I try to update the status and comment over an order it returns the message - Warning: You do not have permission to access the API. Any module or extension is there in Opencart store?
We wish to install the solution for above bug fix. My Internet IP changes every time I connect. Hope to get any solution soon.
i, I have same problem.... still no solution?
not working this in opencart version 2.2.0.0
if (!in_array($this->request->server['REMOTE_ADDR'], $ip_data)) {
$json['error']['ip'] = sprintf($this->language->get('error_ip'), $this->request->server['REMOTE_ADDR']);
}
/*if (!in_array($this->request->server['REMOTE_ADDR'], $ip_data)) {
$json['error']['ip'] = sprintf($this->language->get('error_ip'), $this->request->server['REMOTE_ADDR']);
}*/
not working this in opencart version 2.2.0.0
if (!in_array($this->request->server['REMOTE_ADDR'], $ip_data)) {
$json['error']['ip'] = sprintf($this->language->get('error_ip'), $this->request->server['REMOTE_ADDR']);
}
/*if (!in_array($this->request->server['REMOTE_ADDR'], $ip_data)) {
$json['error']['ip'] = sprintf($this->language->get('error_ip'), $this->request->server['REMOTE_ADDR']);
}*/
Who is online
Users browsing this forum: No registered users and 12 guests