#24053 [Opn->Bgs]: include issues spurious "stream" warning that clutters up the page ...

From: Date: Fri, 06 Jun 2003 06:48:57 +0000
Subject: #24053 [Opn->Bgs]: include issues spurious "stream" warning that clutters up the page ...
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-41315@lists.php.net to get a copy of this message
 ID:               24053
 Updated by:       sniper@php.net
 Reported By:      jphey at netdoor dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         *General Issues
 Operating System: Linux 2.4.20
 PHP Version:      4.3.2
 New Comment:

Don't include local files via http://..., use the correct path.



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

[2003-06-06 01:41:34] jphey at netdoor dot com

My web hosting provider says the problem is merely that "error logging
was set to all" and by changing that, the warning messages disappear.

So perhaps this is not a bug, but an intended behavior.

Still, I don't know why such a warning would be issued when no call to
fseek had been made.

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

[2003-06-06 00:25:22] jphey at netdoor dot com

I have used the include "http://...." directive with great
success.

However, my web hosting company (hostforweb.com) must have just
upgraded their PHP software within the last week, because now ALL my
pages that use the include command include "Warning: main(): stream
does not support seeking /home/americaf/public_html/agenda/index.php on
line 1" 

The funny thing is, the actual include appears to "work" properly ...
the file IS included in the stream!  However, the warning message
appears anyway.

Here is a URL that demonstrates the problem:

http://americafirstparty.org/agenda/index.php

the first several lines of which are:

=========== begin index.php source ==========

<?php include
"http://americafirstparty.org/includes/plainpageheader.shtml";
?>
<blockquote>


<h1>National Committee Meeting Agenda</h1>
<h3>Tuesday, May 20, 2003<br>Continued on May 27, 2003</h3>

=========== end of source snippet ============


I know this bug was fixed earlier, but perhaps it has resurfaced? 



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


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



Thread (42 messages)

« previous php.bugs (#41315) next »