Guest Posted May 5, 2006 Posted May 5, 2006 What could be reason to be rediected to the login page instead of being prompted an alert on red background on the page? I have this problem with 2 MODs now: CVV2 MOD: on the credit card checkout page, for the CCV mod: when no CVV is entered, or if a CC number doesn't pass the Lunhcheck test, instead of seeing the red stripe message, I am redirected to the login page CUSTOMER PRIVATE MESSAGEs MOD: when the customer clicks on "remove message" , redirection to login page. I see a common pattern to these situations: 1) they both submit a form that redirects to the same page but change its content by displaying a HTML rendered message withing the page 2) they work if SSL is disabled (I use a shared SSL with no problem throughout the entire site) To see the problem in action: http://www.thefrenchybee.com/catalog/ Any help appreciated. Thanks!
Guest Posted May 5, 2006 Posted May 5, 2006 you should check your sessions and the configure.php files. For example you have a bunch of links at the top where they do not use sessions. If the session is lost it could cause this problem. Same happens if your configuration paths for cookies are incorrect.
Guest Posted May 5, 2006 Posted May 5, 2006 you should check your sessions and the configure.php files. For example you have a bunch of links at the top where they do not use sessions. If the session is lost it could cause this problem. Same happens if your configuration paths for cookies are incorrect. thanks I will definitely check in that direction. Also any idea why the alert message does not render the <br> tags but displays the BR with its brackets? It even does that on an untouched OSC stock version.
Guest Posted May 5, 2006 Posted May 5, 2006 I removed all the links at the top that were not rendered with a tep_href_link and not grabing the session ID. the problem is still there. And yes, when I am redirected, the session ID is different also, when I disable SSL, the text of the message is not displayed: I have an empty red stripe... this is the begining my configure: define('HTTP_SERVER', 'http://www.thefrenchybee.com'); define('HTTPS_SERVER', 'https://secure19.prohosting.com/~a0020903') define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'thefrenchybee.com'); define('HTTPS_COOKIE_DOMAIN', 'https://secure19.prohosting.com/~a0020903'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/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/'); Thank you for your help
Guest Posted May 5, 2006 Posted May 5, 2006 the cookie domains/paths are incorrect I assume the secure server is correct so you should try define('HTTP_SERVER', 'http://www.thefrenchybee.com'); define('HTTPS_SERVER', 'https://secure19.prohosting.com') define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'thefrenchybee.com'); define('HTTPS_COOKIE_DOMAIN', 'secure19.prohosting.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/~a0020903/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/~a0020903/catalog/');
Guest Posted May 5, 2006 Posted May 5, 2006 NO IF I DO THIS when i try to check out, my url looks like https://secure19.prohosting.com/catalog/index.php?Oscsid= instead of https://secure19.prohosting.com/~a0020903/c...dex.php?Oscsid= it won't work The thing is I am working on another site WHICH DOESN'T HAVE THIS MOD, has the same configure settings, the same host, and everything is fine: checkout http://www.westart.prohosting.com/catalog/ I can get the error messages if the CC number is wrong. This is just since I installed this CVV mod that it won't work anymore...
Guest Posted May 5, 2006 Posted May 5, 2006 server and domains should not include paths. maybe you have some place else a problem like in your html_output.php basically you should have HTTPS_SERVER . DIR_WS_HTTPS_CATALOG which will give you the correct path with the settings I posted.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.