goodwinj Posted March 9, 2005 Posted March 9, 2005 Apologies - I am a newbie. :blush: Just spent an hour looking for other posts on this but have not found solution. I have installed MS2.2 at Will Spencer Custom Trumpets When shopping (logged in or not) I add items to the cart in the normal way. When I press checkout, I get a message saying "Your Shopping Cart is empty!" When I click back onto Cart, items are there! This was tested and working fine a month ago, I have not changed the configuration (being lazy) so what is going wrong? :angry: Thanks for your help.
♥Vger Posted March 9, 2005 Posted March 9, 2005 Try leaving your https cookie domain and https cookie path blank in your includes/configure.php. It seems as though you are losing the session when moving to https. Vger
goodwinj Posted March 10, 2005 Author Posted March 10, 2005 Try leaving your https cookie domain and https cookie path blank in your includes/configure.php. It seems as though you are losing the session when moving to https. Vger <{POST_SNAPBACK}> Thanks Vger as you say the cart contents don't appear to migrate from the http to the https domains. I tried your solution but it did not work. Code looks like this now. define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.willspencer.org'); define('HTTPS_COOKIE_DOMAIN', );// changed to solve checkout problem define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', );// changed to solve checkout problem define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); Any other ideas to try? John
goodwinj Posted April 11, 2005 Author Posted April 11, 2005 Thanks Vger as you say the cart contents don't appear to migrate from the http to the https domains. I tried your solution but it did not work. Code looks like this now. define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.willspencer.org'); define('HTTPS_COOKIE_DOMAIN', );// changed to solve checkout problem define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', );// changed to solve checkout problem define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); Any other ideas to try? John <{POST_SNAPBACK}> D'Oh! did not need to change the https cookie domain, just the path. :blush: All works fine now! Thanks again Vger.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.