Guest Posted May 22, 2006 Posted May 22, 2006 Clicking on "add to cart" was leading me to "your cart is empty". I fix it by changing application_top.php this way: // set the type of request (secure or not) $request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL'; //I add this line: $request_type = (eregi ($HTTP_HOST, HTTPS_SERVER)) ? 'NONSSL' : 'SSL'; Now "add to cart" is OK and I can complete a purchase, but the registration is insecure. (Before adding the line in application_top.php security was working) What is wrong, this way or the other? How do I fix it to receive security and purchase alltogether?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.