peterpan2004 Posted June 4, 2009 Share Posted June 4, 2009 Suddenly, with no changes to the server, etc, everytime a buyer tries to checkout he is taken to the login screen. He logs in, his cart is empty. He adds item to cart, clicks checkout and is back to login screen. Everything was working and then boom, it's not. Any suggestions? Link to comment Share on other sites More sharing options...
germ Posted June 4, 2009 Share Posted June 4, 2009 If you dump the cart you're probably losing the session id. Could be a cookie problem. Hard to say without you posting something. Like your URL 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...
peterpan2004 Posted June 4, 2009 Author Share Posted June 4, 2009 If you dump the cart you're probably losing the session id. Could be a cookie problem. Hard to say without you posting something. Like your URL sorry, so frustrated, forgot to post http://anndowning.com/ts/ Link to comment Share on other sites More sharing options...
germ Posted June 4, 2009 Share Posted June 4, 2009 The SSL side isn't making a cookie. Post your cookie settings from your configure file. I.E. these lines ONLY!!! define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', '); 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...
peterpan2004 Posted June 5, 2009 Author Share Posted June 5, 2009 define('HTTP_COOKIE_DOMAIN', 'anndowning.com'); define('HTTPS_COOKIE_DOMAIN', 'www.sogohosting.org/~anndown'); define('HTTP_COOKIE_PATH', '/ts/'); define('HTTPS_COOKIE_PATH', '/ts/'); Link to comment Share on other sites More sharing options...
germ Posted June 5, 2009 Share Posted June 5, 2009 define('HTTPS_COOKIE_DOMAIN', '.sogohosting.org'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); Change these three and give it a shot. Shared SSL and osC can be a real beyotch... :blush: 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...
peterpan2004 Posted June 5, 2009 Author Share Posted June 5, 2009 didn't help. This store had been working for the last year with no problems then suddenly it starts this, with no changes to the store or the server. define('HTTPS_COOKIE_DOMAIN', '.sogohosting.org'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); Change these three and give it a shot. Shared SSL and osC can be a real beyotch... :blush: Link to comment Share on other sites More sharing options...
germ Posted June 5, 2009 Share Posted June 5, 2009 Firefox is telling me this: Name osCsid Value 3467789d280b2a1735ee9d22260ea674 Host .anndowning.com Path [color="#FF0000"][b]/ts/[/b][/color] Secure No Expires At End Of Session That's not what I posted. Check the config file on the server to be sure the new one is there. with the correct info. Sometimes permissions stop it from being updated (if you use FTP). 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...
peterpan2004 Posted June 5, 2009 Author Share Posted June 5, 2009 It has been changed, I changed permissions thru cpanel before I edited it. It still doesn't work. Link to comment Share on other sites More sharing options...
peterpan2004 Posted June 5, 2009 Author Share Posted June 5, 2009 I found the solution. Posting it here if anyone else has similar problem If Suhosin is installed on your server you can add a simple line to your .htaccess file to disable encryption on sessions php_flag suhosin.session.encrypt off Link to comment Share on other sites More sharing options...
spooks Posted June 5, 2009 Share Posted June 5, 2009 Thanks for posting your solution, too many just put 'found it!' Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
astrobdw Posted July 6, 2009 Share Posted July 6, 2009 I found the solution. Posting it here if anyone else has similar problem If Suhosin is installed on your server you can add a simple line to your .htaccess file to disable encryption on sessions php_flag suhosin.session.encrypt off Thanks a million - this just solved the same problem for me! Bryan Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.