Matt - First off, thanks for your numerous replies to everyone!
Second, in case it makes a difference, I'm using ZF 1.7.6 with the addition of the following incubator files: /Zend/Application/Module/Autoloader.php /Zend/Loader/Autoloader.php /Zend/Loader/Autoloader/Interface.php /Zend/Loader/Autoloader/Resource.php Do I need to add/update anything else? Matthew Weier O'Phinney-3 wrote: > > Zend_Loader_Autoloader was created in part to solve the very issue you > see above. Which may seem ironic, but let me explain. > =^D Matthew Weier O'Phinney-3 wrote: > > Zend_Loader_Autoloader gives you the _option_ of suppressing those > errors. This way you can see what paths are tried, as well as any actual > issues with the class files being loaded. Once you go to production, > however, you can suppress those errors. > > To suppress the errors, grab the autoloader instance, and call the > suppressNotFoundWarnings() method with a boolean true argument: > > Zend_Loader_Autoloader::getInstance()->suppressNotFoundWarnings(true); > Unfortunately, this doesn't suppress the Zend_Loader errors I'm seeing. I tried running it in a few locations (bootstrap + before and after Zend_Application_Module_Autoloader instances) - no dice. Matthew Weier O'Phinney-3 wrote: > > BTW, you might want to look at the "Module" variant, as it has a lot of > this stuff already setup for you: > > $loader = new Zend_Application_Module_Autoloader(array( > 'namespace' => 'Projects', > 'basePath' => dirname(__FILE__) . '/..', > )); > Thanks! A small shortcut, but appreciated nonetheless. =) Matthew Weier O'Phinney-3 wrote: > > From what you're describing, it may be that the resource autoloaders are > not properly being called prior to the main autoloader instance. I'll > look into this in the next few days and see if that's the case. > That sounds plausible. I look forward to your response. Thanks again, August -- View this message in context: http://www.nabble.com/Issue%3A-Resource-autoloading-with-Zend_Loader_Autoloader_Resource-%28incubator%29-tp22232795p22235291.html Sent from the Zend Framework mailing list archive at Nabble.com.
