I can't set Firefox to open PHP files with Firefox (in preferences->applications-php files) Firefox won't accept anything but "always ask" and Preview. I want to preview php files in Bbedit and that requires that Firefox can open it.
with an open php file in Bbedit (Macintosh) it was possible to preview appearance by chosing "Preview in.." in Bbedit's "Markup" menu. This called Firefox to open and display the file. Now, doing this continually repeats a "Open with (choose)" request.
所有回复 (4)
You can only display php that have been processed by a web server and that are send as text/html properly in Firefox. Other MIME types can result in Firefox opening new tabs endlessly and cause a crash if you can't close down Firefox quickly enough.
See also Firefox repeatedly opens empty tabs or windows after you click on a link
You have to delete mimeTypes.rdf. You can find it here (Windows XP): C:\Documents and Settings\Username\Aplication Data\Mozilla\Firefox\Profiles\xxxxxxxx.default.
Hi guys, this has NOTHING to do with Mime-Types, either server or local, the problem is the new Modal Boxes that were introduced. To fix:
- in the address bar type about:config
- in the filter text-box type in: prompts.tab_modal.enabled
- right-click on prompts.tab_modal.enabled and select "Toggle" so that the value reads "False"
- Restart FireFox and PHP now loads how it used to!
Enjoy!!
Unfortunately this solution doesn't work for me for local files (on my computer). Still I can only choose to open in Notepad or "other". It seems that I can select Firefox, but it won't do anything when I actually select it.... I did NOT have this problem with the previous version of Firefox (before 6.0.2). The only thing that's changed, is the Firefox update from yesterday (September 28th, 2011).
由Sheriziya于