为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

ajax iframe content not loaded

  • 7 个回答
  • 7 人有此问题
  • 27 次查看
  • 最后回复者为 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

被采纳的解决方案

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

定位到答案原位置 👍 1

所有回复 (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

选择的解决方案

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