Shopping cart problem blocked a framewith origin from accessing a cross origin frame
Autor: Steve D.
Besucht 2557,
Followers 1,
Geteilt 0
Hi, I'm quite new to all of this so i'm leraning a lot. I uploaded my site with a shopping cart to my provider. everythung goes ok until you try to add a product to the cart. In IE 11 I get a popup: access denied, in chome i get the message Blocked a frame with origin "my providers URL for site" from accessing a cross origing frame.
Who knows what to do ?
Gepostet am
Hello Steve,
This happens when part of your site's JavaScript code attempts to access another domain...
e.g. http://yourdomain.com tries to access http://anotherdomain.com via JavaScript
With respect to how this relates to WebSite X5... check that you have entered your website address (URL) correctly in Step 1 General Settings... be particular careful to maintain uniformity in all your links throughout a project... choose either:
http://yourdomain.com
or
http://www.yourdomain.com
and ensure that all project links use the 'www' or 'non-www' version as appropriate.
Also check that there are no rewrite/redirect rules in your .htaccess file on your server, which could cause similar problems... your webhost will be able to advise.
Lastly, if using SSL be very careful that there are no calls made to unsecured pages or objects...
https://yourdomain.com
cannot attempt to access...
http://yourdomain.com
Hope this helps...
If you're still struggling then please post a link to your website and we may be able to pinpoint the cause.
Kind regards,
Paul
Autor
Hi , the websites url is http://www.kippendeurtjes.be and it's hosted on
http://kippendeurtjes.be.apache22.hostbasket.com/
Best regards
Steve
That's your problem, Steve... you will have to decide on one or the other:
http://www.kippendeurtjes.be/
or
http://kippendeurtjes.be.apache22.hostbasket.com/
You cannot mix hyperlinks to both.
You should have a word with your webhost on how best to resolve this. You need to ensure that your project hyperlinks all point consistently to the same domain (at least where JavaScript is concerned)
If you set your WebSite URL in Step 1 to be http://kippendeurtjes.be.apache22.hostbasket.com/ then the issue should disappear... you could then do a 301 redirect in .htaccess to point all http://www.kippendeurtjes.be/ files to http://kippendeurtjes.be.apache22.hostbasket.com/
But have a word with your host... this is a hosting issue, and not directly related to WebSite X5 as such.
Good luck!
Paul
Autor
Hi Paul; Indeed it was a setting on my hosting providers server. Had to change that and now it's working. Thx for the hint and the support.
Best regards
Steve