Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ssl padlock


phpsurfer

Recommended Posts

Hi,

I have a a new ssl certeficat, but im having some problems. The url show "https", but tere isnt padlock in the bar. Is my configure file ok? What could it be. Hope you understand my poor english.

 

Thanks

phpsurfer

 

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://www.loja.com); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www.loja.com'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.loja.com');
 define('HTTPS_COOKIE_DOMAIN', 'www.loja.com');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');
 define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_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/');

 define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', '/home/lojadasd/public_html/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'xxxxxxxx');
 define('DB_SERVER_PASSWORD', 'xxxxxxxxxx');
 define('DB_DATABASE', 'xxxxxxxxx');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

Link to comment
Share on other sites

If your site is loading into the https as it should then take a look at your images on the secure pages and/or your code for those images.

 

It could be that some images on the page arent loading from the secure area of your site. Be sure when coding the images to just put /images/ rather than http://www.mysite.com/images/ as the link so that the https loads properly.

 

Test the page in explorer, I believe an error box will come up if some elements of the page arent secure.

Link to comment
Share on other sites

That problem doesn't have anything to do with images. It is usually caused by a non-secure link on the page. You should be getting messages saying that though if that is the case.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Yes it is the correct configure file but there are some hosting environments where you actually have to make a code change to get the padlock to display.

 

1and1hosting is one company that requires it and the patch is on the forum somewhere> If you search on SSL Padlock I think you will find it. I vaguely remember it is in application top.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...