Search found 87 matches

Search found 87 matches

Re: Warning: You do not have permission to access the API!

Here is the solution from TheKrotek https://thekrotek.com/index.php?option=com_smartseller&task=download&format=raw&file=491 Credits to TheKrotek. Thank you for providing free tool. Thanks, I did discover all these hacks to basically disable the security checks. I ended up back-porting ...

Jump to post
  • Thu Nov 30, 2017 2:32 am
  • Replies 9
  • Views 4141
Re: Warning: You do not have permission to access the API!

v3.x releases offers different strategies to validate APIs compared to v2.x releases. I would suggest to upgrade at this point. I am staying on 2.3.0.2, I don't want all that cloud stuff. Can the session stuff in 3.x be back ported to 2.3.0.2? Not sure if it is a simple change or touches a lot of f...

Jump to post
  • Tue Nov 14, 2017 5:18 am
  • Replies 9
  • Views 4141
Re: Warning: You do not have permission to access the API!

See if this solution is working: http://forum.opencart.com/viewtopic.php?f=191&t=163542&p=622081&hilit=create+an+API&sid=136034b8b1c548518be1df56ccfc7b14#p622081 Also try this: https://github.com/opencart/opencart/pull/4353/files The solution at the first link didn't work and the Gi...

Jump to post
  • Tue Nov 14, 2017 5:13 am
  • Replies 9
  • Views 4141
Re: Warning: You do not have permission to access the API!

straightlight wrote:
Tue Nov 14, 2017 4:37 am
Followed is a solution to fix the API for v2.x releases: viewtopic.php?f=191&t=165865
I already have this fix and it still doesn't work. Any other thoughts in regards to this?

Jump to post
  • Tue Nov 14, 2017 5:00 am
  • Replies 9
  • Views 4141
Warning: You do not have permission to access the API!

I read for countless hours on this topic, specifically for version 2.3.0.2. Does anyone know a fix for this? It seems like the issue is that in catalog/controller/api/login.php : $this->session->data['api_id'] = $api_info['api_id']; Is correctly set for the session but when you print the session var...

Jump to post
  • Sat Oct 28, 2017 2:35 am
  • Replies 9
  • Views 4141
Re: Warning: You do not have permission to access the API!

I'm experiencing this issue as well after upgrading from 2.1.0.2 to 2.3.0.2. I read countless posts and couldn't find a fix. Anyone know what it is?

BTW, I have an API user and it is assigned under Options tab in Store Settings. This worked fine in 2.1.0.2

Jump to post
  • Fri Oct 27, 2017 8:57 am
  • Replies 13
  • Views 2374
Re: Route with dashes in URL

webcorvo wrote:
Thu Oct 26, 2017 12:00 am
on the config.php file you must have:

define('DIR_TEMPLATE', 'server_path/catalog/view/theme/');
That isn't the issue. I have that in my config.php file.

Jump to post
  • Thu Oct 26, 2017 12:08 am
  • Replies 4
  • Views 762
Re: Route with dashes in URL

Just in case anyone is interested in the fix for this. The following code (in a bunch of places) throws away the "dash". Just add the "-" to the regular expression and it will work. $route = preg_replace('/[^a-zA-Z0-9_\/]/', '', (string)$route); This isn't the complete solution b...

Jump to post
  • Wed Oct 25, 2017 11:43 pm
  • Replies 4
  • Views 762
Route with dashes in URL

I have been running OpenCart 2.1.0.2 for years and I am in the process of upgrading to version 2.3.0.2. I have successfully upgraded and I am slowly adding in all my extensions and theme. The only thing I have added back in so far is my custom theme. The issue I am seeing is that I have marketing pa...

Jump to post
  • Tue Oct 24, 2017 11:39 pm
  • Replies 4
  • Views 762
Re: Bootstrap Glyphicons font

Well, admin or not, it's still the same setup. But if you have no such Directory, just download the ZIP enclosed, and uploaded it, then, you'll have one to test! :D Ernie Thanks, I know how to fix it, really all I am asking if this is a bug. I looked at a bunch of OC versions and they are all the s...

Jump to post
  • Wed Oct 11, 2017 6:40 am
  • Replies 5
  • Views 3410
Re: Bootstrap Glyphicons font

Well, it takes the URL, based on it's own 'Position': /view/stylesheet/ bootstrap.css[/b] meaning, that ../fonts/ bootstrap/... would then be linked like: /view/fonts/ bootstrap/... But such Files with Glyphicons Stuff can be found anywhere, depending on Extensions installed, even FontAwesome Subs ...

Jump to post
  • Wed Oct 11, 2017 4:43 am
  • Replies 5
  • Views 3410
Bootstrap Glyphicons font

In the file admin/view/stylesheet/bootstrap.css you have this selector: @at-root { @font-face { font-family: 'Glyphicons Halflings'; src: url('../fonts/bootstrap/glyphicons-halflings-regular.eot'); src: url('../fonts/bootstrap/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), ur...

Jump to post
  • Wed Oct 11, 2017 1:06 am
  • Replies 5
  • Views 3410
Re: Order status shows a both

I'm seeing this as well in version 2.3.0.2. Anyone know of a fix?

Jump to post
  • Tue Oct 03, 2017 11:01 am
  • Replies 1
  • Views 861
Re: OC 2.3.0.3 problem with SMTP configuration

Most e-mail servers that use TLS use port 587. Try that port instead.

Jump to post
  • Sun Oct 01, 2017 1:58 am
  • Replies 1
  • Views 1484
Customer login dropdown menu clipped on multiple stores

This issue is only when you have multiple stores configured in OpenCart. On the admin side, when you filter on a customer name and the search results in one entry the "Login into Store" dropdown menu is clipped (see attached image) on a desktop browser but a scrollbar is added so you can c...

Jump to post
  • Sun Jan 15, 2017 12:11 am
  • Replies 0
  • Views 695
Re: Automatically create order from PHP code

So as soon as they enter the promo code, you want OpenCart to automatically set the order without checkout? Exactly, I see the addOrder() function and is all that I need to call or are there other functions that need to be called prior to that? And do you are anyone else have example code? I am com...

Jump to post
  • Sat Dec 10, 2016 1:50 am
  • Replies 3
  • Views 7591
Automatically create order from PHP code

My store sells phone and wireless plans. I have a 3rd party retailer that sells the phone with three months free service. When the buyer receives the phone they go to my store website and enters the IMEI # to apply the promo. This is all working. What I want to do is place an order using PHP code so...

Jump to post
  • Fri Dec 09, 2016 3:41 am
  • Replies 3
  • Views 7591
Re: OpenCart 2.3 Beta Available

Daniel wrote:I'm setting up opencart to able to run on the cloud.
How far out is the cloud solution to being production ready?

Jump to post
  • Sun Jul 24, 2016 11:25 pm
  • Replies 37
  • Views 32415
Re: Changes made to correct issues in OpenCart for v2.1.0.x

Randem wrote:The customer_activity table was never updated in the upgrade.
Okay, I just pulled a few lines of code from upgrade.php to fix it up. Figured I would bring it to your attention.

Jump to post
  • Tue Apr 26, 2016 8:41 pm
  • Replies 40
  • Views 9142
Re: Changes made to correct issues in OpenCart for v2.1.0.x

Okay I will check it out and let you know what comes of it. Thanks for all your help. I also noticed in the customer_activity table that the data column contained serialized text and that new entries that were added in 2.1.0.2 weren't. Was the upgrade script supposed to unserialize that data?

Jump to post
  • Sat Apr 23, 2016 6:11 am
  • Replies 40
  • Views 9142

Search found 87 matches