#20488 [NEW]: is_dir(), Warning: Unable ...

2002-11-18 Thread half-dead
From: [EMAIL PROTECTED]
Operating system: winME
PHP version:  4.2.3
PHP Bug Type: Directory function related
Bug description:  is_dir(), Warning: Unable ...

is_dir() throws a Warning: Unable to access 

But only when safe mode is turned on, instead of just returning false.
-- 
Edit bug report at http://bugs.php.net/?id=20488&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20488&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=20488&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=20488&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20488&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=20488&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=20488&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=20488&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=20488&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=20488&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=20488&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20488&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=20488&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=20488&r=isapi




#20488 [Fbk->Opn]: is_dir(), Warning: Unable ...

2002-11-18 Thread half-dead
 ID:   20488
 User updated by:  [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Feedback
+Status:   Open
 Bug Type: Directory function related
 Operating System: winME
 PHP Version:  4.2.3
 New Comment:

If the dir doesn't exist it throws this warning ..but only in safe
mode, instead of simply returning false.


Previous Comments:


[2002-11-18 15:46:27] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.




[2002-11-18 15:42:41] [EMAIL PROTECTED]

is_dir() throws a Warning: Unable to access 

But only when safe mode is turned on, instead of just returning false.




-- 
Edit this bug report at http://bugs.php.net/?id=20488&edit=1




#20488 [Com]: is_dir(), Warning: Unable ...

2002-11-18 Thread half-dead
 ID:   20488
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Directory function related
 Operating System: winME
 PHP Version:  4.2.3
 New Comment:

is_dir("nonexisten directory.");

result:

Warning: Unable to access "nonexisten directory." in "whatever.php"
on line "xx"


Previous Comments:


[2002-11-18 15:53:08] [EMAIL PROTECTED]

What is the full error message?




[2002-11-18 15:49:05] [EMAIL PROTECTED]

If the dir doesn't exist it throws this warning ..but only in safe
mode, instead of simply returning false.



[2002-11-18 15:46:27] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.




[2002-11-18 15:42:41] [EMAIL PROTECTED]

is_dir() throws a Warning: Unable to access 

But only when safe mode is turned on, instead of just returning false.




-- 
Edit this bug report at http://bugs.php.net/?id=20488&edit=1




#20488 [Com]: is_dir(), Warning: Unable ...

2002-11-18 Thread half-dead
 ID:   20488
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Directory function related
 Operating System: winME
 PHP Version:  4.2.3
 New Comment:

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


Previous Comments:


[2002-11-18 16:03:08] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

is_dir("nonexisten directory.");

result:

Warning: Unable to access "nonexisten directory." in "whatever.php"
on line "xx"



[2002-11-18 15:53:08] [EMAIL PROTECTED]

What is the full error message?




[2002-11-18 15:49:05] [EMAIL PROTECTED]

If the dir doesn't exist it throws this warning ..but only in safe
mode, instead of simply returning false.



[2002-11-18 15:46:27] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.




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