burtonsnow8 Posted October 9, 2009 Posted October 9, 2009 My https works but is showing with a little red exclamation point. I know this means my pages have links with http in them. I've done a search of the source code and the links that do have http in them are coming from the tep_href_link function (I noticed this because originally I was using that function in my sts template and those links were showing with http and not https). I have set in all my configure files and made sure to enable SSL. Some links from the sts code ($categoriesbox, $myaccount, etc) are showing in https. The search one is not, with the search form and advanced search links in http (this may be another tep_href_link error). I've searched just about everywhere but am not sure what is causing this issue if you need. airflowresearch dot com
p2409 Posted October 9, 2009 Posted October 9, 2009 My https works but is showing with a little red exclamation point. I know this means my pages have links with http in them. I've done a search of the source code and the links that do have http in them are coming from the tep_href_link function (I noticed this because originally I was using that function in my sts template and those links were showing with http and not https). I have set in all my configure files and made sure to enable SSL. Some links from the sts code ($categoriesbox, $myaccount, etc) are showing in https. The search one is not, with the search form and advanced search links in http (this may be another tep_href_link error). I've searched just about everywhere but am not sure what is causing this issue if you need. airflowresearch dot com Browse the HTML source coming up in your browser. There will be an 'http://' link in there somewhere which is causing the problem. Find it (them) and try and fix wherever they're coming from to relative references. ps. Your link is a mess, and the certificate is home made/invalid/expired or something anyway. Have you just changed your site? If so, update your posting to stop wasting people's time looking it up. OSC User Definitions "I can add modules to OSC" = I can search, cut and paste. But not well, or I wouldn't be here. "I start my posting with 'works like a charm' = I'm letting you down gently, nothing works and I have no idea why "I finish postings with "plzzzz....hlp" = My installation is buggered and I know I'm going to have to pay someone, but I really, really don't want to.
burtonsnow8 Posted October 10, 2009 Author Posted October 10, 2009 Browse the HTML source coming up in your browser. There will be an 'http://' link in there somewhere which is causing the problem. Find it (them) and try and fix wherever they're coming from to relative references. I've done that. It looks like they are coming from the tep_href_link function though, which is suppose to display in https when accessing a secure part of my site, but it is not. I don't know what to do.
germ Posted October 10, 2009 Posted October 10, 2009 You have the old style Google analytics code on your page. That'l screw up your SSL Read this Linsk to http pages won't mes up your SSL Just when you load scripts or images from HTTP sources. 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 >
burtonsnow8 Posted October 10, 2009 Author Posted October 10, 2009 Thank you germ! Fixed it right away. also appreciate the explanation of things!
burtonsnow8 Posted October 14, 2009 Author Posted October 14, 2009 Thank you germ! Fixed it right away. also appreciate the explanation of things! Ok so https shows up fine, but those http links are causing a problem when someone wants to go from a secure page to the non secure page (i'm assuming because the link is http, not https). Basically if you go to any https page of my website and then do a search from the left menu it gives me a security warning (you are entering information that is being sent to a non-secure page). I know that since its search information it is most likely not harmful, but users don't like to see security warnings on websites that they might be making a payment to. I'm using sts template to create that box there, if that helps any. Also, my tep_href_link function doesn't create https links.
germ Posted October 14, 2009 Posted October 14, 2009 I know absolutely ZILCH about STS but here's how you fix it in "standard" osC code. In /includes/boxes/search.php find this code: $info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'), Change to: $info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', $request_type, false), 'get'), That preserves the connection mode (SSL or NONSSL). And you only get that message (you are entering information that is being sent to a non-secure page) in Firefox. IE is fine with the code the way it is. 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 >
burtonsnow8 Posted October 14, 2009 Author Posted October 14, 2009 worked like a dream! once again thanks jim!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.