#20488 [Opn->Ana]: is_dir(), Warning: Unable ...
| From: | sniper@php.net | Date: | Mon, 02 Dec 2002 01:51:47 +0000 |
| Subject: | #20488 [Opn->Ana]: is_dir(), Warning: Unable ... | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26341@lists.php.net to get a copy of this message | ||
ID: 20488
Updated by: sniper@php.net
Reported By: half-dead@nospam.net
-Status: Open
+Status: Analyzed
Bug Type: Directory function related
Operating System: winME
PHP Version: 4.2.3
New Comment:
My mistake, I misread the whole issue here..and forgot that is_dir() is
not supposed to output any errors. :)
Anyway, the problem is in php_checkuid() which outputs
the error. I guess we need to put some extra parameter for it to not
output errors..
Previous Comments:
------------------------------------------------------------------------
[2002-12-01 18:00:54] philip@php.net
I don't get it. Someone reports a bug, it's tested in latest PHP
version as asked, problem still exists ... and now it's marked as
bogus?
Why doesn't this simply return boolean false? Where is this behavior
documented? Reopening...
------------------------------------------------------------------------
[2002-12-01 16:35:43] sniper@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
------------------------------------------------------------------------
[2002-11-18 16:52:58] half-dead@nospam.net
Nope not in safe mode at least, now i simply get a ref to the php doc
page with the warning (4.3RC1):
is_dir("non existing directory...");
Warning: is_dir() [http://www.php.net/function.is-dir]: Unable to
access "non existing directory..." in "whatever.php" on line "xx"
--------
Again, this only happens if safe mode is turned ON
------------------------------------------------------------------------
[2002-11-18 16:03:08] derick@php.net
Okay, it looks like this is fixed in CVS. Can you try the windows
snapshot @ http://snaps.php.net/~edink/php-4.3.0RC1-Win32.zip
?
Derick
------------------------------------------------------------------------
[2002-11-18 15:56:09] half-dead@nospam.net
is_dir("nonexisten directory.....");
result:
Warning: Unable to access "nonexisten directory....." in "whatever.php"
on line "xx"
------------------------------------------------------------------------
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/20488
--
Edit this bug report at http://bugs.php.net/?id=20488&edit=1