ID: 14529 Updated by: yohgaki Old Summary: script doesn't always finish output Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Output Control Operating System: Linux RH 7.2 Old PHP Version: 4.1.0 -> 4.2.0-dev PHP Version: 4.2.0-dev (2002/1/19) New Comment:
Please update Version :) Here comes more questions. Do you use trans-sid? (If yes, do you have "register_globals=On"?) Do you use ob_end_flush(), ob_end_clean() anywher in your scripts? I guess you have already checked, but Do you see any error logs for "Apache" and "PHP"? Could you try to run httpd under gdb to see if you get any signal or exit code. Previous Comments: ------------------------------------------------------------------------ [2002-01-19 23:29:21] [EMAIL PROTECTED] PHP4.0.6 compiled with the same ./configure line works flawless so it's only happening in 4.1.0 - 4.2.0-dev In linux the pages almost never load simply gives me error reports (some sort of connection error so drops connection), IE loads about 60-70% of the time (but I've noticed it is only displaying old cached information even though I've got it set to nocache in php.ini and tried sending headers to force no caching). I even tried forcing IE not to cache in it's settings but it still does it or else it locks up forever (ALT-CTL-DEL to finally end that task - I've left it for as long as an hour to see if it'd time out first or do something). I've tried reducing the code to force it not to do any includes except the main one. So I could test a much smaller script and it still gives me the problem. Yet if I do a very simple page (like with <? phpinfo() ?>) there is no problems at all. I'm reading through other bugs trying to find similarities with various functions I use and other bugs to see if I can narrow this down. ------------------------------------------------------------------------ [2002-01-19 23:16:19] [EMAIL PROTECTED] I've answered that before (I've tried 3 different snaps versions). I tried todays php-200201191500 and still the same problem. I even re-compiled my kernel to the latest stable version this morning just in case it was a RH default compile thing. I'm recompiling php-4.0.6 from scratch (rather than the RPM) as we speak with the exact same options on ./configure line just to be sure that it is just 4.1.0 or newer giving me the grief. ------------------------------------------------------------------------ [2002-01-19 21:56:53] [EMAIL PROTECTED] This is 4th time to ask. Do you have problem with 4.2.0-dev? ------------------------------------------------------------------------ [2002-01-19 19:44:12] [EMAIL PROTECTED] found some new things that may help. On the pages that didn't finish loading I discovered my PHP generated code missed a end </font> tag. So I added it in and it displays the entire page now (weird that PHP4.0.6 didn't have this problem). BUT the problem of it crashing IE6.0 still happens in PHP4.1.1. It is as if there is header information that isn't being sent properly. When I use a linux box rather than crashing it pops up an error window saying Error, connection to server was dropped. The way to duplicate this is simply go to a page that loaded fine a minute ago and click refresh (and 1/3 will crash). I've tried this on smaller scripts and it doesn't crash but it does on this larger program which uses many different functions of PHP so I'm wondering if a function that is used is what causes the problem. Any ideas of how I can narrow the test down to find what exactly causes the conflict (maybe a combination of functions)? The script varies depending on the pages function (many includes) and can be as many as 5000 lines long in some places. It runs perfectly smooth in PHP4.0.1 -> PHP4.0.6 but not in PHP4.1.0 or newer. I'll try todays latest snap again (previous one didn't work either). ------------------------------------------------------------------------ [2002-01-10 01:58:24] [EMAIL PROTECTED] Ok. Please test it when the site is up. If you find any new problem in snapshots, please submit bug report for it :) BTW, output control code differs in 4.2.0, so this problem may be fixed in 4.2.0. ------------------------------------------------------------------------ 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/?id=14529 Edit this bug report at http://bugs.php.net/?id=14529&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]