drone Posted February 6, 2007 Share Posted February 6, 2007 Need a little help with making links that work with my SSL. I currently have a links like below in my footer, could someone pls tell me the correct code for this? <a href="shipping.php" class="style7">Shipping & Returns</a> Would this be what's creating my Unautheticated content with the SSL? Thanks, Link to comment Share on other sites More sharing options...
drone Posted February 6, 2007 Author Share Posted February 6, 2007 Ah think i have it... <?php echo '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . 'Shipping' . '</a>'; ?> Link to comment Share on other sites More sharing options...
GulSar Ray's Posted February 6, 2007 Share Posted February 6, 2007 Need a little help with making links that work with my SSL. I currently have a links like below in my footer, could someone pls tell me the correct code for this? <a href="shipping.php" class="style7">Shipping & Returns</a> Would this be what's creating my Unautheticated content with the SSL? Thanks, Hello, For secure site , the link should conatins the https :// so ]<a href="<?php echo HTTPS_SERVER?>shipping.php" class="style7">Shipping & Returns</a> Hard Work Is The Simplest Way Of Success Link to comment Share on other sites More sharing options...
drone Posted February 6, 2007 Author Share Posted February 6, 2007 I have tried the above and I'll still getting Unautheticated content padlock with the SSL? I have check that all images use: <?php echo tep_image(DIR_WS_IMAGES . 'bottombend.gif', '', '747', '24'); ?> And all links are currently use: <a href="<?php echo HTTPS_SERVER?>/shipping.php" class="style7">Shipping & Returns</a> I have spend days on this issue, :'( Link to comment Share on other sites More sharing options...
drone Posted February 6, 2007 Author Share Posted February 6, 2007 I have just changed the code for links to: <a href="<?php echo tep_href_link(FILENAME_SHIPPING, '', 'SSL')?>">Shipping & Returns</a> But im still having the same 'Contains Unauthorised Content' Padlock. Any ideas anyone?, is there a tool to help check whats causing the problem? Thanks Link to comment Share on other sites More sharing options...
satish Posted February 7, 2007 Share Posted February 7, 2007 well if the images are coming from a non https links then this will happen. In case You are SSL is false or any other image is coming from a non SSL links then You may get a message that some contents are not secured. Also paste the exact message that is displayed. Satish Mantri Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does. Link to comment Share on other sites More sharing options...
drone Posted February 7, 2007 Author Share Posted February 7, 2007 I found this on another thread which managed to fix the problem. In application_top.php: Replace: $request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL'; With this: $request_type = (eregi ($HTTP_HOST, HTTPS_SERVER)) ? 'SSL' : 'NONSSL'; Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.