clc701 Posted January 10, 2012 Share Posted January 10, 2012 SSL works on the entire site except for on the main page. When clicking on the login link you don't get a secure SSL. www.clcpublications.com is our website. Anyone know why this would be happening? Thanks Link to comment Share on other sites More sharing options...
germ Posted January 10, 2012 Share Posted January 10, 2012 It's probably miscoded. If you want a link to use SSL you have to supply the 'SSL' as the 3rd parameter in the tep_href_link() If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
clc701 Posted January 10, 2012 Author Share Posted January 10, 2012 Here is a piece of the code. Where exactly would I put the SSL? [/code] Link to comment Share on other sites More sharing options...
clc701 Posted January 10, 2012 Author Share Posted January 10, 2012 Sorry left the code off <?php if (tep_session_is_registered('customer_id')) { echo '<a href="' . tep_href_link(FILENAME_LOGOFF) . '" class=ml1>Customer Logout</a><span class=ch1></span><img src=images/m02.gif width=1 height=11><a href="account.php" class=ml1"></a>'; } else { echo '<a href="' . tep_href_link(FILENAME_LOGIN) . '" class=ml1>Customer Login</a><span class=ch1></span><img src=images/m02.gif width=1 height=11>'; } ?> Link to comment Share on other sites More sharing options...
clc701 Posted January 10, 2012 Author Share Posted January 10, 2012 Thanks Jim, I figured it out with help from your post. Just added the SSL in as a parameter like you said. <?php if (tep_session_is_registered('customer_id')) { echo '<a href="' . tep_href_link(FILENAME_LOGOFF) . '" class=ml1>Customer Logout</a><span class=ch1></span><img src=images/m02.gif width=1 height=11><a href="account.php" class=ml1"></a>'; } else { echo '<a href="' . tep_href_link(FILENAME_LOGIN, '', 'SSL') . '" class=ml1>Customer Login</a><span class=ch1></span><img src=images/m02.gif width=1 height=11>'; } ?> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.