Post by Tulip » Sun Oct 08, 2017 11:08 pm

VERSION 2.1.0.1

When I try to view or add order history, I get a pop up that says "Error Undefined".....I cannot add history.

That's IT. I look in the logs and find nothing. I look in the server logs, nothing.
(Log Errors is turned on)

There has to be some way to see what the heck this means?

New member

Posts

Joined
Sun Nov 15, 2015 10:59 am

Post by bumcarks » Wed Oct 11, 2017 1:41 am

Please check API Key added in admin->sysytem->users->api if not then generate new and add in admin->system->setting under server tab

New member

Posts

Joined
Sun Oct 01, 2017 5:34 pm


Post by Tulip » Wed Oct 11, 2017 2:46 am

Thanks BunCakes.
I tried that many times.

What finally, actually worked was this......

In admin/controller/sale/order.php Find this line:

$data['store_url'] = $order_info['store_url'];

You'll notice it pulls the url from the order, and not from your browsing context.
I'm not sure if I'm over riding some other functionality, but I added this:

$data['store_url'] = $order_info['store_url'];
# add the following
if( isset($_SERVER['HTTPS'] ) ) {
$data['store_url'] = str_replace('http://','https://',$data['store_url']);
}


Found in this thread......
viewtopic.php?f=191&t=153203

New member

Posts

Joined
Sun Nov 15, 2015 10:59 am
Who is online

Users browsing this forum: Bing [Bot] and 42 guests