Should I expect to see these debug warnings when debugging my ZF-based
application in Zend Studio?

Debug Warning: /www/lib/zend/ZendFramework-1.9.2/library/Zend/Loader.php
line 165 - fopen(/www/vhosts/local.test.com/application/views/helpers/Url.php)
[<a href='function.fopen'>function.fopen</a>]: failed to open stream:
No such file or directory
Debug Warning: /www/lib/zend/ZendFramework-1.9.2/library/Zend/Loader.php
line 165 - 
fopen(/www/vhosts/local.test.com/application/views/helpers/HeadLink.php)
[<a href='function.fopen'>function.fopen</a>]: failed to open stream:
No such file or directory
Debug Warning: /www/lib/zend/ZendFramework-1.9.2/library/Zend/Loader.php
line 165 - 
fopen(/www/vhosts/local.test.com/application/views/helpers/Layout.php)
[<a href='function.fopen'>function.fopen</a>]: failed to open stream:
No such file or directory

The source code is the latest available from the ZF Quick Start guide.
 Zend Application is being used.

The application loads and works.  For example, even though there's a
debug warning about Url.php, you can tell that ZF eventually finds and
loads the correct Url.php, because the link does show up in the final
webpage.

I found this article talking about the problem and it seems to offer a
solution.  I just can't tell if the new Quick Start guide takes
advantage of it or if I'm just misunderstanding - that I should always
expect to see the debug warnings?
http://devzone.zend.com/article/4525-Developing-a-Comprehensive-Autoloader.

Here's my main concern...  A lot of debug warnings like this show up
when I debug my main ZF application.  As a result, I tend to ignore
the debug console output.  That seems like a bad habit considering
that some of the warnings may need to be addressed.  Plus, it seems
like a smooth running application shouldn't have any warnings or
errors.

The second concern is that there might be some sort of overhead
involved in generating these warnings.  Wouldn't resolving this issue
improve the overall performance of my application?

I'm testing using code from the Quick Start guide to keep things
simple and provide some sort of reference point.  I'm hoping there's a
way for me to adjust the configuration and eliminate these debug
warnings.  Or, at the very least, it would be nice having the
confirmation that everything is configured properly - the warnings and
associated overhead are expected and part of how ZF works.

Thanks,
Ed

Reply via email to