#31594 [Opn->Fbk]: virtual(): Unable to include 'xxx' - error finding URI
| From: | sniper@php.net | Date: | Thu, 18 Aug 2005 20:55:55 +0000 |
| Subject: | #31594 [Opn->Fbk]: virtual(): Unable to include 'xxx' - error finding URI | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-83789@lists.php.net to get a copy of this message | ||
ID: 31594
Updated by: sniper@php.net
Reported By: per at computer dot org
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: linux 2.4.26
PHP Version: 5.*, 4.*
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2005-08-08 15:18:20] per at computer dot org
I've tested it again using my own testcase (duh!) - still fails:
Warning: virtual() [function.virtual]: Unable to include 'part1' -
error finding URI in
/srv/www/vhosts/www/htdocs/phpbug-31594/part0.phtml on line 11
------------------------------------------------------------------------
[2005-08-08 15:14:27] per at computer dot org
OK, the segfault mentioned earlier is now gone, but the following
produces a loop:
(also available as http://jessen.ch/files/php-bug31594-testcase2.tar)
index2.phtml:
-------------
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en">
<head>
<title>test</title>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1"/>
</head>
<body>
<?php virtual("test21"); ?>
<?php virtual("test22"); ?>
</body>
</html>
test21.phtml
------------
test21
test22.phtml
------------
test22
Note - AFAICT, this is not locale() related - do I open a new report?
------------------------------------------------------------------------
[2005-08-08 14:49:30] per at computer dot org
OK, I've tried php4-STABLE-200508081042 and php5-200508081030 - both
produce a segfault. Also, php-applications not related to this
problem produce a segfault too.
I'll try to determine the cause of the segfault.
------------------------------------------------------------------------
[2005-08-08 00:20:11] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-06-06 20:07:36] per at computer dot org
And equally obvious - to me at least - the answer can't be "don't do
that" when it works just fine in 4.3.8, but not in the later releases
...
------------------------------------------------------------------------
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/31594
--
Edit this bug report at http://bugs.php.net/?id=31594&edit=1