Re: totally WEIRD bug? Firefox caching? [message #185361 is a reply to message #185339] |
Thu, 20 March 2014 09:13 |
Arno Welzel
Messages: 317 Registered: October 2011
Karma:
|
Senior Member |
|
|
Am 19.03.2014 18:25, schrieb The Natural Philosopher:
> I have TWO IDENTICAL PHP FILES.
>
> They are supposed to display an image got from a database.
>
> One does. The other does not.
>
> It persistently tells me the image is corrupted.
>
> I have even copied one file that works directly over the other. It still
> doesn't work.
>
>
> I have debugged it, got it to output the image to a file and read the
> file successfully.
What means "read successfully"? Is it a valid image? Is the response
from the server valid?
> Something on firefox now just assumes its corrupted and won't clear its
> cache. I've shut down firefox, Ive changed its name I've clearded its cache.
Firefox offers to option to clear the cache - no need to shut it down or
to rename the file.
> WTF is going on??
Either Firefox once got an invalid image and cached the response or the
server does not respond the way you think. Maybe a BOM in the PHP file?
This may not be visible in your editor, but it can cause all sort of
problems.
--
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de
|
|
|