Page 1 of 1

Disabling API in Version 3.0.2.0

Posted: Sun Feb 25, 2018 6:20 am
by suzukishoes
I’ve installed advanced booking and reservation but I’m returning the “ Warning: You do not have permission to access the API!”

I’ve tried all the usual system changes with no luck. I read somewhere this could be to do with https and I run on http as I don’t have a security certificate on my server. Is there anything I can change to get round this?
I’ve looked on the market place and can’t find a disable API for version 3

I’m at my googling wits end! Any help ?

Lee

Re: Disabling API in Version 3.0.2.0

Posted: Sun Feb 25, 2018 6:23 am
by straightlight
This extension may be useful: https://www.opencart.com/index.php?rout ... n_id=30437 . While this seem to be compatible with the v2.x releases of OC, you can use the Template Switcher extension for compatibility.

Re: Disabling API in Version 3.0.2.0

Posted: Sun Feb 25, 2018 6:28 am
by suzukishoes
Thank you can you explain to me the template switcher?

Re: Disabling API in Version 3.0.2.0

Posted: Sun Feb 25, 2018 6:33 am
by straightlight
Followed are the full details about the Template Switcher extension: https://www.opencart.com/index.php?rout ... n_id=31589

Re: Disabling API in Version 3.0.2.0

Posted: Sun Feb 25, 2018 6:47 am
by suzukishoes
Thanks for that. Do you think http / https is likely to be the cause of the error in the first place? (Just trying to improve my understanding)

Re: Disabling API in Version 3.0.2.0

Posted: Sun Feb 25, 2018 6:58 am
by straightlight
One way to find out is by disabling the API. Try before you buy.

Re: Disabling API in Version 3.0.2.0

Posted: Mon Feb 26, 2018 9:15 pm
by suzukishoes
I've installed the template switcher which was easy & straightforward but there are no install instructions on the disabling api checks. As this is for an older version I'm not sure what to do with it.
Where do I put the disable_api_checks.ocmod.xml file & how do I get it to do its stuff?

Regards

Lee

Re: Disabling API in Version 3.0.2.0

Posted: Mon Feb 26, 2018 9:28 pm
by suzukishoes
I've also just installed Integrated VQmod for OpenCart but still unsure how to get the file loaded (where) & how to get it running

Re: Disabling API in Version 3.0.2.0

Posted: Mon Feb 26, 2018 11:28 pm
by suzukishoes
I'm sorted now but for future reference to those trying to get round the api thing in version 3.0.3.0 install both items as suggested but do this to the disable_api_checks.ocmod.xml file.

1)change your xxx.xml file name to install.xml

2)archive the file as xxx.ocmod.zip.

3)go to extension->installer ,and upload it.