Guest moopoo Posted November 17, 2005 Share Posted November 17, 2005 I noticed this porblem, when I change the currency while logged in, I get logged out. No idea why, I haven't done any test because I don't have time too. Quote Link to comment Share on other sites More sharing options...
Guest idara Posted November 18, 2005 Share Posted November 18, 2005 :whistle: I have this problem too....I just checked after seeing this post I checked it further, it even logout when someone buy/checkout and return to store. I am using CCv3.0.6 Any ideas ? Yunus Quote Link to comment Share on other sites More sharing options...
convict Posted November 18, 2005 Share Posted November 18, 2005 moopoos Logout issue ocurs even with language changing. In v3.0.6 brooky made two session files. Open switch.php file and add include_once("includes/sessionStart.inc.php"); before // get session data include_once("includes/session.inc.php"); Gateways issue aka idara: sessionStart.inc.php is missing in relevant php file. Postal Form -> open orderForm.php and add // get session data include_once("../../../includes/sessionStart.inc.php"); before // get session data include_once("../../../includes/session.inc.php"); PS: i didnt seek what was the reason to slice session file for :whistle: Quote Link to comment Share on other sites More sharing options...
Guest idara Posted November 18, 2005 Share Posted November 18, 2005 Thanks convict Working fine now !! Regards Yunus Quote Link to comment Share on other sites More sharing options...
convict Posted November 19, 2005 Share Posted November 19, 2005 :w00t: Quote Link to comment Share on other sites More sharing options...
Guest rekos Posted December 1, 2005 Share Posted December 1, 2005 convict have u report the fix to Brooker? Thanks for the fix, it works for me.. Nikos Quote Link to comment Share on other sites More sharing options...
convict Posted December 1, 2005 Share Posted December 1, 2005 @ rekos indeed. Message from FlySpray>>>> The following task is now closed: FS#433 - 3.0.6 Unexpected logout User who did this: - Alistair Brookbanks (brooky) Reason for closing: - Fixed :lol: Quote Link to comment Share on other sites More sharing options...
Guest Muslimin Posted December 9, 2005 Share Posted December 9, 2005 Hi convict; I added the code in POstal Form / orderForm.php However where is the // get session data include_once("includes/session.inc.php"); because I could not find this line in my switch.php Or do you mean another file switch.php in another folder? FYI I am using 3.0.5 ******Opssss, I need to be corrected, there is no such sessionStart.inc.php in 3.0.5 includes/ folder right? So the above code insert is not for 3.0.5 right? :) Quote Link to comment Share on other sites More sharing options...
convict Posted December 9, 2005 Share Posted December 9, 2005 This fix is for 3.0.6 only Quote Link to comment Share on other sites More sharing options...
Guest smartoption Posted February 16, 2006 Share Posted February 16, 2006 Hi, im having a similar kind of problem with being kicked out and returned to step 2 when i try to print order. I have noticed that when i place an order for the first time it works fine, but when i return to the site, it still says i have items in my shopping basket, if i add any more and continue, thats when i have problems. Does anyone have same problem? I have tried using the fix but im on cc3.0.8, it didnt make any difference. Any idea's ??? Thanks James Quote Link to comment Share on other sites More sharing options...
Guest mitrenga Posted April 15, 2006 Share Posted April 15, 2006 Hi, im having a similar kind of problem with being kicked out and returned to step 2 when i try to print order. I have noticed that when i place an order for the first time it works fine, but when i return to the site, it still says i have items in my shopping basket, if i add any more and continue, thats when i have problems. Does anyone have same problem? I have tried using the fix but im on cc3.0.8, it didnt make any difference. Any idea's ??? Thanks James It doesnt work for me either, I use version 3,10 This is a big problem indeed, do anyone has a clue??? Thanks Ingela Quote Link to comment Share on other sites More sharing options...
Guest hobwebs Posted June 15, 2006 Share Posted June 15, 2006 Same problem here with version 3.10 Tried all the fixes mentioned! ARRRGH! Quote Link to comment Share on other sites More sharing options...
burgensteen Posted July 4, 2006 Share Posted July 4, 2006 Hi I have the same probs as all the rest of these posts. Anybody come up with a fix Im on 3.0.10 Cheers Burgensteen Quote Link to comment Share on other sites More sharing options...
Guest ekka Posted July 5, 2006 Share Posted July 5, 2006 I also have the same problem. I'm using version 3.0.10 and when a customer changes the language or currency he will be logged out. I have tracked down the problem to the file session.inc.php. If the customer logs in whit out selecting the 'remember me' option sessionData["customer_id"] will be set to zero and written to the data base and that off course logs out the customer. (Am I correct?). A quick and dirty way to solve the problem is just to remove if(!isset($_COOKIE['ccRemember'])) { //$sessData["customer_id"] = 0; } in session.inc.php But then, off course, customer want be remembered if they select that option (I think) Is there any real solution to this problem? When I register and get my key; will I be able to get help with this problem because I don't think that the company I am configuring cubecart for will accept that their customers are logged out whenever they change currency and/or language. /ekka :w00t: Quote Link to comment Share on other sites More sharing options...
Guest evolver Posted July 24, 2006 Share Posted July 24, 2006 I added the following to my 3.0.10 and it fixed my default currency problem. I couldnt not get my currency to stay default on Canadian even tough I had it set in the admin section. It would always stay on US when you came back to the site after closing all browser windows. In v3.0.6 brooky made two session files. Open switch.php file and add CODE include_once("includes/sessionStart.inc.php"); before CODE // get session data include_once("includes/session.inc.php"); 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.