Jump to content
Sign in to follow this  
garywhitling

Contact Form not displaying on page

Recommended Posts

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

Edited by garywhitling

Share this post


Link to post
Share on other sites

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.

  • Thanks 1

Share this post


Link to post
Share on other sites

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

Edited by garywhitling

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×