Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

No Padlock


fgwhite

Recommended Posts

Posted

Help! I loosing sales (and patience).

 

I have worked configure.php over and over but can't get the $!@# padlock to show.

 

The page comes up with https:. I read somewhere that absolute images might be the culprit. It appear that all my images are relative. I'd apprecite someone looking over my configure file (below) to see if something's out of whack.

 

define('HTTP_SERVER', 'http://whitecapcomputer.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.whitecapcomputer.com'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'whitecapcomputer.com');

define('HTTPS_COOKIE_DOMAIN', 'whitecapcomputer.com');

define('HTTP_COOKIE_PATH', '/oscommerce-2.2ms2/catalog/');

define('HTTPS_COOKIE_PATH', '/oscommerce-2.2ms2/catalog/');

define('DIR_WS_HTTP_CATALOG', '/oscommerce-2.2ms2/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/oscommerce-2.2ms2/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/');

Thanks!

 

Frank

 

Ever wish people could recover from a "fatal error?"

Posted

Hi Frank.

 

It looks like your configs don?t match your SSL certificate.

 

When I went to your site (www.whitecapcomputer.com), I looked at your SSL certificate. Your certificate says that it is for www.whitecapsolutions.com, not whitecapcomputer.com. I then noticed, when clicking "my account", that the domain name flipped to https://whitecapsolutions.com, which isn?t exactly matching www.whitecapsolutions.com nor the www.whitecapcomputer.com listed in your configs.

 

Looks like your domain names are tangled. Given that your certificate is issued for www.whitcapsolutions.com, I would suggest you explore changing your configs to match that.

 

IHTH

 

-Bill

Posted

:) Is there any way to secure the admin with ssl? I have installed the cert and I tried browsing from https:. but it does not stick. When I click tools, catalog, configuration, etc. it goes back to http.

Posted

Sunnyboy, have you set SSL to TRUE in admin/includes/configure.php ?

  • 3 weeks later...
Posted

Since I own my SSL cert does this mean that my cart needs to be under the same domain as the cert? Whitecapcomputer.com is a virtual domain under whitecapsolutions.com and they both are on the same server. I prefer to use the cart under whitecapcomputer.com.

 

I have changed configure.php as shown below:

 

?

define('HTTP_SERVER', 'http://whitecapcomputer.com'); // eg, http://localhost - should not be empty for productive servers

? define('HTTPS_SERVER', 'https://www.whitecapsolutions.com/whitecapcomputer'); // eg, https://localhost - should not be empty for productive servers

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

? define('HTTP_COOKIE_DOMAIN', 'whitecapcomputer.com');

? define('HTTPS_COOKIE_DOMAIN', 'www.whitecapsolutions.com/whitecapcomputer');

? 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/');

 

When I refresh a SSL page I see the padlock briefly and it disappears.

Thanks!

 

Frank

 

Ever wish people could recover from a "fatal error?"

  • 2 weeks later...

Archived

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

×
×
  • Create New...