Opencart V2.2.0
I've installed SSL for my site (which was a pain in the a.. to get to work). Now it's finally working but i get to see an error when opening an order in admin.
In internet explorer it shows "access denied, undefined error". In firefox it's simply "network error".
From other posts i gathered it's a problem with the API / SSL? And there seems to be no definite fix for it?
I've spent a lot of hours on fixing so many things in v2.2 so upgrading to 2.3 is not an option at this moment, i fear it will break things and i do not have the time to be bothered with that now.
I need to have it fixed in 2.2, is it possible?
Thanks
I like to recall on your help again guys, i tried almost everything that has been suggested in other threads but nothing has worked so far.
Again, if someone knows how to fix this then i'd be more than happy to pay for your services.
Thanks!
Again, if someone knows how to fix this then i'd be more than happy to pay for your services.
Thanks!
I'd be happy to look at this for you, please raise a support ticket on my website with details, www.sculptex.co.uk
You didn't like my security restrictions remember.
Anyway, i've fixed the problem thanks to an older post on the forum from VictorJ.
For anyone interested or having the same problem:
I quote;
open file admin/controller/sale/order.php
find line 850
Code: Select all
Code: Select all
Anyway, i've fixed the problem thanks to an older post on the forum from VictorJ.
For anyone interested or having the same problem:
I quote;
open file admin/controller/sale/order.php
find line 850
Code: Select all
change to$data['store_url'] = $this->request->server['HTTPS'] ? str_replace("http", "https", $order_info['store_url']) : $order_info['store_url'];
Code: Select all
This fixes the faulty call in ajax.$data['store_url'] = $this->request->server['HTTPS'] ? preg_replace("/^http:\/\//", "https://", $order_info['store_url']) : $order_info['store_url'];
I posted this before you started that other thread and when I replied to that I didn't realize you were the same poster (or I might have taken offence!)
Anyway, thanks for sharing your solution, hopefully a mod will mark this as solved now.
Thanks, i was having the same problem, your fix worked great.Xerobia wrote: ↑Sun May 28, 2017 7:21 pmYou didn't like my security restrictions remember.
Anyway, i've fixed the problem thanks to an older post on the forum from VictorJ.
For anyone interested or having the same problem:
I quote;
open file admin/controller/sale/order.php
find line 850
Code: Select allchange to$data['store_url'] = $this->request->server['HTTPS'] ? str_replace("http", "https", $order_info['store_url']) : $order_info['store_url'];
Code: Select allThis fixes the faulty call in ajax.$data['store_url'] = $this->request->server['HTTPS'] ? preg_replace("/^http:\/\//", "https://", $order_info['store_url']) : $order_info['store_url'];
Hi,Xerobia wrote: ↑Sun May 28, 2017 7:21 pmYou didn't like my security restrictions remember.
Anyway, i've fixed the problem thanks to an older post on the forum from VictorJ.
For anyone interested or having the same problem:
I quote;
open file admin/controller/sale/order.php
find line 850
Code: Select allchange to$data['store_url'] = $this->request->server['HTTPS'] ? str_replace("http", "https", $order_info['store_url']) : $order_info['store_url'];
Code: Select allThis fixes the faulty call in ajax.$data['store_url'] = $this->request->server['HTTPS'] ? preg_replace("/^http:\/\//", "https://", $order_info['store_url']) : $order_info['store_url'];
I have same problem but my opencart version is 2.1.0.1.
I was finde line 850 in the admin/controller/sale/order.php but not same line of you.
On 2.1.0.1 version, line 850 is like this:
$data['order_id'] = $this->request->get['order_id'];
How can I fix this problem on 2.1.0.1. Please help me...
Who is online
Users browsing this forum: No registered users and 288 guests