Guest Posted January 26, 2004 Share Posted January 26, 2004 When I log-in I go to my shared SSL site and enter all the details. But as soon as I go to browse the shopping cart it goes back to http, logs me out and prsents me with the login screen. Here is my configure file define('HTTP_SERVER', 'http://www.mydomain.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.securedomain.com/secure/mydomain'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.mydomain.com'); define('HTTPS_COOKIE_DOMAIN', 'www.securedomain.com/secure/mydomain'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/var/www/html/secure/mydomain/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Link to comment Share on other sites More sharing options...
♥MYC267 Posted January 26, 2004 Share Posted January 26, 2004 Welcome to my world... Dan Link to comment Share on other sites More sharing options...
Guest Posted January 26, 2004 Share Posted January 26, 2004 So you havent found a solution I take it? Link to comment Share on other sites More sharing options...
Guest Posted January 26, 2004 Share Posted January 26, 2004 I reverted my store to an earlier backup and it works no problems. Since this backup I have installed the following mods X-Sell-v2-2 - MS2 product_availability_v1.03 admin_21 eway_pay_module So I assume it is one of these that has broken it. I will re-install each mod and test in between to see if I can track down the problem. Dan, do you have any of these Mods installed? Link to comment Share on other sites More sharing options...
♥MYC267 Posted February 13, 2004 Share Posted February 13, 2004 No I don't have any of these mods installed.... I have tried all sorts of combinations in my config file and still have the same problem. I have heaps of mods installed but nothing that I would assume change the way OSC deals with logins etc.... I mean they are not related in any way. I just dunno.... Dan Link to comment Share on other sites More sharing options...
yoko Posted February 13, 2004 Share Posted February 13, 2004 Try: define('HTTPS_COOKIE_DOMAIN', 'www.securedomain.com'); define('HTTPS_COOKIE_PATH', '/secure/mydomain'); The solution is somewhere in this direction. And try this (from Dylan Downhill): I noticed something in the code that compares the server name using some old syntax. in admin/includes/classes/sessions.php the line if (trim($url['host']) != $GLOBALS['SERVER_NAME']) { Should probably be: if (trim($url['host']) != $_SERVER['SERVER_NAME']) { It worked for me! Link to comment Share on other sites More sharing options...
♥MYC267 Posted February 14, 2004 Share Posted February 14, 2004 We are not having problems with the Admin.... but with the actual shop itself. Dan Link to comment Share on other sites More sharing options...
defender39 Posted February 14, 2004 Share Posted February 14, 2004 read this thread http://www.oscommerce.com/forums/index.php?showtopic=75316 Link to comment Share on other sites More sharing options...
yoko Posted February 14, 2004 Share Posted February 14, 2004 We are not having problems with the Admin.... but with the actual shop itself. OK, but john had incorrect settings in catalog/configure.php, too, so maybe he should correct it... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.