Error url is not on the same domain

Permalink Browser Info Environment
I am having problems getting the block to work. I keep getting this error message even thought it is on the same domain

error message is …

Error url is not on the same domain

The block works perfectly in Safari but I get the error message in firefox, and IE. The url ishttp://www.swishbp.co.uk/index.php/installation/...

and the iframe block is on the knowledge tester tab

Type: Discussion
Status: New
JonRimmer
View Replies:
GrandForksCAP replied on at Permalink Reply
GrandForksCAP
What tab module are you using?

Dis you modify the tab or iframe code?
JonRimmer replied on at Permalink Reply
JonRimmer
I am using Area Splitter and not modified either block just used them as standard
hugo replied on at Permalink Reply
hugo
Hello, sorry for not replying before, if you still need an answer, made me know and I will answer quickly.

Hugo.
JonRimmer replied on at Permalink Reply
JonRimmer
Hi Hugo

Yes I would really like a solution to this problem. At the moment I have taken down the iFrame block and replaced it with some code which doesn't give the error. If you want me to put a test page up so you can see the error let me know
johnlewisdesign replied on at Permalink Reply
johnlewisdesign
Hi I'm getting the same thing on mine. I'm trying to link a soundcloud iframe to my website.

Makes me wonder why you would need an iframe at all if its on the same domain...hoping its just an oversight on my part.

Mind you, I am only 20hrs into C5 and can't get a page to link up yet so its probably me!
johnlewisdesign replied on at Permalink Reply
johnlewisdesign
As I thought - there's no way to make a dynamic IFRAME cross-domain, its just not possible.

Therefore this module cannot be used to load pages outside of the domain. Which begs the question why would you need an IFRAME at all! LOL.

I thought this was too good to be true, just a limitation of the www in general. Thanks anyway, it looks well put together.
afixia replied on at Permalink Reply
afixia
In the packages/dynamic_iframe/blocks/dynamic_iframe/view.php on line 110 in my version (1.61) there is this code:

alert('Error url is not on the same domain');


You and just comment this line out with two forward slashes like so:

//alert('Error url is not on the same domain');

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.