#31594 [Opn]: virtual(): Unable to include 'xxx' - error finding URI

From: Date: Tue, 18 Jan 2005 09:27:44 +0000
Subject: #31594 [Opn]: virtual(): Unable to include 'xxx' - error finding URI
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-72356@lists.php.net to get a copy of this message
ID: 31594 User updated by: per at computer dot org Reported By: per at computer dot org Status: Open Bug Type: Apache2 related Operating System: linux 2.4.26 PHP Version: 4CVS-2005-01-18 (stable) New Comment: This now appears to be related to setlocale(). To reproduce: part0.phtml: <?php setlocale(LC_ALL,"da_DK.utf8"); ?> <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>php bug 31594</title> </head> <body> part0+<?php virtual("part1"); ?> </body> </html> part1.phtml: (contents irrelevant). part1 Comment out the setlocale() in part0 to make the code work. When it's commented out I see: part0+part1. When it's left in I see: part0+ Warning: virtual(): Unable to include 'part1' - error finding URI in Previous Comments: ------------------------------------------------------------------------ [2005-01-18 10:00:46] per at computer dot org Description: ------------ I suspect this is related to bug#30446, but thought it best to open a new issue rather than re-open that one. I had php4-STABLE-200501160930 running for a day or so, when I discovered the following in one of my existing php apps: Warning: virtual(): Unable to include 'toc' - error finding URI in /srv/www/vhosts/dansklisten/htdocs/albummet/helebilledet.phtml on line 57 This is from a working, stable application, works fine in php-4.3.8, but not with the latest 4CVS. I'll try to work out some simple code to reproduce. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31594&edit=1

« previous php.bugs (#72356) next »