Guest Posted August 15, 2011 Posted August 15, 2011 I recently moved my entire oscommerce store succesfully to a new server + domain. Everything seems to be working excluding the fact that I cannot add anything to my shopping cart. All of the paypal API credentials are updated to new working ones also. What did I miss, do I need to change something in a file? Please help, If you know a for sure solution im willing to pay..
germ Posted August 16, 2011 Posted August 16, 2011 The most common reason for the cart being constantly empty would be incorrect cookie settings in the config file. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Guest Posted August 16, 2011 Posted August 16, 2011 The most common reason for the cart being constantly empty would be incorrect cookie settings in the config file. This is what my config file looks like http://i.imgur.com/G36Cs.png look at that pic to see it ^^^
germ Posted August 16, 2011 Posted August 16, 2011 This is what my config file looks like http://i.imgur.com/G36Cs.png look at that pic to see it ^^^ NO. That's only part of the config file. You blacked out some of the cookie settings... :huh: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Guest Posted August 16, 2011 Posted August 16, 2011 NO. That's only part of the config file. You blacked out some of the cookie settings... :huh: sorry I marked out part of the domain name look at this pick: http://i.imgur.com/tUpSF.png it has only the first letter of the domain "f"
vishalchauhan Posted August 17, 2011 Posted August 17, 2011 sorry I marked out part of the domain name look at this pick: http://i.imgur.com/tUpSF.png it has only the first letter of the domain "f" this what i have done in my config file define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); try this..... may be it will help you..... Please take backup of your files before do changes suggested by me
Guest Posted August 19, 2011 Posted August 19, 2011 Got my issue fixed by Chris Dun, This is what he said incase anyone else has similar issue. Bill, Change the first four lines of your configure.php to reflect the www. so the lines would appear as http://www.sitename.net Your redirect is not allowing the session to be created because the current configure is not seeing www.sitename.net it is seeing sitename.net Browsers interpret them as two different things when a session is created. Chris
Recommended Posts
Archived
This topic is now archived and is closed to further replies.