Issue Type: Sub-task Created: 2009-08-26T22:11:44.000+0000 Last Updated: 2010-05-05T14:47:38.000+0000 Status: Resolved Fix version(s): - 1.10.5 (26/May/10)
Reporter: Codix IL (codix.il) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Application
Related issues: - ZF-7550
Hi, Even though I saw that this bug fixed, I still get this error message:
'Warning: include(FrontController.php) [function.include]: failed to open stream: No such file or directory in /xxx/library/Zend/Loader.php on line 83'
The workaround of adding 'false' at class_exists() in BootstrapAbstract.php (line 354) still solves this.
Posted by David Abdemoulaie (hobodave) on 2009-08-31T17:58:28.000+0000
The false parameter was removed from the get_class() call in r17801. Simply adding it back causes the test case Zend_Application_Bootstrap_BootstrapAbstractTest::testRequestingPluginsByAutoloadableClassNameShouldNotRaiseFatalErrors.
I'm going to try and see if I can't find out a way for this to work in both cases.
Posted by David Abdemoulaie (hobodave) on 2009-09-17T13:59:31.000+0000
I'm stumped. Any ideas Matthew?
Posted by Glen Ainscow (darkangel) on 2009-09-29T03:06:24.000+0000
I get this error as soon as I enable the fallback autoloader. Any ideas?
Posted by Miroslav Kubelik (koubel) on 2009-09-29T03:54:50.000+0000
Yes, if you want to remove this warning, you need to disable fallback autoloader and rewrite your code for an properly namespace based loading. Using false in get_class isn't solution, because it produces other problems as Matthew said.
I think module bootstraping need to be deeply revised, but I don't have currenty any idea.
Posted by Glen Ainscow (darkangel) on 2009-09-30T04:48:54.000+0000
What if you're using a library (or application classes) that aren't namespaced?
Posted by David Abdemoulaie (hobodave) on 2010-04-02T09:16:44.000+0000
I created a patch that prevents this warning from occurring.
It doesn't break any unit tests. However, I tried but couldn't duplicate the warning in a unit test context.
I can duplicate it in an application at will though by doing the following:
This will result in 1 warning per module bootstrap.
Posted by David Abdemoulaie (hobodave) on 2010-05-05T14:47:36.000+0000
Fixed in r22124
Have you found an issue?
See the Overview section for more details.