Forum Discussion

uamato's avatar
uamato
Contributor
14 years ago

r&r and https

Hello - we are having issues with ratings and reviews working with https on our site. for example, please click the ratings and reviews on the right side of this page.

https://www.24hourfitness.com/FindClubDetailGeneric.do?clubid=00337

 

any ideas on how we can remedy this asap? thanks!

 

 

1 Reply

  • AdamA's avatar
    AdamA
    Khoros Alumni (Retired)
    14 years ago

    I noticed that you are using a snippet of JS to load our snippet of JS onto the page.  Your snippet of JS appears to be failing on the https version. 

     

    Here is the snippet:

     

    var clubNumberFull = getCookie("club");
    var mydomain="http://"+window.location.hostname;
    HttpRequest(mydomain+"/snippets/product_php.html?club_id="+clubNumberFull);

     

    When I run this directly in the console (like Firebug) I get this error on the https page:

     

    "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE)"

      

    When I run this same snippet on the http page I get what appears to be a valid response with our JS code in it.

     

    Adam