Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Stuck in https://


Recommended Posts

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


Link to comment
Share on other sites


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; ?>>


<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">


<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?



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...