ID: 24053 Comment by: choinet at rocketmail dot com Reported By: jphey at netdoor dot com Status: No Feedback Bug Type: Scripting Engine problem Operating System: Linux 2.4.20 PHP Version: 4.3.2 New Comment:
The other hosts that worked fine did not have the Zend Optimizer, just to clarify. Previous Comments: ------------------------------------------------------------------------ [2004-01-16 04:15:51] choinet at rocketmail dot com To the two comments asking about using variables defined in the remote file, one must realize that the external file is parsed and the html output is only returned for inclusion. Also, the above comment does not directly deal with external url inclusions generating a warning, unless Zend Optimizer causes the same warning as such. I am experiencing the same problem on a PHP 4.3.4/Linux/Apache 1.3.29 server. The odd thing is that this problem does not occur on my Windows testbed or three other Linux/PHP 4.3.4 hosts. ------------------------------------------------------------------------ [2004-01-04 11:21:44] the_sandking at hotmail dot com Indeed, Zend optimizer is newly installed and I am having the same problem including a local file.. include('../../dir/filename.php'); This complains via the browser about "failed to open stream: No such file or directory" But in fact inclues the file in question... ------------------------------------------------------------------------ [2003-11-27 08:39:12] trash at mothertech dot it Hello there, I experienced this problem only with Zend Optimizer installed. When I disable Zend Optimizer everything works fine. Ciao Gabriele ------------------------------------------------------------------------ [2003-11-25 03:10:25] refuse_2_see at hotmail dot com i still can't get this working, what do i do for http://kotl-clan.org/nick/poll/poll.php ------------------------------------------------------------------------ [2003-11-07 04:26:30] al at hosteurope dot de The bug still exists in php-4.3.4. If you use include("http://www.example.com/test.php"); you will get a stream doesn't support seeking error. We've investigated the problem and we think that there is only a 2 line if cause missing (compared to the bugfree version 4.3.1) at the beginning of the function _php_stream_seek in the main/streams.c code: 954a955,958 > /* not moving anywhere */ > if ((offset == 0 && whence == SEEK_CUR) || (offset == stream->position && whence == SEEK_SET)) > return 0; > if you insert this if cause the error disappears and all other functions still seem to work fine in our tests. Best regards Andree Lindenblatt Software Development Host Europe GmbH ------------------------------------------------------------------------ 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/24053 -- Edit this bug report at http://bugs.php.net/?id=24053&edit=1