Post by Gobbo » Mon Mar 12, 2018 5:56 am

Hi,

Admin won't allow ne to update my settings, as it says 'Warning: You do not have permission to modify settings!'.

Is this due to having a SP which only use dynamic IPs?

If so is there a fix for this?

Using opencart version 2.1.0.2


Active Member

Posts

Joined
Tue Jun 22, 2010 12:38 am

Post by thekrotek » Mon Mar 12, 2018 6:40 am

This question was asked god knows how many times. Search by error message to find the solution. In the future search first, ask later.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Active Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by IP_CAM » Mon Mar 12, 2018 8:32 am

...and always check, if possibly some Modification already exists.
You could try out one of those... ;)
Ernie
---
Disable API checks
OpenCart API can cause you a lot of pain with different error messages like "Warning: You do not have
permission to access the API!" or "Warning: Your IP is not allowed to access this API!". If your IP-address
changes frequently, these messages can drive you mad. This little extension removes both session and
IP-address checks for API to make your life a little easier.
NOTE: By removing API security checks you can make your OpenCart API vulnerable!
https://www.opencart.com/index.php?rout ... n_id=30437
---
Fix permission to access the API error
https://www.opencart.com/index.php?rout ... n_id=28614
---

Ernie's OpenCart v.1.5.6.5 LIGHT + V-Pro + OpenShop Admin v.1.75 Test Sites
http://www.bigmax.ch - http://www.opencart.li/shop/
Image


User avatar
Guru Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by Gobbo » Tue Mar 13, 2018 9:41 pm

Thanks for your help on this matter.

I had to put in an extension to disable the API request.

What does the API stop if it was enabled?

Using opencart version 2.1.0.2


Active Member

Posts

Joined
Tue Jun 22, 2010 12:38 am

Post by straightlight » Tue Mar 13, 2018 10:09 pm

What does the API stop if it was enabled?
The API prevents unauthorized access to add, edit or remove any transactions from your catalog/controller/api folder by default by using a backward compatibility method. By disabling the API checks, you may also create security holes without realizing it.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member

Posts

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

Post by Gobbo » Wed Mar 14, 2018 9:23 pm

Okay, but I don't think there is anyway around this unless I change ISP? Which supply's a static IP address.

How would I go back to using the API if I have already used up the IP place holders?

Using opencart version 2.1.0.2


Active Member

Posts

Joined
Tue Jun 22, 2010 12:38 am

Post by straightlight » Wed Mar 14, 2018 9:25 pm

The IP addresses must remain static in the first place. Merchant-based solutions do not usually involve using dynamic IP addresses when managing a store.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member

Posts

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

Post by xairflyer » Sat Apr 07, 2018 7:38 am

I have installed the extension and it is showing in my modifications as enabled and worked the day I installed it but when I came back to it few days later I still get the api error message

New member

Posts

Joined
Sun Jan 11, 2015 8:58 am

Post by straightlight » Sat Apr 07, 2018 9:34 pm

Then your API address is dynamic rather than static.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Legendary Member

Posts

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

Post by xairflyer » Mon Apr 09, 2018 6:55 pm

straightlight wrote:
Sat Apr 07, 2018 9:34 pm
Then your API address is dynamic rather than static.
Ok so as long as I just update each time its ok, but ideally I want a static ip

New member

Posts

Joined
Sun Jan 11, 2015 8:58 am
Who is online

Users browsing this forum: No registered users and 28 guests