Jamaz Posted March 5, 2004 Share Posted March 5, 2004 When I choose a product to buy, it quite rightly goes into my shopping cart. But when I go to the checkout (goes to my ssl connection) the shopping cart is empty. When I drop back out of the secure area, my item appears in the shopping cart. What could be causing this error? Where is the item data saved to? on the site or on the users PC? Thanks, James :blink: Link to comment Share on other sites More sharing options...
FIMBLE Posted March 5, 2004 Share Posted March 5, 2004 Hi I would guess you have the cookies set incorrectly in your configure.php under catalog. If you want more help just post your URL for us to visit to see what is going on Sometimes you're the dog and sometimes the lamp post [/url] My Contributions Link to comment Share on other sites More sharing options...
pgmn1274 Posted March 5, 2004 Share Posted March 5, 2004 If I am not mistaken, the shopping cart data is stored on the users PC, unless you choose it to be stored on the MySQL database. You might try reinstalling osCommerce and click the button that says "Database" for the option "Session Storage:", or the "Files" button. ________________________________________ Shin: A device for finding furniture in the dark. Link to comment Share on other sites More sharing options...
TomThumb Posted March 5, 2004 Share Posted March 5, 2004 Your HTTPS cookie domain should match the fully qualified host name for you HTTPS server. define('HTTPS_SERVER', 'https://secure.mydomain.com'); define('HTTPS_COOKIE_DOMAIN', 'secure.mydomain.com'); while (!succeed) {try()}; GMT -6:00 Link to comment Share on other sites More sharing options...
Jamaz Posted March 6, 2004 Author Share Posted March 6, 2004 What my config.php looks like this : define('HTTP_SERVER', 'http://www.mydomain.co.uk'); define'HTTPS_SERVER', 'https://www.secureserver3.co.uk/ssl/www.mydomain.co.uk'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', ''); What do u suggest I change it to? Link to comment Share on other sites More sharing options...
Jamaz Posted March 6, 2004 Author Share Posted March 6, 2004 Just changed it to this and it works perfect!!!!! define('HTTP_SERVER', 'http://www.mydomain.uk'); define('HTTPS_SERVER', 'https://www.secureserver3.co.uk/ssl/www.mydomain.co.uk'); define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', 'www.secureserver3.co.uk/ssl/www.mydomain.co.uk'); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', ''); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.