mpiedlourde Posted June 22, 2007 Posted June 22, 2007 i've been scouring all old posts related to SSL, and there was one post that kind of described a problem i was having, except their solution doesn't quite work for me: my cart works completely fine in http:// mode, but in https:// mode, i can't create an account or login to an existing account. when i try to login, it doesn't recognize the login/password, and when i try to create an account, it just refreshes the page basically, and when i look in the logs, no account was made. but this is only in https:// mode. i've set it up to that when you create an account or do that stuff, it sends you to https. i tried a fix where for the HTTPS_COOKIE_PATH, i put the IP instead of the domain.com, but it still doesn't solve when a customer goes and clicks "login". it really only works after someone creates an account, then the address bar changes to an IP. also, i DON'T want the address bar to be showing the IP. that's weird. here is my config file: // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://nylashoes.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://nylashoes.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'nylashoes.com'); define('HTTPS_COOKIE_DOMAIN', 'nylashoes.com'); define('HTTP_COOKIE_PATH', '/store/'); define('HTTPS_COOKIE_PATH', '/store/'); define('DIR_WS_HTTP_CATALOG', '/store/'); define('DIR_WS_HTTPS_CATALOG', '/store/'); 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_NEWS', DIR_WS_NEWS . '/news/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/oscommerce/nylashoes.com/store/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'nylastore.nylashoes.com'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxxxx'); define('DB_SERVER_PASSWORD', 'xxxxx'); define('DB_DATABASE', 'xxxxx'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> i've been trying to find a way around this for hours and it's turned my brain into cottage cheese. if anyone could shed some light into this, i would eternally grateful!!!
PD_Steve Posted June 22, 2007 Posted June 22, 2007 Your SSL certificate is for www.nylashoes.com not nylashoes.com. Change the HTTPS entries in your config. My Toolbox: Crimson Editor, Adobe Photoshop CS2.0, Expression Web, Macromedia Suite 8.0, Cinema 4D, Nvu.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.