Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Where is my padlock


matti

Recommended Posts

Hey all,

First of all i would like to thank everyone that replied and passed their input to sort out my padlock prob....Didnt expect to get so many replies...I going to study every mail.....I hope this works for me...Im sure to let you know....Thanks coders for giving your time and knowledge to us mere mortal users that love this program,but find it hard to play with the php files.....Cheers guys and Doll

Matt :D

Link to comment
Share on other sites

  • Replies 67
  • Created
  • Last Reply

Have read this topic and implemented all your instructions and wayyy haayyyy i now have my padlock...Thank you all so much for your valuable input.....This Noob can now move forward....Cheers :) :) :) :)

Link to comment
Share on other sites

  • 1 month later...

Hi all,

 

been having trouble with the padlock appearing in ie also it appears in firefox but it has a red tick on it.

 

i know the problem is that the links in the nav when on a secure page are still pointing to unsecure pages.

 

to get the padlock to appear in ie i had to set define('HTTP_CATALOG_SERVER', 'https://www.impactglazing.co.uk');

for both configure.php files.

 

in ff it still appears with a red tick on it.

ive checked my cofigure files and they are correct.

 

I have got no links with http:// in the coding.

 

Any ideas what the problem could be.

the site has quite a lot of customisation.

linky thingy

 

cheers.

Link to comment
Share on other sites

The problem, as you mention, is an non-secured link on the page. You need to find it and disable for ssl pages.

 

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

The problem, as you mention, is an non-secured link on the page. You need to find it and disable for ssl pages.

 

Jack

 

I am confused now.

i thought the problem was links on the pages pointing to non-secure pages on my site.

 

i looked at a few oscommerce sites and they still have these types of links but the padlock still appears without a red line through it.

 

then i thought AHHHH! maybe its links to non secure pages outside of my site.

 

again looked at a few oscommerce sites and again there were links pointing to non secure pages on another site.

 

now im not sure what the problem is at all.

andy.............

Link to comment
Share on other sites

It is caused by a link to some web page that is not secure. There is no easy way to find that on a live shop though.

 

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 is caused by a link to some web page that is not secure. There is no easy way to find that on a live shop though.

 

Jack

 

i have only one link pointing to an insecure page on another site ( on each page ).

 

tried removing that still no change.

no hotlinked images.

 

there are links to non secure pages on the same site but they dont matter do they?

 

thanks andy willhavenohairsoon.

Link to comment
Share on other sites

change all http:// links to https:// links.

 

For instance, I have a link pointing to macromedia.com for my flash file. Instead of http://www.macromedia.com, I have https://www.macromedia.com ... that avoids all errors.

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

change all http:// links to https:// links.

 

For instance, I have a link pointing to macromedia.com for my flash file. Instead of http://www.macromedia.com, I have https://www.macromedia.com ... that avoids all errors.

 

if i do that the whole site will be secure and i wont get indexed by search engines.......?

 

is that what you mean the whole site ssl?

 

cheers

Link to comment
Share on other sites

if i do that the whole site will be secure and i wont get indexed by search engines.......?

 

is that what you mean the whole site ssl?

 

cheers

 

ok the site will still be indexed by serchengines since the pages are still accessible via http:

 

am i right?

 

this is not the way i want to go with this just want secure pages if they need to be.

 

andy

Link to comment
Share on other sites

Hi AGAIN :'(

 

ok gonna ramble a bit....

 

on my site most of the links i have coded thus:

 

tep_href_link(FILENAME_WHATEVER)

 

will it make a difference if i code them like this? ...

 

tep_href_link(FILENAME_WHATEVER, '', 'SSL')

tep_href_link(FILENAME_WHATEVER, '', 'NONSSL')

 

spent all night on finding the solution. this is the only thing i could come up with that might cause it.

 

Please tell me im right.... :blush:

 

andy

Link to comment
Share on other sites

if i do that the whole site will be secure and i wont get indexed by search engines.......?

 

is that what you mean the whole site ssl?

 

cheers

 

You make sure ALL pages that are secured -- this means login, create_account, checkout, etc., and any other page that requires data input from the end user (and is https://) -- you make sure that ALL secured pages have the https:// links to the images, and flash files, or whatever, instead of http://. For instance, on my index.php, which isn't even a secured page, my flash file is like this:

 

<EMBED src="theflashfile.swf" width=400 height=208 align=middle swLiveConnect=true pluginspage="https://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" LOOP=FALSE bgcolor=#808080 name="theflashfile">

</EMBED>

 

I get crawled just fine by spiders, and I have no SSL issues. But you need to do what I did (above) to every page that requires data input and henche data encryption (login, create_account, checkout, etc.). Good luck.

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 have only one link pointing to an insecure page on another site ( on each page ).

 

tried removing that still no change.

no hotlinked images.

 

there are links to non secure pages on the same site but they dont matter do they?

 

thanks andy willhavenohairsoon.

You may have links that are not displayed, as with google analytics. They will cause it too.

 

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

Hi again.

 

ok ive discovered somthing others might find useful.

 

ive only done this with one page ( contact us page ) that i wanted secure ( will try the others later)

 

to make my padlock appear with out the red line through it in firefox and to get it to appear in ie.

on the contact us page i found this line:

 

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

 

and i changed it to this

 

<base href="<?php echo  HTTPS_SERVER . DIR_WS_CATALOG; ?>">

 

and the padlock appears perfectly!!!!

 

will edit this line on all my secure pages and hopefully bobs your sisters uncle :thumbsup:

 

without changing any other code lalalalala.

 

Cheers Andy Patshimselfontheback.

Link to comment
Share on other sites

That's going to always make the page a secure page but it shouldn't have any effect on the error you are getting. The only thing I can think of is that your host is not using a standard port for ssl. Take a look at this thread to test that.

 

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

That's going to always make the page a secure page but it shouldn't have any effect on the error you are getting. The only thing I can think of is that your host is not using a standard port for ssl. Take a look at this thread to test that.

 

Jack

 

cheers jack that sorted it.... Many Thanks

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...