bonnierae Posted May 16, 2007 Share Posted May 16, 2007 Hi I have searched through all the posts on this topic that I can find and tried every suggestion and nothing has worked. It seems as though the session info is lost between http: and https: I can log in and add something to the cart but when I go to check out all is lost (cart contents gone/ it asks me to login, when I do it sends me back to the index pg w/out loging me in.) I suspect that my https: cookie domain is wrong and I don't know what else, here is the code from my .../html/oscommerce/configure.php <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.raindownstudios.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://ranger.unitedhosting.co.uk/~raindownstudios.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.raindownstudios.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/oscommerce/'); 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/'); do I also need to change anything in my .../html/oscommerce/admin/includes/configure.php ? Link to comment Share on other sites More sharing options...
Jack_mcs Posted May 17, 2007 Share Posted May 17, 2007 You are correct. It should be define('HTTPS_COOKIE_DOMAIN', 'ranger.unitedhosting.co.uk/~raindownstudios.com'); // eg, https://localhost - should Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
bonnierae Posted May 17, 2007 Author Share Posted May 17, 2007 I tried it, it didn't work, still doing the same thing. any more ideas? Link to comment Share on other sites More sharing options...
Jack_mcs Posted May 17, 2007 Share Posted May 17, 2007 These shouldn't be different define('DIR_WS_HTTP_CATALOG', '/oscommerce/'); define('DIR_WS_HTTPS_CATALOG', '/'); You don't show the settings at the bottom of the configure file. Do you have permissions set to be stored in the database? Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.