sheikyerbouti Posted December 11, 2002 Share Posted December 11, 2002 Well, after months of beating my head against the wall trying to get the cart to stay in https: mode after i login.... I've finally GOT IT!!! I'm finally able to go from login.php to checkout_payment and stay in https. Now, i did the fixes so that the padlock shows up at every step of the way in both IE and Netscape. Everything works fine until...... I process my order and get to checkout_success.php where i recieve confirmation that my order was processed successfully. I click "Continue" and it takes me back to catalog/default.php but i'm still coming from the htttps server!! What do i need to do to get this to take me to the default page via the http: server? Thanks for any help -pete Link to comment Share on other sites More sharing options...
sw45859 Posted December 11, 2002 Share Posted December 11, 2002 tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string, 'SSL')); about line 39 in the checkout_success.php change the 'SSL' to 'NONSSL' Link to comment Share on other sites More sharing options...
sheikyerbouti Posted December 11, 2002 Author Share Posted December 11, 2002 Nope..... I don't see anything of the sort anywhere in the file....... here's the code from line 35 through line 46: <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <?php (ereg('^https', $SCRIPT_URI) ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> <!-- header //--> <?php require(DIR_WS_INCLUDES . 'header.php'); ?> <!-- header_eof //--> You can see i've made the coding fix as described here in these forums, deleting the getenv portion with the ereg "thing". (very techincal terminology from this newbie!) This was because i was having a difficult time going from login.php to checkout_payment.php using the https: server. What do you recommend next? -pete Link to comment Share on other sites More sharing options...
sheikyerbouti Posted December 11, 2002 Author Share Posted December 11, 2002 is there any chance that the redirect code mentioned previously (and included below) is in another file rather than checkout_success.php? I've been all over this file and i can't find it anywhere. Thanks, pete Link to comment Share on other sites More sharing options...
sheikyerbouti Posted December 11, 2002 Author Share Posted December 11, 2002 ooops..... forgot to include the code. here 'tis: tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string, 'SSL')); thanks. -pete Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.