garywhitling Posted July 23, 2018 Share Posted July 23, 2018 Hi, Anyone have any idea why the contact form on the bottom of this page is not displaying? https://www.firstchoicemobility.com/stairlifts.html Here is the code: <p align="center"><iframe frameborder="0" height="500" src="http://easyform.acorn-partner.co.uk/52365" width="400"></iframe></p> Found this warning message when inspecting the page with Safari [Warning] [blocked] The page at about:blank was not allowed to display insecure content from http://easyform.acorn-partner.co.uk/52365. Any Suggestions? Cheers Gary Link to comment Share on other sites More sharing options...
bsmither Posted July 23, 2018 Share Posted July 23, 2018 Two possibilities: CubeCart allows only iframes from SAMEORIGIN. To bypass this, an edit will be needed in two places: * The .htaccess file shipped with CC621 has a directive that will always add SAMEORIGIN to the outgoing headers, and * There is a header command in the core code that adds SAMEORIGIN. and/or (Probably this is the case) Your site is loading under https, but the frame is loading under http. This is mixed security and the latest versions of browsers generally do not allow for this. Please leave off the http: having simply the leading double-slash. The browser will then use the protocol the main page used to be fetched. Then, the page coming into the frame could also have its headers say SAMEORIGIN. Link to comment Share on other sites More sharing options...
garywhitling Posted July 23, 2018 Author Share Posted July 23, 2018 Hi Brian, As always you have found the solution I simply removed the http: and presto its works! <p align="center"><iframe frameborder="0" height="500" src="//easyform.acorn-partner.co.uk/52365" width="400"></iframe></p> Thanks Gary Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.