satinwoods Posted October 2, 2013 Posted October 2, 2013 My website strutfashion.ca isn't doing so well. I got the SSL installed finally, and now everything is going haywire. strutfashion.ca has buttons for the Cart/My Account, but https://strutfashion.ca has links. You can see this by clicking on the My Account button The website will log people out when they click any of the Cart/My Account links, making checkout impossible. Please help! I'm totally lost! The Cart/My Account code is echo tep_draw_button(HEADER_TITLE_CART_CONTENTS . ($cart->count_contents() > 0 ? ' (' . $cart->count_contents() . ')' : ''), 'cart', tep_href_link(FILENAME_SHOPPING_CART)) . tep_draw_button(HEADER_TITLE_CHECKOUT, 'triangle-1-e', tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')) . tep_draw_button(HEADER_TITLE_MY_ACCOUNT, 'person', tep_href_link(FILENAME_ACCOUNT, '', 'SSL')); if (tep_session_is_registered('customer_id')) { echo tep_draw_button(HEADER_TITLE_LOGOFF, null, tep_href_link(FILENAME_LOGOFF, '', 'SSL')); } Here's my admin config define('HTTP_SERVER', 'http://strutfashion.ca'); define('HTTP_CATALOG_SERVER', 'http://strutfashion.ca'); define('HTTPS_CATALOG_SERVER', 'https://strutfashion.ca'); define('ENABLE_SSL_CATALOG', 'true'); And my catalogue config define('HTTP_SERVER', 'http://strutfashion.ca'); define('HTTPS_SERVER', 'https://strutfashion.ca'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', 'http://strutfashion.ca'); define('HTTPS_COOKIE_DOMAIN', 'https://strutfashion.ca'); define('HTTP_COOKIE_PATH', '//'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/');
♥kymation Posted October 2, 2013 Posted October 2, 2013 define('HTTP_COOKIE_DOMAIN', 'strutfashion.ca'); define('HTTPS_COOKIE_DOMAIN', 'strutfashion.ca'); define('HTTP_COOKIE_PATH', '/'); Regards Jim See my profile for a list of my addons and ways to get support.
satinwoods Posted October 2, 2013 Author Posted October 2, 2013 @@kymation Well Jim, that didn't work at all. Now I can't log in what so ever.
♥kymation Posted October 2, 2013 Posted October 2, 2013 The osCsid never goes away, so you still have cookie issues. Clear your cache if you have that turned on, and turn off your URL rewriter to see if that helps. Regards Jim See my profile for a list of my addons and ways to get support.
satinwoods Posted October 2, 2013 Author Posted October 2, 2013 @kymation I fixed it. define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/'); This made it work. No idea why. Thank you for your help! :D However; It doesn't kick me out now no matter where I click. I still can't check out though. I get an error in the checkout_process.php page Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Its probably something else though..
♥kymation Posted October 2, 2013 Posted October 2, 2013 An error has occurred. Generally a 406 error is caused because a request has been blocked by Mod Security. If you believe that your request has been blocked by mistake please contact the web site owner. That's usually an incorrect security setting on your web server. Contact your host and give them the above message, and tell them it seems to happen for any SSL page. Regards Jim See my profile for a list of my addons and ways to get support.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.