Closed Bug 414405 Opened 17 years ago Closed 17 years ago

Can't reload PHTML from cache

Categories

(Firefox :: General, defect)

defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 418771

People

(Reporter: patraule, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.11) Gecko/20071204 Ubuntu/7.10 (gutsy) Firefox/2.0.0.11

After installing apache, I copied some PHP files to /var/www, forgetting to install and enable PHP in the apache config. So apache serves the PHP file as a plain document, as a "PHTML" file. Firefox displays the "You have opened [...] which is a: PHTML file" dialog, and I hit Cancel. Now, the "stop" or "reload" buttons are disabled (F5 has no effect as well).

So I enable PHP in apache, and type the URL again in Firefox. And I get the version from cache. Which invariably triggers the "You have opened ..." dialog. 

To sum up, refreshing a file that Firefox can't handle on its own is impossible, because the "reload" button is disabled. (Ok, clearing cache works.)

Reproducible: Always

Steps to Reproduce:
(Ok, steps are naively dependent on PHP, but it probably works the same with anything else.)

1. Disable PHP support in your apache config. 
2. Load a PHP script as an URL in the browser. 
3. Cancel the "You have opened file xyz.php, which is a: PHTML file" dialog. 

Actual Results:  
Now the "reload" button is disabled (as well as F5).

Expected Results:  
The reload button should allow me to view a new version of the page, not the one in the cache.
Test URL: http://patraulea.com/temp/

On my 2.0.0.11 version (linux), this behaves as described above. 
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.