Post by 8pmshop » Tue Oct 11, 2016 10:33 pm

view order shows error and undefined.


also unable to Add history on this page, will show the exactly same problem.

User avatar
New member

Posts

Joined
Sat Oct 08, 2016 11:27 pm
Location - new york

Post by victorj » Wed Oct 12, 2016 5:13 am

there is a error in order edit

open file admin/controller/sale/order.php

find line 850

Code: Select all

$data['store_url'] = $this->request->server['HTTPS'] ? str_replace("http", "https", $order_info['store_url']) : $order_info['store_url'];
change to

Code: Select all

$data['store_url'] = $this->request->server['HTTPS'] ? preg_replace("/^http:\/\//", "https://", $order_info['store_url']) : $order_info['store_url'];

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by 8pmshop » Wed Oct 12, 2016 5:34 am

thx a lot.


I just find another answer in github and works.


add $data['store_url'] = str_replace("httpss://", "https://", $data['store_url']); below $data['store_url'] = $this->request->server['HTTPS'] ? str_replace("http", "https", $order_info['store_url']) : $order_info['store_url'];

User avatar
New member

Posts

Joined
Sat Oct 08, 2016 11:27 pm
Location - new york
Who is online

Users browsing this forum: No registered users and 21 guests