This is a discussion on Login causes cart to empty within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; Quick Note: If this post is in the wrong place will Admin please correct? My problem is that I have ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| Quick Note: If this post is in the wrong place will Admin please correct? My problem is that I have noticed as I have been trying to get my site put together that when testing I run into the following problem: As a Guest I browse what products I have posted and add one to the cart. After it goes to the cart I click checkout and it prompts to login or create a new account. When doing either it causes the cart to empty during the change from non-secure to secure. Is this a config issue or is there code that needs to be fixed? the store is located at osCMax v2.0 : DWM Computers On-Line Store if anyone would like to take a look at see what the problem could be. I am trying to get things up and going full swing now that I am fully licenced. Thank you for your help in advance. |
| Sponsored Links | ||
| ||
| |
|
#2
| |||
| |||
| here is the problem cart: Cart Contents : osCMax v2.0 login: https://secure.bluehost.com/~pcprogr...dadfc7f9a53d1a as you can see, you're not on the same host, so the osCid you are picking up is NOT from the host where there is a shopping cart associated to the osCid for the cart. Think of it this way. When you create the cart as a guest it creates and osCid which it passes back and forth as a cookie. This cookie is on the first host. When you move to the login on the HTTPS it is going to a different host, so it creates a cookie on that host. That cookie knows nothing about the cookie on the HTTP host, therefore the cart is empty now. Thus the cart contents are "dropped". The solution is to properly set up the HTTPS so that it is going through the correct host (https://shop.dwmcomputers.com/login.php). This should be done at the includes/configure.php level.
__________________ so endith the lesson<think>sometimes I just sit's and thinks</think> "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB |
|
#3
| ||||
| ||||
| That's partly what I thought but I wasn't sure. Because of settings that are availe with my hoster, I have the HTTPS set the only way I can at this time ( I am working on getting things changed). Is there a temp work around that I could use untill changes with my host take place? |
|
#4
| ||||
| ||||
| You have a shared SSL which works fine with OSC - but you have to store session data in MYSQL (set in both your configure.php files) and not files and also try to set "force cookies" sessions in the admin |
|
#5
| ||||
| ||||
| I've check the settings in the configure.php(both) have session data set to msql. I tried setting force cookie use and got a Cookie Usage warning page. I then double checked my browser setting and all was as it should be but still kept getting the Cookie Usage. Any other suggestions as to what it could be and ways that I could resolve it? I have thought about posting a note on the front page to the customer but how would that look? oh, the horror. |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to hide shopping cart when empty? | mjfontec | osCMax v2 Customization/Mods | 2 | 03-21-2007 08:31 PM |
| osCmax 2.0, new install empty cart | barrowj | osCMax v2 Installation issues | 7 | 06-23-2005 09:51 AM |
| shopping cart empty error | jasonabc | osCommerce 2.2 Modification Help | 1 | 12-18-2004 11:06 PM |
| Empty cart on secure checkout | fragzilla | osCommerce 2.2 Modification Help | 3 | 09-17-2003 02:35 PM |
| Shopping cart won't empty | judoka | osCommerce 2.2 Modification Help | 2 | 07-14-2003 02:07 PM |