OSTastic Posted April 8, 2008 Share Posted April 8, 2008 Hi, I'm having trouble with the website hosted on my new website. I'm trying to put this website live but unfortunately when enabling the SSL the shopping cart empties when the site switches to the third party secure server. I've set SSL to false and all works fine, I can complete a full purchase through to my payment provider fine. sessions are stored on mysql database, part of configure.php seen below: define('HTTP_SERVER', 'http://www.domain.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://third.secure.net/~domain'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', 'third.secure.net/~domain'); I've used the same code from one of my other sites, so it's not like I've added any changes. Could this fault be with my hosting company? Thanks, James Link to comment Share on other sites More sharing options...
Guest Posted April 8, 2008 Share Posted April 8, 2008 talk with your host, see what the actual path should be. in all reality, be better off with your own cert. Link to comment Share on other sites More sharing options...
♥FWR Media Posted April 8, 2008 Share Posted April 8, 2008 For a start define('HTTP_COOKIE_DOMAIN', ''); Shouldn't be empty, and as Mibble suggested you should get the true paths from your provider. Do you have force cookie use set to true because that wont work with shared SSL. Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
OSTastic Posted April 9, 2008 Author Share Posted April 9, 2008 For a start define('HTTP_COOKIE_DOMAIN', ''); Shouldn't be empty, and as Mibble suggested you should get the true paths from your provider. Do you have force cookie use set to true because that wont work with shared SSL. No forced cookie is set to false. define('HTTP_COOKIE_DOMAIN', ''); is empty on all my other sites and I have tried entering the domain here but doesn't make a difference. Site is a complete copy of another site. Only difference is my host has placed restrictions on new servers as they have turned register_globals to off. I had to apply a contribution for register globals, but as it works okay without SSL I doubt this is the problem. Also other people using the same contribution would have come across the same issue. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.