Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

ajax iframe content not loaded

  • 7 svar
  • 7 har detta problem
  • 1 visning
  • Senaste svar av wadoo

more options

Loading an iframe result in a blank iframe which contains only html and body tags. There is no error in the console. There is no mixed content. There is no cross site request. All is in http and relative to the same domain. I don't know if it important but the website is not under apache but nginx. Tried on a fresh Firefox, tried on safe mode, tried also on my firefox android which has no add-on. Problem still exists. The iframe is displayed well on chrome browser. To reproduce: Go to: http://taekwondoluxembourg.com/index.php?option=com_phocagallery&view=category&id=34:passages&Itemid=154 Click any photo and see the blank iframe

Loading an iframe result in a blank iframe which contains only html and body tags. There is no error in the console. There is no mixed content. There is no cross site request. All is in http and relative to the same domain. I don't know if it important but the website is not under apache but nginx. Tried on a fresh Firefox, tried on safe mode, tried also on my firefox android which has no add-on. Problem still exists. The iframe is displayed well on chrome browser. To reproduce: Go to: http://taekwondoluxembourg.com/index.php?option=com_phocagallery&view=category&id=34:passages&Itemid=154 Click any photo and see the blank iframe

Vald lösning

Does it has effect if you do not send the X-FRAME-OPTIONS header?

Läs svaret i sitt sammanhang 👍 1

Alla svar (7)

more options
more options

Hi, I didn't though about that. I was thinking that joomla generate clean and standard HTML. It's seems not. As it's generated and in production is hard right now to fix that errors, but i will make a test version and do the fix in the core of joomla to ensure if it's relied to this. As soon as i have fixed it and tested again, i will post here again. Thanks for pointing me that.

more options

Vald lösning

Does it has effect if you do not send the X-FRAME-OPTIONS header?

more options

cor-el a écrit

Does it has effect if you do not send the X-FRAME-OPTIONS header?

Your link is broken, it give me a 404. If i remember good, i already does this test but to be very sure. i'll do it today and get back to you.

more options

cor-el a écrit

Does it has effect if you do not send the X-FRAME-OPTIONS header?

Yes removing it fix the problem. I have added it for another site which needed last year. Actually i didn't checked but today the other site was also a blank page, removing the header make the other site came back (which is proxyed btw). This is strange, how this header can do that when the value choosen is SAMEORIGIN and all is in the same origin ? Also Thanks for the solution

more options

You're welcome.

Maybe you need to use the full URL instead of a relative link to make this work.

more options

cor-el said

You're welcome. Maybe you need to use the full URL instead of a relative link to make this work.

I tried full url in the first time. It was not working. But as it's a generated site (joomla), i changed the url in live with console. (I'm not a joomla expert so it was faster for me to do so) Maybe it has impact, i'm not sure