FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » totally WEIRD bug? Firefox caching?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: totally WEIRD bug? Firefox caching? [message #185361 is a reply to message #185339] Thu, 20 March 2014 09:13 Go to previous messageGo to previous message
Arno Welzel is currently offline  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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: sqlite2 vs sqlite3
Next Topic: willing to hire someone who knows both JS and PHP
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 01:47:34 GMT 2024

Total time taken to generate the page: 0.04582 seconds