srefault Posted October 22, 2013 Share Posted October 22, 2013 Hi all I've had customers reporting that they have their basket emptied everytime they try to check out or browse to another product. This doesn't occur to me using my Desktop (Firefox 25) but does on the ipad. The CC version is the latest, and this issue seems to have appeared upon installing that, although I had noticed sales were somewhat lower. Obviously this is very serious, so I'd appreciate any help that can be offered - thanks. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted October 22, 2013 Share Posted October 22, 2013 Do you have any information about what browser and OS they use with versions? Also is this one customer or customers? Quote Link to comment Share on other sites More sharing options...
srefault Posted October 22, 2013 Author Share Posted October 22, 2013 (edited) Personally I can't get things to stay in the basket with my Ipad (IOS 7 *) nor my phone - HTC. Firefox 25 / Windows 7 works fine. I've had three emails from customers reporting this, plus a few friends that I've had try too. The latter have tried using IE9 I'm not sure as to your policies on posting links to websites, so I've refrained from posting my site's address just yet. EDIT: * That's using the desktop site as the link to the mobile site doesn't change anything. Edited October 22, 2013 by srefault Quote Link to comment Share on other sites More sharing options...
srefault Posted October 22, 2013 Author Share Posted October 22, 2013 To add to the above Fx and Chrome seem to be fine, but not IE 9 nor mobile devices. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted October 22, 2013 Share Posted October 22, 2013 Can you provide a URL to your store? If you do not what to do this in public please submit a support ticket. Quote Link to comment Share on other sites More sharing options...
srefault Posted October 22, 2013 Author Share Posted October 22, 2013 http://www.assured-medical.co.uk Thanks for your help. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted October 22, 2013 Share Posted October 22, 2013 Ok it worked for me on IOS7 with Chrome but didn't work in IE. We need to ask sensitive data from you and take a deep look into this. Please can you send a tech support ticket with FTP and admin access and we will do our best to help you. Quote Link to comment Share on other sites More sharing options...
srefault Posted October 22, 2013 Author Share Posted October 22, 2013 Thanks - ticket submitted. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted October 22, 2013 Share Posted October 22, 2013 Thanks, ticket 96,169 acknowledged. Not far off 100,000 tickets now! Quote Link to comment Share on other sites More sharing options...
bsmither Posted October 22, 2013 Share Posted October 22, 2013 Here is the cookie that your site is sending for a page request made at 17:44 UTC: Set-Cookie: PHPSESSID=snipped; expires=Tue, 22-Oct-2013 17:44:20 GMT; path=/; httponly This cookie expires virtually instantaneously. The session id remains constant, but the code that creates the expiration time on the cookie needs examined. Quote Link to comment Share on other sites More sharing options...
srefault Posted October 22, 2013 Author Share Posted October 22, 2013 Hi Thanks for that - Al is on the case and he's mentioned he's looking at cookies. Quote Link to comment Share on other sites More sharing options...
bsmither Posted October 22, 2013 Share Posted October 22, 2013 A stock CubeCart gives the customer 60 minutes of inactivity (that's when the cookie expires -- 60 minutes from now) and is updated for every page request. In CC524, /classes/session.class.php, line 36, make sure there is this: private $_session_timeout = 3600; Line 88 has this (note: comments): //$this->_session_timeout = (ADMIN_CP) ? 3600 * 24 : 3600 * 1; Line 596: $this->set_cookie(session_name(),session_id(),time()+$this->_session_timeout); Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted October 23, 2013 Share Posted October 23, 2013 Hi All, its Wednesday morning now here and I'll pick this up again now. Thanks the the pointer Brian. Hopefully I'll get this resolved this morning and post here what the issue was. Quote Link to comment Share on other sites More sharing options...
srefault Posted October 23, 2013 Author Share Posted October 23, 2013 Hi - seems to be working now. Thank-you very much. Quote Link to comment Share on other sites More sharing options...
convict Posted October 23, 2013 Share Posted October 23, 2013 Found this thread now. I already fixed it but this is rare situation, session expiration time set to 10 hours helped. Anyway going to investigate for further reasons if any. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted October 23, 2013 Share Posted October 23, 2013 Well done Milos and thanks to everyone who has helped! Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted October 23, 2013 Share Posted October 23, 2013 Found this thread now. I already fixed it but this is rare situation, session expiration time set to 10 hours helped. Anyway going to investigate for further reasons if any. Hi All, its Wednesday morning now here and I'll pick this up again now. Thanks the the pointer Brian. Hopefully I'll get this resolved this morning and post here what the issue was. hi Al & Milos Can you post more details of the problem and solution - I assume the fix will be in 5.2.5 but without knowing how long before that is released, many will want to implement a solution immediately. We have had quite a few requests to set the admin session expiration time to higher than 60 minutes but maybe these can be set via the store settings so store owners can decide for themselves ? Thanks Ian Quote Link to comment Share on other sites More sharing options...
convict Posted October 23, 2013 Share Posted October 23, 2013 hi Al & Milos Can you post more details of the problem and solution - I assume the fix will be in 5.2.5 but without knowing how long before that is released, many will want to implement a solution immediately. We have had quite a few requests to set the admin session expiration time to higher than 60 minutes but maybe these can be set via the store settings so store owners can decide for themselves ? Thanks Ian As you can find In CC524 classes/session.class.php line below //$this->_session_timeout = (ADMIN_CP) ? 3600 * 24 : 3600 * 1; Just uncomment for one day admin session. Code is there to remind me to add this from admin area configurable. Please note it does not work on server admin disabled session time extension. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.