Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

https: becomes http:


Recommended Posts

Posted

I have searched this forum and looked through numerous php files in my cart and am unable to see why all links from https://secure.progesterone.com/web_store take you to http://secure.progesterone.com/web_store/......whatever.html.

 

Additionally, when I open /web_store/checkout_shipping.php for editing I find the following:

 

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

<base href="<?php echo (getenv('HTTPS') == 'on' ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

<link rel="stylesheet" type="text/css" href="stylesheet.css">

 

but am not sure how to edit this script or even if this would solve the problem.

 

Any suggestions would be most appreciated.

 

David

Posted

Take a look at your /includes/configure.php file.

 

Make sure that...

  define('HTTPS_SERVER', '');

is defined correctly.

 

Good Luck.

 

-R

Posted

Thanks.

 

It reads:

 

define('HTTP_SERVER', 'http://secure.progesterone.com');

define('HTTPS_SERVER', 'https://secure.progesterone.com');

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

 

David

Posted

and is it working correctly now?

 

-R

Posted

VOILA!

 

I changed

 

 

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

 

to:

 

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

 

and it worked!

 

Thanks for your direction.

 

David

Archived

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

×
×
  • Create New...