Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Where is my padlock


matti

Recommended Posts

Please help guys/dolls

I have a dedicated secure server.....when i go to the log in page, or create account...my page does change to https:// my webby....But i dont have the padlock at the bottom of the page to indecate its secure....I really need to sort this 1 out.....anyone knows where i maybe going wrong.

Cheers

Matti :(

Link to comment
Share on other sites

  • Replies 67
  • Created
  • Last Reply

That is too funny. I just asked this question on the same forum not 5 minutes ago. No response yet.

 

Is it that you can view other folders in your webroot and the lock appears but in the osCommerce root, the lock disappears?

 

That's what is happening to me.

Link to comment
Share on other sites

That is too funny. I just asked this question on the same forum not 5 minutes ago. No response yet.

 

Is it that you can view other folders in your webroot and the lock appears but in the osCommerce root, the lock disappears?

 

That's what is happening to me.

 

lol yea you got it M8....Hopefully not to many people are laughing at us.....But looking at your post, your a noob like me.......Give us a break all you master coders......we are users....We leave all the hard bit to you brainy sods....Just wish i knew or could take in just an pinch of what ppl put on this forum,,,,Put 2 of us out of our misery will ya

Matt

Link to comment
Share on other sites

Search the forums for SSL and you will find thousands of posts asking about this question.

 

[1] Do you have external banners?

[2] is configure.php HTTP_SERVER set to https://...

[3] is configure.php SSL_ENABLED set to true ?

BACKUP your current files before editing. Did I mention to BACKUP your current files, first?

 

"I'm not a hero, I'm a firefighter; it is my job to save lives. I'm a Jesus Christ Firefighter saving souls from the flames!"

 

Installed contribs: Almost XP Buttons *** Attribute Sort *** Auto Thumbnail Change *** Column Product Listing (for SPPC v4.0) *** Contact Us Registered *** Country-State Selector 1.3.3J *** CC# Db Mask 1.3 *** Email Order Clickable Link *** Extra Images *** Linkpoint API CVM *** Loginbox Best *** New Spiders *** New Attrib Mgr v.5.0 w/ New Attrib Include *** Multi Product Update *** MySQL Cron *** Pricing per Category *** Product Listing in Columns v2.2 [later upgraded to CPL(SPPC)] *** Product Sort v1.6 *** Seperate Pricing Per Customer v4.15 *** Simple Down for Maintenance [Gokou] *** Ultimate_SEO_URLs_v2.2.2 *** UPS Worldship Export 1.3 *** Welcome Email username & password

Link to comment
Share on other sites

my page does change to https:// my webby....But i dont have the padlock at the bottom of the page to indecate its secure
When this has happened in my experience the SSL is usually not correctly installed.
Link to comment
Share on other sites

Please help guys/dolls

I have a dedicated secure server.....when i go to the log in page, or create account...my page does change to https:// my webby....But i dont have the padlock at the bottom of the page to indecate its secure....I really need to sort this 1 out.....anyone knows where i maybe going wrong.

Cheers

Matti :(

It sounds like you didn't enable ssl in your configure file. If you can go to https://www.yoursite.com and it displays with the lock, then your ssl is OK. That means the configure file is not setup.

 

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

It sounds like you didn't enable ssl in your configure file. If you can go to https://www.yoursite.com and it displays with the lock, then your ssl is OK. That means the configure file is not setup.

 

Jack

 

 

What are the settings should be to set up SSL?

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Link to comment
Share on other sites

What are the settings should be to set up SSL?

 

See my previous post in this column... items 2 & 3.

BACKUP your current files before editing. Did I mention to BACKUP your current files, first?

 

"I'm not a hero, I'm a firefighter; it is my job to save lives. I'm a Jesus Christ Firefighter saving souls from the flames!"

 

Installed contribs: Almost XP Buttons *** Attribute Sort *** Auto Thumbnail Change *** Column Product Listing (for SPPC v4.0) *** Contact Us Registered *** Country-State Selector 1.3.3J *** CC# Db Mask 1.3 *** Email Order Clickable Link *** Extra Images *** Linkpoint API CVM *** Loginbox Best *** New Spiders *** New Attrib Mgr v.5.0 w/ New Attrib Include *** Multi Product Update *** MySQL Cron *** Pricing per Category *** Product Listing in Columns v2.2 [later upgraded to CPL(SPPC)] *** Product Sort v1.6 *** Seperate Pricing Per Customer v4.15 *** Simple Down for Maintenance [Gokou] *** Ultimate_SEO_URLs_v2.2.2 *** UPS Worldship Export 1.3 *** Welcome Email username & password

Link to comment
Share on other sites

Search the forums for SSL and you will find thousands of posts asking about this question.

 

[1] Do you have external banners?

[2] is configure.php HTTP_SERVER set to https://...

[3] is configure.php SSL_ENABLED set to true ?

 

 

[2] is should be https://www.yourdomain.com or what

 

I know number 3 is

 

and here is my configure.php

define('HTTP_SERVER', 'http://www.mtechama.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', false); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.mtechama.com');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '');
 define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_CATALOG', '');

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Link to comment
Share on other sites

It should be

define('HTTP_SERVER', 'http://www.mtechama.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'http://www.mtechama.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.mtechama.com');
 define('HTTPS_COOKIE_DOMAIN', 'www.mtechama.com');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');
 define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_CATALOG', '/');

 

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

It should be
define('HTTP_SERVER', 'http://www.mtechama.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'http://www.mtechama.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.mtechama.com');
 define('HTTPS_COOKIE_DOMAIN', 'www.mtechama.com');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');
 define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_CATALOG', '/');

 

Jack

 

does it purpose to show a pad lock when they create an account?

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Link to comment
Share on other sites

You missed an "S". Also, if it's a very cheap SSL, some cheap SSL's don't show the padlock. Don't forget the https:// when you define the HTTPS_Server. Anyway,

 

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

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

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

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

 

J

Jason

 

Simple 1-2-3 Intructions on how to get, install and configure SSL

 

The Google Sandbox explained

 

Simple to follow instructions on how to change the look of your OSC

 

How To Make A Horrible OSC Website

 

my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP

 

my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

Link to comment
Share on other sites

You missed an "S". Also, if it's a very cheap SSL, some cheap SSL's don't show the padlock. Don't forget the https:// when you define the HTTPS_Server. Anyway,

J

 

 

I have tried that but it still didn't work if you got to http://www.mtechama.com and click on create an account you will find out

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Link to comment
Share on other sites

Are you sure you have SSL installed? I can't get any https:// site to work. Are you with a host? You need to get the CSR code from them, then go to the SSL company, buy the SSL, have them give you the key, then give the key back to the host and let them install it. Are you sure you have SSL installed?

 

J

Jason

 

Simple 1-2-3 Intructions on how to get, install and configure SSL

 

The Google Sandbox explained

 

Simple to follow instructions on how to change the look of your OSC

 

How To Make A Horrible OSC Website

 

my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP

 

my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

Link to comment
Share on other sites

the cookie domain must have the www. part removed:

 

define('HTTP_COOKIE_DOMAIN', 'www.mtechama.com');

 

But this is trivial stuff. Your SSL is not set up or configured. Get your host to do this for you or use their free (shared) one.

Link to comment
Share on other sites

Are you sure you have SSL installed? I can't get any https:// site to work. Are you with a host? You need to get the CSR code from them, then go to the SSL company, buy the SSL, have them give you the key, then give the key back to the host and let them install it. Are you sure you have SSL installed?

 

J

 

fyi - I see a padlock on your site

Many Thanks

 

Simon

Your Media Zone

 

Remember to ALWAYS BACKUP

Life is like box of chocs - You never know what your gonna get!

Do you feel lucky punk? Well do ya!

P-A-R-T WHY COS I GOTTA!

Link to comment
Share on other sites

I dont' see a padlock. In fact, I can't get any https:// page to load on his website. Are you sure your configure file is configured correctly -- assuming you have SSL installed properly?

Jason

 

Simple 1-2-3 Intructions on how to get, install and configure SSL

 

The Google Sandbox explained

 

Simple to follow instructions on how to change the look of your OSC

 

How To Make A Horrible OSC Website

 

my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP

 

my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

Link to comment
Share on other sites

I just purchase Certificate SSL with my Hosting and it install on my server and still not working here is my settings to my configure.php

 

define('HTTP_SERVER', 'http://www.mtechama.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www.mtechama.com'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'http://mtechama.com');
 define('HTTPS_COOKIE_DOMAIN','https://mtechama.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/');

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Link to comment
Share on other sites

I just purchase Certificate SSL with my Hosting and it install on my server and still not working here is my settings to my configure.php

 

define('HTTP_SERVER', 'http://www.mtechama.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www.mtechama.com'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'http://mtechama.com');
 define('HTTPS_COOKIE_DOMAIN','https://mtechama.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/');

 

You look good now. Padlock is there, secured by Valicert. You have nonsecure content on your website, and to get rid of that message "would you like to display the nonsecure items", you have to take out the http:// links in your coding.

 

So forget the <base href="http://www.mtechama.com/">. Just delete it.

Forget the <a href="http://www.mtechama.com/index.php"> ... just make it <a href="../index.php">

Forget the <a href="https://www.mtechama.com/checkout_shipping.php" class="headerNavigation"> ... just make it <a href="checkout_shipping.php">, and so on and so on.

 

Do that for all your http:// links. Make 'em without the http://. Other than that, you seem good to go.

 

J

Jason

 

Simple 1-2-3 Intructions on how to get, install and configure SSL

 

The Google Sandbox explained

 

Simple to follow instructions on how to change the look of your OSC

 

How To Make A Horrible OSC Website

 

my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP

 

my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

Link to comment
Share on other sites

You look good now. Padlock is there, secured by Valicert. You have nonsecure content on your website, and to get rid of that message "would you like to display the nonsecure items", you have to take out the http:// links in your coding.

 

So forget the <base href="http://www.mtechama.com/">. Just delete it.

Forget the <a href="http://www.mtechama.com/index.php"> ... just make it <a href="../index.php">

Forget the <a href="https://www.mtechama.com/checkout_shipping.php" class="headerNavigation"> ... just make it <a href="checkout_shipping.php">, and so on and so on.

 

Do that for all your http:// links. Make 'em without the http://. Other than that, you seem good to go.

 

J

 

What coding are you talking about?

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Link to comment
Share on other sites

In create_account.php .... and login.php

 

You have all hard links ... like <a href="http://www.metchama.com/login.php">, just put <a href="login.php"> ... get rid of the http:// on all your links. That way, you won't get that message, "would you like to display nonsecure items", etc. ...

 

Your site works good in my Mozilla, but in Internet Explorer, it's a little messed up. Nevertheless, your SSL seems to be working properly now.

 

J

Jason

 

Simple 1-2-3 Intructions on how to get, install and configure SSL

 

The Google Sandbox explained

 

Simple to follow instructions on how to change the look of your OSC

 

How To Make A Horrible OSC Website

 

my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP

 

my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

Link to comment
Share on other sites

In create_account.php .... and login.php

 

You have all hard links ... like <a href="http://www.metchama.com/login.php">, just put <a href="login.php"> ... get rid of the http:// on all your links. That way, you won't get that message, "would you like to display nonsecure items", etc. ...

 

Your site works good in my Mozilla, but in Internet Explorer, it's a little messed up. Nevertheless, your SSL seems to be working properly now.

 

J

 

Ok where do I edit the links like like <a href="http://www.metchama.com/login.php">, just put <a href="login.php">?

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Link to comment
Share on other sites

Ok where do I edit the links like like <a href="http://www.metchama.com/login.php">,'>http://www.metchama.com/login.php">, just put <a href="login.php">?

 

Do you have a PHP editor like Crimson Editor or PHP Designer 2006, Textpad, or whatever? If not, just use notepad. Go into where you keep your files on your hard drive, and open up login.php. Find the http;// links and change them around, so they don't include the http://. Do this for create_account.php also, which is located in your catalog folder (unless you renamed it). In other words, change <a href="http://www.metchama.com/login.php"> to simply <a href="login.php">, and do that for all the http:// based links. Save the files, and use your FTP tool to upload them to the proper directories on your server.

 

As an alternative, go to your ADMIN tool ... http://www.yoursite.com/catalog/admin, log in. Then click "languages", then "define". Then find your files, and edit them that way.

 

J

Jason

 

Simple 1-2-3 Intructions on how to get, install and configure SSL

 

The Google Sandbox explained

 

Simple to follow instructions on how to change the look of your OSC

 

How To Make A Horrible OSC Website

 

my toolbox: All things WordPress-related - All things Adobe-related - PHP Designer 2007 - Codecanyon Junkie - Crimson Editor - Winmerge - phpMyAdmin - WS_FTP

 

my installed contributions: Category Banners, File Upload feature-.77, Header Tags, Sort_Product_Attributes_1, XSellv2.3, Price Break 1.11.2, wishlist 3.5, rollover_category_images_v1.2, Short_Description_v2.1, UPSXML_v1_2_3, quickbooks qbi_v2_10, allprods v4.4, Mouseover-effect for image-buttons 1.0, Ultimate_SEO, AAP 1.41, Auto Select State Value, Fast Easy Checkout, Dynamic SiteMap v2.0, Image Magic, Links Manager 1.14, Featured Products, Customer Testimonials, Article Manager, FAQ System, and I'm sure more ...

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...