#19580 [Asn->Csd]: Warning: incfile() [function.incfile]: 0 bytes of buffered data lost

From: Date: Thu, 26 Sep 2002 16:27:58 +0000
Subject: #19580 [Asn->Csd]: Warning: incfile() [function.incfile]: 0 bytes of buffered data lost
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20447@lists.php.net to get a copy of this message
ID: 19580 Updated by: wez@php.net Reported By: neil.doody@talk21.com -Status: Assigned +Status: Closed Bug Type: *General Issues Operating System: FREEBSD 4.7-RELEASE 2 PHP Version: 4CVS-2002-09-24 Assigned To: wez New Comment: This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-09-25 09:51:43] sniper@php.net Assigning to Wez as this is some streams issue. ------------------------------------------------------------------------ [2002-09-24 12:15:50] neil.doody@talk21.com Running on Apache 2.0.42-Alpha2 with the latest CVS of PHP im getting the following error that is produced with the code shown below, I have never had this problem before nad the code has not changed for almost a year now :- Warning: incfile() [function.incfile]: 0 bytes of buffered data lost during conversion to FILE*! in /usr/home/mpfreesc/public_html/index.php on line 41 Code :- function incfile($pt_infile) { global $argv; global $REMOTE_ADDR; ob_start(); include($pt_infile); $pt_ret_str = ob_get_contents(); ob_end_clean(); return $pt_ret_str; } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19580&edit=1

« previous php.bugs (#20447) next »