#14109 [Com]: file_exists() prints a warning when it shouldn't
| From: | epplestun at alaplaya dot com | Date: | Fri, 24 Jan 2003 00:50:58 +0000 |
| Subject: | #14109 [Com]: file_exists() prints a warning when it shouldn't | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-31099@lists.php.net to get a copy of this message | ||
ID: 14109
Comment by: epplestun@alaplaya.com
Reported By: cech@debian.org
Status: Bogus
Bug Type: *Directory/Filesystem functions
Operating System: Debian
PHP Version: 4.1.0RC1
New Comment:
I have the same problem of you, and I don't know if is a bug or not :(
me warnig is this:
<b>Warning</b>: lstat failed for prueba (errno=2 - No existe el
fichero o
el directorio) in
<b>/root/php-eddi-dev/tests/php-eddi-dev/php-eddi-dev.php</b> on line
<b>80</b><br>/root/php-eddi-dev/tests/php-eddi-dev/php-eddi-dev.php(80)
:
Warning - lstat failed for prueba (errno=2 - No existe el fichero o el
directorio)
You can see me message in: http://bugs.php.net/?id=21848&edit=2
Previous Comments:
------------------------------------------------------------------------
[2001-11-19 05:38:21] derick@php.net
Submitting once is enough!
------------------------------------------------------------------------
[2001-11-19 05:35:53] cech@debian.org
Running this code
<?file_exists("/etc/passwd/bla");?>
(where /etc/passwd exists for those non-UNIX people)
gives this warning
Warning: stat failed for /etc/passwd/bla (errno=20 - Not a directory)
in ....
This worked in 4.0.6 and doesn't in 4.1.0RC (1 and 2). It's been
reported as #114409 in Debian with a patch
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=14109&edit=1