Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Secure and non secure warning on secured pages.


lee246

Recommended Posts

On every secure page I keep getting a secured and non secure warning message popping up. Does anyone know what is causing this? I'm guessing it could be to do with cookies?

I'm using a shared ssl cert, but this problem has only just started to happen recently.

Its really off putting to any potential customers.

Link to comment
Share on other sites

I've since discovered this problem is from me displaying a paypal verified seal and also a nochex member icon. I really would like these to remain on my site as I think they help the customer to fell like they are in a trustworthy secure environment.

Is there any way around this?

Thanks.

Link to comment
Share on other sites

I've since discovered this problem is from me displaying a paypal verified seal and also a nochex member icon. I really would like these to remain on my site as I think they help the customer to fell like they are in a trustworthy secure environment.

Is there any way around this?

Thanks.

The simplest way is to use an https link to those images. I'm pretty sure they're available.

 

Failing that you can set up a test so as not to display those images when the site is in an https mode.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

The simplest way is to use an https link to those images. I'm pretty sure they're available.

 

Failing that you can set up a test so as not to display those images when the site is in an https mode.

Hi Alan, I tried the https link method but there isn't one available.

How would I go about Disabling the images when in https mode?

Link to comment
Share on other sites

Hi Alan, I tried the https link method but there isn't one available.

How would I go about Disabling the images when in https mode?

 

:P Hi lee246, I've encountered this problem. The fix was to not use <a href="http://..."> when defining where your images are. Use <a href="./..."> instead. It will automatically default to either http or https.

Link to comment
Share on other sites

Hi, i'm a beginner with php so I find it difficult to do anything other than alter code as directed.

How would I implement what you said into this line of code?

a href="https://www.paypal.com/verified/pal=******@***********" target="_blank"><img src="/shop/images/verification_seal.gif" border="0" alt="Official PayPal Seal"></A>');

Thanks.

Link to comment
Share on other sites

It's not hard, and I'm not going to do it for you.

Look at an exisitng piece of code, eg this in header.php:

 

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>

 

 

 

It should be fairly obvious how to adapt this to your needs.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...