lee246 Posted September 8, 2005 Share Posted September 8, 2005 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 More sharing options...
lee246 Posted September 8, 2005 Author Share Posted September 8, 2005 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 More sharing options...
AlanR Posted September 8, 2005 Share Posted September 8, 2005 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. <{POST_SNAPBACK}> 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 More sharing options...
lee246 Posted September 8, 2005 Author Share Posted September 8, 2005 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. <{POST_SNAPBACK}> 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 More sharing options...
♥PassionSeed Posted September 8, 2005 Share Posted September 8, 2005 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? <{POST_SNAPBACK}> :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 More sharing options...
lee246 Posted September 9, 2005 Author Share Posted September 9, 2005 Hi Wanda. I shall give this method a go. Thanks. Link to comment Share on other sites More sharing options...
lee246 Posted September 9, 2005 Author Share Posted September 9, 2005 Hi, I tried the method described above, and I now no longer get the secure and insecure popup, however, my images do not show when in the secure part of the site. Link to comment Share on other sites More sharing options...
FalseDawn Posted September 9, 2005 Share Posted September 9, 2005 Use the tep_image() function - it's what it's there for! It references an image using a relative path, and the <base href=...> takes care of the HTTP/HTTPS side. Link to comment Share on other sites More sharing options...
lee246 Posted September 9, 2005 Author Share Posted September 9, 2005 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 More sharing options...
FalseDawn Posted September 9, 2005 Share Posted September 9, 2005 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 More sharing options...
lee246 Posted September 10, 2005 Author Share Posted September 10, 2005 Done it now. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.