Post by Randem » Sat Jan 16, 2016 8:32 am

I get this response header when I attempt to edit a certain order (this was a converted store v1.5.6.4). As you can see it is attempting to access an incorrectly formatted host (blaxtonjames.comindex.php). blaxtonjames.com is the store where the order originated. All I was attempting to do was access the order. I had to create an API user for this store (I don't understand why) to eliminate another error. The route it is attempting to access is api/login. Is this attempting to login to the other store?

Code: Select all

Accept	
application/json, text/javascript, */*; q=0.01
Accept-Encoding	
gzip, deflate
Accept-Language	
en-US,en;q=0.5
Content-Length	
260
Content-Type	
application/x-www-form-urlencoded; charset=UTF-8
DNT	
1
Host	
blaxtonjames.comindex.php
Origin	
https://randemsystems.com
Referer	
https://randemsystems.com/opencarttest/admin/index.php?route=sale/order/edit&token=FnEaiyXcB2tgsg4DPtqO3YN8ZrBqw0db
&order_id=12
User-Agent	
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0
Last edited by Randem on Fri Feb 05, 2016 3:52 pm, edited 1 time in total.

NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart


User avatar
Active Member

Posts

Joined
Sat Sep 27, 2014 9:17 am

Post by Randem » Sat Jan 16, 2016 8:44 am

I believe I have solved the issue of the edit/view order problem. If you have multiple stores, it seems that they all need to be pointing to the same domain as the admin panel. Being that I am testing on a different domain than the original v1.5.4.6.4 site (converted) and if you do not change all company settings to the same domain address as your default store, you will get order errors. The URL's have to be resolved to the same IP address.

Go to store settings and change all URL address to be the same and all the errors seem to go away. I haven't tested this but I don't believe that you can have multiple stores on a different server anyway. this should be caught and given the correct error instead of basically a crash with non intelligent error message.

NEVER take serious; anyone who gives negative impact statements with no ABSOLUTE proof!
OpenCart Helpful Information * Upgrade 1.5 to 2.1 * Upgrade 2.1 to 2.2
"Why do people NEVER have enough time to do it right but ALWAYS enough time to do it over?"
DO NOT EVER GIVE SOMEONE YOU DON"T KNOW ADMIN ACCESS TO ANYTHING!
I am NOT affiliated with OpenCart


User avatar
Active Member

Posts

Joined
Sat Sep 27, 2014 9:17 am
Who is online

Users browsing this forum: No registered users and 9 guests