-- Cristian Bichis <cont...@zftutorials.com> wrote
(on Tuesday, 16 March 2010, 10:14 PM +0200):
> I think you missing the point.
> 
> is_readable is returning false because the the supposed 
> /D:_Work\myapp/application/modules\articles/views\helpers/HeadLink.php
> doesn't actually exists (HeadLink is on ZF NOT on articles
> module)...
> 
> The problem is not related to open_basedit then...

Look at isReadable() again -- it loops through all include_paths one by
one, and tests the file against the individual paths. Unfortunately,
is_readable() also raises a warning in the event of a path not being in
the open_basedir settings. It still continues through the loop, however,
until all paths have been run or is_readable() tests positive.

In the case you're presenting, it's doing an isReadable() lookup on a
plugin path, and, when it cannot find it, passing it against all
include_paths -- which likely shouldn't happen.

However, looking at your issue more closely, it looks like "D:\" may be
being rewritten to "D:_", which is more likely the issue, as this is
representing a path that does not exist.

The question is... where and how is that happening?

> >Looking at your report, it looks like the issue is that you're working
> >on a system where open_basedir is enabled, and that the file as
> >specified does not live within the basedir as configured -- leading to
> >the false negative.

-- 
Matthew Weier O'Phinney
Project Lead            | matt...@zend.com
Zend Framework          | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc

Reply via email to