Post by PipB » Thu Aug 11, 2016 3:40 pm

Thanks LuboUzunov!!! It's great!
The Bug Fixes for 2.1.* solved the problem not possible to edit orders when SSL is turned on.

LuboUzunov solution you can find it here:
http://www.opencart.com/index.php?route ... =42&page=7

I solved the error, now I can edit an order AND save it.

When opening an order:
I did have in Firefox:
[Exception... "<no message>" nsresult: "0x805e0006 (<unknown>)" location: "JS frame :: https://flowcentre.co.uk/admin/view/jav ... 1.1.min.js :: .send :: line 4" data: no]
And in IE: Error: Access is denied. undefined

Newbie

Posts

Joined
Thu Aug 11, 2016 3:28 pm

Post by PipB » Thu Aug 11, 2016 4:24 pm

Maybe this solve the problem:
http://www.opencart.com/index.php?route ... =42&page=7

My did

Newbie

Posts

Joined
Thu Aug 11, 2016 3:28 pm

Post by straightlight » Thu Aug 11, 2016 7:46 pm

Take note that using OCMod and VQMod for bugfixes is not a recommended solution: http://forum.opencart.com/viewtopic.php?f=191&t=165826

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 xseon » Wed Nov 16, 2016 5:28 pm

The problem with "Error: Undefined" seems to be fixed in OC 2.3, so just apply the solution from there:
1. Open /admin/controller/sale/order.php
2. Find the following:

Code: Select all

			$data['store_url'] = $this->request->server['HTTPS'] ? str_replace("http", "https", $order_info['store_url']) : $order_info['store_url'];
3. Replace it with:

Code: Select all

			if ($order_info['store_id'] == 0) {
				$data['store_url'] = $this->request->server['HTTPS'] ? HTTPS_CATALOG : HTTP_CATALOG;
			} else {
				$data['store_url'] = $order_info['store_url'];
			}
4. Save.

This handles all redirection issues like SSL or non-www to www.

Deeper and Better Category Module
Mass Product Price Change


User avatar
New member

Posts

Joined
Thu Dec 01, 2011 3:04 pm
Location - Bulgaria
Who is online

Users browsing this forum: No registered users and 4 guests