sizemore Posted October 19, 2005 Share Posted October 19, 2005 I have installed osCommerce on a test Web site for evaluation and to learn how to configure and maintain the software. So far, I'm very impressed -- this seems to be just what I was looking for. However, I think I've something messed up in my configuration. I have created a user successfully, but that user cannot log in. A second, possibly related, issue is that 'add to cart' does not do anything -- the cart is always empty. I should also note that my test server is behind my company's firewall, and as such does not accept normal http connections; only SSL connections are accepted. A copy of my includes/configure.php is below: define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://volt.txcorp.com'); // 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', 'volt.txcorp.com'); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', '/~sizemore/catalog/'); define('DIR_WS_HTTP_CATALOG', '/~sizemore/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/~sizemore/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', '/home/research/sizemore/public_html/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); My guess is that this is a session or cookie issue, but I don't know enough about it to say for sure. Any insight would be most appreciated. Link to comment Share on other sites More sharing options...
♥Vger Posted October 20, 2005 Share Posted October 20, 2005 If you can only connect via https then do the following: define('HTTP_SERVER', 'https://volt.txcorp.com'); define('HTTP_COOKIE_DOMAIN', 'volt.txcorp.com'); Vger Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.