CrazyBandit Posted July 2, 2008 Share Posted July 2, 2008 I have a heavily modified site that has had a problem for quite a while. If a customer puts a product in the shopping cart without logging into an account, the cart shows as empty when the customer navigates to another page. The problem seems to have started around the time I installed Auto Logon and Dynamic DHTML Menu contribs, but I'm not sure what is actually causing the problem. You can view my site at: myperfectcandle.com Any suggestions? Thanks! Link to comment Share on other sites More sharing options...
germ Posted July 2, 2008 Share Posted July 2, 2008 Your site isn't making a cookie. I think the first seven lines in your configure file should be: define('HTTP_SERVER', 'http://myperfectcandle.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://myperfectcandle.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', '.myperfectcandle.com'); define('HTTPS_COOKIE_DOMAIN', '.myperfectcandle.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); 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 > Link to comment Share on other sites More sharing options...
CrazyBandit Posted July 2, 2008 Author Share Posted July 2, 2008 Thanks, germ. That is exactly what my configure file already says. I should add that as long as you are logged into an account, everything works perfectly. Any other ideas? Link to comment Share on other sites More sharing options...
germ Posted July 2, 2008 Share Posted July 2, 2008 At the bottom of your configure file do you have this: define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' :unsure: And why does you site come up in HTTP, but when you click a link it goes HTTPS? :unsure: That might be part of the problem. It's not good to have that. It slows things down and search engines like Google don't usually index SSL pages. 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 > Link to comment Share on other sites More sharing options...
CrazyBandit Posted July 3, 2008 Author Share Posted July 3, 2008 At the bottom of your configure file do you have this: define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' :unsure: And why does you site come up in HTTP, but when you click a link it goes HTTPS? :unsure: That might be part of the problem. It's not good to have that. It slows things down and search engines like Google don't usually index SSL pages. Yup, I have that code at the bottom of my configure file. However, I had not noticed the https issue. Thanks!! I'm not sure how to fix that. Any pointers? I'll also contact my host today and see if they can help. That would explain why I've completely fallen out of the search engines. UGH! Thanks again, germ. I'll let you know if that works. Link to comment Share on other sites More sharing options...
germ Posted July 3, 2008 Share Posted July 3, 2008 However, I had not noticed the https issue. Thanks!! I'm not sure how to fix that. Any pointers? I'm betting is because of a rewrite rule you have in your .htaccess in the root folder. Looking at the HTML source, the links are HTTP. After clicking, it gets redirected to HTTPS. 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 > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.