zend-loader

Zend_Loader can't find my file?

I am following this tutorial on Zend Forms. I copied it verbatim and I got this error Fatal error: Class 'forms_ContactForm' not found in /Quickstart/application/controllers/IndexController.php on line 10 Which led me to believe it wasn't loading in the class, so I added this into my IndexController.php file Zend_Loader::loadClas...

How to upgrade Zend_Loader from 1.7 to 1.8?

I have been using this, and it works fine in 1.7, but not in 1.8. require_once('Zend/Loader.php'); Zend_Loader::registerAutoload(); It says it's deprecated, and that I should use Zend_Loader_Autoloader instead, but I can't seem to get it to work. Any suggestions? ...

how to add a second path to the same namespace in the zend autoloader

We are working on a new zend framework project and most things are going fine with the bootstrap: <?php class Bootstrap extends Zend_Application_Bootstrap_Bootstrap { protected function _initAutoload() { $autoloader = new Zend_Application_Module_Autoloader(array( 'namespace' => 'List8D', 'basePat...

Cant get the zend loader to load classes only under wamp

I'm trying out the zend framework classes for the first time. I am interested in using some of the individual classes for now. Reading the documentation and some other q's here and in blogs I've tried three ways to load the classes //attempt 1 - using zend loader require_once('library\Zend\Loader.php'); Zend_Loader::loadClass('Zend_...

new Zend_Loader_Autoloader not finding files

I just upgraded from ZF 1.7 to ZF 1.9, and almost everything works fine... except for Autoloader. Old: require_once('Zend/Loader.php'); Zend_Loader::registerAutoload(); New: require_once 'Zend/Loader/Autoloader.php'; $loader = Zend_Loader_Autoloader::getInstance(); $loader->registerNamespace('MySiteName_'); $loader->setFal...

What's the difference between Zend_Application_Module_Autoloader and Zend_Loader_Autoloader_Resource ?

I've noticed that the sames happens with: $moduleLoader = new Zend_Application_Module_Autoloader(array( 'namespace' => '', 'basePath' => APPLICATION_PATH)); $moduleLoader->addResourceType('acl','acls/','Acl'); and $resourceLoader = new Zend_Loader_Autoloader_Resource(array( 'basePath' => APPLICATION_PATH, 'namespac...

Is registering the autoloader needed zend_loader::registerAutoload()

I'm guessing this line registers the autoload function, which in turn loads needed Zend classes. Zend_Loader::registerAutoload(); My question: is this line meant to be used in applications that call some zend components but aren't fully zend applications? or is needed also in applications that are fully zend and use zend MVC? ...