We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

搜索 | 用户支持

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

详细了解

php based web site no longer displays correctly in Firefox but is OK in other browsers

  • 3 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 kenw4

more options

I have a home website that was written using php well over 10 years ago. Except for family updates, it has changed little and displayed correctly using firefox and other browsers. Firefox is my preferred browser. A couple of months ago, it stopped displaying correctly in firefox but continues to display correctly w/o issues in Edge, and other browsers.

I note it displays in a basic form in firefox, links to other pages and content are shown and operable, but not displayed (correctly) as it does in Edge and others. I am on the latest version of Win Pro 10.

I posted the problem the end of August and received a number of suggestions. I went through the steps suggested (using troubleshoot amongst other suggestions) and none of the suggestions resolved the issue. My suspicion is that something in a relatively recent update of firefox has issues with my php based code. I do not use a "web tool" but write the source myself. I started writing websites with html decades ago and got the bug to use php years back.

If anyone has the interest (or curiosity) to look at the website in firefox and edge and my source code and see if they see the issue I would be glad provide the link to my website.

I have a home website that was written using php well over 10 years ago. Except for family updates, it has changed little and displayed correctly using firefox and other browsers. Firefox is my preferred browser. A couple of months ago, it stopped displaying correctly in firefox but continues to display correctly w/o issues in Edge, and other browsers. I note it displays in a basic form in firefox, links to other pages and content are shown and operable, but not displayed (correctly) as it does in Edge and others. I am on the latest version of Win Pro 10. I posted the problem the end of August and received a number of suggestions. I went through the steps suggested (using troubleshoot amongst other suggestions) and none of the suggestions resolved the issue. My suspicion is that something in a relatively recent update of firefox has issues with my php based code. I do not use a "web tool" but write the source myself. I started writing websites with html decades ago and got the bug to use php years back. If anyone has the interest (or curiosity) to look at the website in firefox and edge and my source code and see if they see the issue I would be glad provide the link to my website.

被采纳的解决方案

For reference, the prior suggestions: https://support.mozilla.org/questions/1349303

Are you using an http:// or https:// address for the page, or loading it from a local file using a file:// address?

Are there any interesting messages in the Web Console when you load the page? You can open that using Ctrl+Shift+K, or follow the steps in this article: https://developer.mozilla.org/docs/Tools/Web_Console

定位到答案原位置 👍 0

所有回复 (3)

more options

Firefox doesn't know about PHP code and has never processed PHP code natively. You will always need to use a local server or a web server to process the PHP code and send the resulting HTML code to the browser as text/html. If this worked before, but stopped working then it sounds that this server no longer works or you aren't using it.

more options

选择的解决方案

For reference, the prior suggestions: https://support.mozilla.org/questions/1349303

Are you using an http:// or https:// address for the page, or loading it from a local file using a file:// address?

Are there any interesting messages in the Web Console when you load the page? You can open that using Ctrl+Shift+K, or follow the steps in this article: https://developer.mozilla.org/docs/Tools/Web_Console

more options

FYI, I use http and have been lazy not to change over to https.

I removed the Firefox version I had and loaded the current version from the mozilla website. The website now displays OK. So, basic PHP source works OK on this version.

As it is a family site, it is viewed by pretty much all of the browsers from desktops, laptops, tablets, and Android/Apple phones (multi generations). Some family members still use Win 7 and the old MS explorer.