Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #13240

Re: totally WEIRD bug? Firefox caching?

From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.php
Subject Re: totally WEIRD bug? Firefox caching?
Date 2014-03-20 10:13 +0100
Message-ID <532AB145.8080504@arnowelzel.de> (permalink)
References <lgcjv5$16v$1@news.albasani.net>

Show all headers | View raw


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

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

totally WEIRD bug? Firefox caching? The Natural Philosopher <tnp@invalid.invalid> - 2014-03-19 17:25 +0000
  Re: totally WEIRD bug? Firefox caching? "J.O. Aho" <user@example.net> - 2014-03-19 20:06 +0100
    Re: totally WEIRD bug? Firefox caching? Robert Heller <heller@deepsoft.com> - 2014-03-19 14:32 -0500
      Re: totally WEIRD bug? Firefox caching? The Natural Philosopher <tnp@invalid.invalid> - 2014-03-19 23:42 +0000
    Re: totally WEIRD bug? Firefox caching? The Natural Philosopher <tnp@invalid.invalid> - 2014-03-19 23:42 +0000
  Re: totally WEIRD bug? Firefox caching? Gabe <usenet@moojuice.net> - 2014-03-19 21:39 +0000
    Re: totally WEIRD bug? Firefox caching? The Natural Philosopher <tnp@invalid.invalid> - 2014-03-19 23:43 +0000
      Re: totally WEIRD bug? Firefox caching? Gabe <usenet@moojuice.net> - 2014-03-20 08:29 +0000
  Re: totally WEIRD bug? Firefox caching? Richard Yates <richard@yatesguitar.com> - 2014-03-19 18:34 -0700
    Re: totally WEIRD bug? Firefox caching? The Natural Philosopher <tnp@invalid.invalid> - 2014-03-20 03:10 +0000
      Re: totally WEIRD bug? Firefox caching? Richard Yates <richard@yatesguitar.com> - 2014-03-19 21:26 -0700
        Re: totally WEIRD bug? Firefox caching? The Natural Philosopher <tnp@invalid.invalid> - 2014-03-20 11:13 +0000
  Re: totally WEIRD bug? Firefox caching? Arno Welzel <usenet@arnowelzel.de> - 2014-03-20 10:13 +0100
    Re: totally WEIRD bug? Firefox caching? The Natural Philosopher <tnp@invalid.invalid> - 2014-03-20 11:26 +0000
      Re: totally WEIRD bug? Firefox caching? Jerry Stuckle <jstucklex@attglobal.net> - 2014-03-20 08:43 -0400
      Re: totally WEIRD bug? Firefox caching? Arno Welzel <usenet@arnowelzel.de> - 2014-03-20 15:53 +0100
        Re: totally WEIRD bug? Firefox caching? The Natural Philosopher <tnp@invalid.invalid> - 2014-03-20 18:39 +0000
          Re: totally WEIRD bug? Firefox caching? Arno Welzel <usenet@arnowelzel.de> - 2014-03-21 08:33 +0100
          Re: totally WEIRD bug? Firefox caching? Nisse Engström <news.NOSPAM.uvex6@luden.se> - 2014-03-22 07:24 +0100
            Re: totally WEIRD bug? Firefox caching? The Natural Philosopher <tnp@invalid.invalid> - 2014-03-22 12:10 +0000
              Re: totally WEIRD bug? Firefox caching? Robert Heller <heller@deepsoft.com> - 2014-03-22 10:48 -0500
                Re: totally WEIRD bug? Firefox caching? Doug Miller <doug_at_milmac_dot_com@example.com> - 2014-03-22 18:08 +0000

csiph-web