Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Oscommerce SSL padlock missing


slr1

Recommended Posts

Hello all,

 

I'm posting this here after sifting through all the posts on this topic in the forum. I installed a SSL certificate on my server and modified my configure.php files in my catalog and admin area. When I click on the checkout button, the link changes to https://.... , but the padlock does not appear. When I hit the refresh button, I can see it flicker briefly and then disappear :(

 

I would be grateful for any tips and pointers as to what I am doing wrong.

 

my configure file is as follows:

 

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

define('HTTPS_SERVER', 'https://www.xxxx.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.xxxx.com');

define('HTTPS_COOKIE_DOMAIN', 'www.xxxx.com');

define('HTTP_COOKIE_PATH', '/store/');

define('HTTPS_COOKIE_PATH', '/store/');

define('DIR_WS_HTTP_CATALOG', '/store/');

define('DIR_WS_HTTPS_CATALOG', '/store/');

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', 'D:/Websites/xxxx.com/store/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

 

where xxx is my domain name. I have a dedicated certificate.

Link to comment
Share on other sites

Hello all,

 

I'm posting this here after sifting through all the posts on this topic in the forum. I installed a SSL certificate on my server and modified my configure.php files in my catalog and admin area. When I click on the checkout button, the link changes to https://.... , but the padlock does not appear. When I hit the refresh button, I can see it flicker briefly and then disappear  :(

 

I would be grateful for any tips and pointers as to what I am doing wrong.

 

my configure file is as follows:

 

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

  define('HTTPS_SERVER', 'https://www.xxxx.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.xxxx.com');

  define('HTTPS_COOKIE_DOMAIN', 'www.xxxx.com');

  define('HTTP_COOKIE_PATH', '/store/');

  define('HTTPS_COOKIE_PATH', '/store/');

  define('DIR_WS_HTTP_CATALOG', '/store/');

  define('DIR_WS_HTTPS_CATALOG', '/store/');

  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', 'D:/Websites/xxxx.com/store/');

  define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

  define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

where xxx is my domain name. I have a dedicated certificate.

 

 

your define('DIR_FS_CATALOG', 'D:/Websites/xxxx.com/store/'); is set to D: ?

 

it should be something like define('DIR_FS_CATALOG', '/home/public_html/yourdomain.com/catalog/');

 

Also is the missing padlock the only problem - i.e no other errors or alerts ?

 

Charles

A kite flies highest AGAINST the wind !

 

"Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"

Link to comment
Share on other sites

your  define('DIR_FS_CATALOG', 'D:/Websites/xxxx.com/store/'); is set to D: ?

 

it should be something like define('DIR_FS_CATALOG', '/home/public_html/yourdomain.com/catalog/');

 

Also is the missing padlock the only problem - i.e no other errors or alerts ?

 

Charles

 

yes, that seems to be the only problem. No other errors. In fact when I click on the empty spot where the padlock "should" be displayed, I get the information about the certificate.

 

I tried making the change suggested in another thread in application_top as follows

 

[comment out the line and replace with another

// $request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL';

 

$request_type = (eregi ($HTTP_HOST, HTTPS_SERVER)) ? 'SSL' : 'NONSSL'; ]

 

What this does, is show the padlock, but once I get into checkout mode, everything seems to be secured...even the catalog. I'm not sure that I want this.

 

thanks for any suggestions !

Link to comment
Share on other sites

yes, that seems to be the only problem. No other errors. In fact when I click on the empty spot where the padlock "should" be displayed, I get the information about the certificate.

 

I tried making the change suggested in another thread in application_top as follows

 

[comment out the line and replace with another

//  $request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL';

 

  $request_type = (eregi ($HTTP_HOST, HTTPS_SERVER)) ? 'SSL' : 'NONSSL'; ]

 

What this does, is show the padlock, but once I get into checkout mode, everything seems to be secured...even the catalog. I'm not sure that I want this.

 

thanks for any suggestions !

 

OK - Glad that change helped but when in checkout - everything should be in secure mode - this is where your customer is sending you their info :D

 

Why would you prefer the checkout process not to be encrypted ?

 

Charles

A kite flies highest AGAINST the wind !

 

"Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"

Link to comment
Share on other sites

OK - Glad that change helped but when in checkout - everything should be in secure mode - this is where your customer is sending you their info  :D

 

Why would you prefer the checkout process not to be encrypted ?

 

Charles

 

I meant that once I get into the checkout process, "everything" I do after that is in the encyrpted mode i.e even when I navigate back to the home page of my store. I don't think I want that.

 

Can I email you rather than post ? :)

 

thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...