ID:               37939
 User updated by:  sviver at vnet dot hu
 Reported By:      sviver at vnet dot hu
 Status:           Open
 Bug Type:         Unknown/Other Function
 Operating System: Windows XP prof.
 PHP Version:      5.1.4
 New Comment:

Setting output_buffering=Off AND implicit_flush=On solves the problem
in my case as well (but decreases performance of course).


Previous Comments:
------------------------------------------------------------------------

[2006-06-30 16:25:42] sviver at vnet dot hu

Hello,
I investigated the problem, and also found other users reporting the
same error for prevoius releases. See bug #14348 as an example. I get
exactly the same symptoms. It's not related to the filesystem as I
thought before. Ouputting random characters also causes the error.
There is absolutely no error message in the apache logs.
I reinstalled windows, but it stayed. The strange thing is that
formerly as far as I can remember it used to work without any problems.
Using the apache -X flag as suggested in the other bug report does not
help either. Plain text files can be donwloaded, so I think this is not
an apache-only problem. 
Is there any way I can somehow get more debug information out of php?

------------------------------------------------------------------------

[2006-06-27 22:44:27] [EMAIL PROTECTED]

You can also try another browser.
Anyway, it's likely not PHP problem, so I'm marking this as bogus.
Feel free to reopen it if/when you have any additional information.

------------------------------------------------------------------------

[2006-06-27 22:34:20] sviver at vnet dot hu

Hello,

It must be some apache / output problem, as writing $buff into a file
works, so data is read correctly. 
I really could have though of trying this on my own. Sorry. I'll
invastigate the situation, and tell You, if I find anything that's
useful to know for others too.

Thanks, have a nice day.

------------------------------------------------------------------------

[2006-06-27 21:57:18] [EMAIL PROTECTED]

Or maybe a problem with your OS.
I've no idea, only you can investigate it since I have serious doubts
anyone except you is able to reproduce it.

------------------------------------------------------------------------

[2006-06-27 21:37:31] sviver at vnet dot hu

Hello Tony,

When I wrote the original code about a year ago, readfile seemed to eat
up the memory. Anyway, readfile produces the same error.
It's also there with the latest snapshot.
However, setting the block size to one single byte makes it work.

What I found out is that the file can be downloaded with WGET - full
filesize, but there is a difference between the two files. Maybe a
problem with apache?

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/37939

-- 
Edit this bug report at http://bugs.php.net/?id=37939&edit=1

Reply via email to