Post by straightlight » Thu Jul 14, 2016 2:38 am

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


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by labeshops » Thu Jul 14, 2016 8:55 am

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.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by straightlight » Thu Jul 14, 2016 6:16 pm

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


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by labeshops » Thu Jul 14, 2016 7:43 pm

straightlight 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.
I hope it fixes it and doesn't break anything else :P

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.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by labeshops » Thu Jul 28, 2016 8:02 pm

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!

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.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by mtjhost » Sun Aug 21, 2016 8:35 am

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.

New member

Posts

Joined
Wed Apr 30, 2014 12:37 am

Post by miketaylor » Fri Oct 21, 2016 9:29 pm

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']);
}*/

Newbie

Posts

Joined
Fri Oct 21, 2016 9:23 pm
Who is online

Users browsing this forum: No registered users and 13 guests