Skip to Content Skip to Menu

[SOLVED] Error "HTMLIFrameElement': Blocked a frame with origin"

  • fede312
  • fede312
  • OFFLINE
  • Posts: 166
  • Thanks: 28
  • Karma: 1
7 years 1 month ago - 7 years 1 month ago #296951 by fede312
When I'm on the CB home page (User Mandatory) I get the following js error in the inspector

Uncaught DOMException: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin " insidepiano.com " from accessing a cross-origin frame.
at contents ( insidepiano.com/media/jui/js/jquery.min.js?3cf99efe489a4f2f1526e42acaef7ba3:2:26887 )
at Function.map ( insidepiano.com/media/jui/js/jquery.min.js?3cf99efe489a4f2f1526e42acaef7ba3:2:3613 )
at a.fn.init.n.fn.(anonymous function) [as contents] ( insidepiano.com/media/jui/js/jquery.min.js?3cf99efe489a4f2f1526e42acaef7ba3:2:27001 )
at insidepiano.com/insidepiano-community:369:33


These errors appear on by one, as if it is an active process, and they go up to the thousands.
It seems to be happening on the CB Home page and it's coming from the jquery.min site within the media folder.
Can you help me understand what this means?

I've attached a screenshot as well,

Thanks a bunch!
Attachments:
Last edit: 7 years 1 month ago by krileon. Reason: Added [SOLVED] tag to subject

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
7 years 1 month ago - 7 years 1 month ago #296970 by krileon
It's not coming from CB, but from Joomlas jQuery. Probably a 3rd party module or your Joomla template is my best guess. If is happening on your profile could be a Custom HTML field you've configured. The error doesn't make much sense the origin and domain are the same so the iframe shouldn't have any issues communicating unless the domain you're on is different from the domain in the iframe (e.g. http vs https or www vs non-www).


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 7 years 1 month ago by krileon.
The following user(s) said Thank You: fede312

Please Log in or Create an account to join the conversation.

  • fede312
  • fede312
  • OFFLINE
  • Posts: 166
  • Thanks: 28
  • Karma: 1
7 years 1 month ago #296986 by fede312
Thank you for input, your ideas actually helped me to isolate the issue.
It was coming from the membership Tab, from one of the CBsubs plans, in which I embedded a Vimeo video in the description, as soon as I deleted the video the problem went away. The issue might have been caused because my vimeo channel is set to private, although it is allowed to show videos on my domain on the setup, somehow embedding it in the description created that issue.

Thanks
The following user(s) said Thank You: krileon

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum