Bug #60146 [Com]: Last 2 lines of page not being output
| From: | david dot gero at ec dot gc dot ca | Date: | Thu, 27 Oct 2011 15:00:57 +0000 |
| Subject: | Bug #60146 [Com]: Last 2 lines of page not being output | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-164617@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60146&edit=1
ID: 60146
Comment by: david dot gero at ec dot gc dot ca
Reported by: david dot gero at ec dot gc dot ca
Summary: Last 2 lines of page not being output
Status: Feedback
Type: Bug
Package: Built-in web server
Operating System: Windows XP
PHP Version: 5.4.0beta2
Block user comment: N
Private report: N
New Comment:
Looks like I was wrong about the test script being truncated above. Just didn't scroll far
enough to the right.
So, if you can't reproduce, whereas it fails every time for me, I've uploaded my php.ini
file.
There are no errors in php_error.log
I'm testing on Windows XP with Service Pack 3, running the following startup.cmd:
@echo off
title PHP
start "PHP" /MAX php -S 127.0.0.1:8000 -t \repos\gerod\html
exit
testflush.php is in \repos\gerod\html\admin\testflush.php
Using Internet Explorer 7 at http://localhost:8000/admin/testflush.php
Page->View Source shows that the last two lines were never output
Previous Comments:
------------------------------------------------------------------------
[2011-10-27 14:33:41] david dot gero at ec dot gc dot ca
Renaming to testflush.txt gives the following:
Error: uploaded patch file must be text file (save as e.g. "patch.txt" or
"package.diff") (detected "text/x-php")
Could not attach patch "testflush.txt" to Bug #60146
Your upload system is scanning inside the file, probably using the "file" command, which
indeed gives type "text/x-php", regardless of the extension. However why this is not
accepted as text by your system is a mystery, and a bug in itself.
I will email you the script, and hope you can figure out how to upload it.
------------------------------------------------------------------------
[2011-10-27 09:50:00] laruence@php.net
and, I can't reproduce this in my environ with your test script pasted above.
plz check your php error log, if there is some error. thanks
------------------------------------------------------------------------
[2011-10-27 09:44:36] laruence@php.net
rename to testflush.txt, thanks
------------------------------------------------------------------------
[2011-10-26 22:56:53] david dot gero at ec dot gc dot ca
Okay, your bug system has me stumped. Can't upload the test script, because I get the
following:
Error: uploaded patch file must be text file (save as e.g. "patch.txt" or
"package.diff") (detected "text/x-php")
Could not attach patch "testflush.php" to Bug #60146
Interesting bug that "text/x-php" is not considered text.
The test script is only 20 lines, but some of them are long.
Email me with a good return address and I will send the test script to you. Or maybe you could tell
me how I'm supposed to upload it.
------------------------------------------------------------------------
[2011-10-26 22:47:48] david dot gero at ec dot gc dot ca
Test script had lines truncated. Will try to upload as a patch.
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=60146
--
Edit this bug report at https://bugs.php.net/bug.php?id=60146&edit=1