Jump to content

[CC 3.0.6] Logout on currency change?


Guest moopoo
 Share

Recommended Posts

: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

Link to comment
Share on other sites

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:

Link to comment
Share on other sites

  • 2 weeks later...
Guest Muslimin

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? :)

Link to comment
Share on other sites

  • 2 months later...
Guest smartoption

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

Link to comment
Share on other sites

  • 1 month later...
Guest mitrenga

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

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...
Guest ekka

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:

Link to comment
Share on other sites

  • 3 weeks later...
Guest evolver

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");

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...