Page 1 of 1
2.1.0.2 - Warning: Shipping method required! - Account only
Posted: Sat Jan 30, 2016 1:04 am
by Loiti
Good evening,
I am stuck with this error/bug during checkout: "Warning: Shipping method required!" which only occurs when I am logged into a registered account (guest checkout works fine!).
Link:
http://shop.palmen24.at/
Reproducing this bug:
Refreshing or navigating back during Checkout will produce this error 80% of the time.
I have tracked down the issue, it appears that:
1) $this->session->data["shipping_methods"] and
2) $this->session->data["shipping_method"] gets deleted, thus missing in CATALOG/CONTROLLER/CHECKOUT/SHIPPING_METHOD.PHP -> Save().
A refresh/navigating back shouldnt clear the session variables tho. Any ideas?
- version 2.1.0.2
- Clean install
- default template
- no modifications
- no vqmod
- newly installed
- all new php mysql
Appreciate your help
Re: 2.1.0.2 - Warning: Shipping method required! - Account o
Posted: Tue Feb 02, 2016 7:47 pm
by Loiti
Maybe this appears to be a bug and should be moved to the bug-section?
Re: 2.1.0.2 - Warning: Shipping method required! - Account o
Posted: Sat Mar 05, 2016 5:03 am
by Loiti
Updated error description.
Re: 2.1.0.2 - Warning: Shipping method required! - Account o
Posted: Sat Mar 05, 2016 5:34 am
by Loiti
Update:
Also applying shipping estimation (View cart -> ...) tells me it has successfully applied the shipping method. But checking out immediately after shows the same error -> session variables missing.
Strange
Re: 2.1.0.2 - Warning: Shipping method required! - Account o
Posted: Tue Mar 29, 2016 5:24 pm
by Loiti
With the help of the OpenCart forum community I was able to identify the problem and fix it!
Irony off.
The problem were false, cached Ajax calls from my browser (latest Google Chrome). This discussion here
http://forum.opencart.com/viewtopic.php?f=20&t=98579 describes the problem and the fix (vqmod).
Best regards
Stefan
Re: 2.1.0.2 - Warning: Shipping method required! - Account o
Posted: Tue Apr 19, 2016 7:01 am
by fogma
Hi Stefan,
I seem to be seeing this issue as well with OC 2.1.0.1.
Happens on iPhone and in Chrome (at least).
I can recreate it if I set different addresses for shipping and billing and then go backwards and forwards a few times on the checkout page. Eventually it happens.
I've had a quick test with that vqmod, but it does not seem to have helped, but I need to give up for tonight. Do my symptoms sound the same as yours?
Thanks,
Gary
Re: 2.1.0.2 - Warning: Shipping method required! - Account o
Posted: Tue Apr 19, 2016 10:20 am
by Burt65
Loiti wrote:Good evening,
I am stuck with this error/bug during checkout: "Warning: Shipping method required!" which only occurs when I am logged into a registered account (guest checkout works fine!).
Link:
http://shop.palmen24.at/
Reproducing this bug:
Refreshing or navigating back during Checkout will produce this error 80% of the time.
Appreciate your help
Hi Loiti
Just to confirm that with OC 2.1.0.2 I cannot replicate the error you describe either by refreshing the page or by clicking on the back button. This is in the latest Chrome and Torch browsers. I would be prone to think that it is a browser cache/cookies setting issue...
Re: 2.1.0.2 - Warning: Shipping method required! - Account o
Posted: Tue Apr 19, 2016 4:02 pm
by fogma
Burt65 - don't use the back button. The problem occurs if you get down to the payment method screen and then click on delivery address section above and work down again. Then click on billing and work down again. Keep doing this and eventually you will reproduce the problem. I found it when logged in and specifying different billing and shipping addresses.
Stefan - actually... this morning on iphone the cache vqmod might have solved the problem as I can no longer recreate the issue. I will continue to test!
Thanks,
Gary
Re: 2.1.0.2 - Warning: Shipping method required! - Account o
Posted: Tue Apr 19, 2016 5:27 pm
by fogma
In Chrome the issue is not resolved, even with the vqmod cache fix.
I don't seem to be able to recreate it in 2.2.0.0 (a test shop I have running). Has anything related to this been changed between 2.1 and 2.2?
Thanks,
Gary
Re: 2.1.0.2 - Warning: Shipping method required! - Account o
Posted: Wed Apr 20, 2016 12:43 pm
by Burt65
fogma wrote:Burt65 - don't use the back button. The problem occurs if you get down to the payment method screen and then click on delivery address section above and work down again. Then click on billing and work down again. Keep doing this and eventually you will reproduce the problem. I found it when logged in and specifying different billing and shipping addresses.
Stefan - actually... this morning on iphone the cache vqmod might have solved the problem as I can no longer recreate the issue. I will continue to test!
Thanks,
Gary
Hi Gary
I just did the test as you suggested first for 10 times then 20 times in both Chrome and Torch, and I don't get the error.
I'm using OC 2.1.0.2, ASPRO extension for delivery and Journal 2 theme. As I said, I reckon sometimes, something goes wrong between cookies, and all the various Cache that we have on the server. Sometimes if your ISP is doing upgrades and or maintenance on the server you can get funny errors in your browser. I'm not say that this is certainty what is happening, but it can happen. This kind of problems are the hardest one to trace because they don't happen all the time at the same time...
Cheers