-- maff <[email protected]> wrote
(on Friday, 24 April 2009, 09:50 AM -0700):
> Rob Allen-3 wrote:
> > I've just downloaded 1.8b1 and am getting this with Zend_Tool:
> > 
> >   $ zf create project zf-app-test
> > 
> > Fatal error: Class 'Zend_Controller_Action' not found in /www/tmp/zf- 
> > app-test/application/controllers/IndexController.php on line 3
> > 
> > Anyone else seeing this problem? Any ideas on what I've done wrong?
> > 
> > Regards,
> > 
> > Rob..
> > 
> 
> I got the same problem with ZF in my include_path. The only thing that
> helped was to edit zf.php and to call Zend_Loader::registerAutoload() after
> including Zend/Loader.php (did this before the line which calls Zend_Tool).

Ralph is working on a solution to this, and may already have something
committed to trunk (he can tell you better).

Btw, if you're going to do autoloading... start using
Zend_Loader_Autoloader instead. :)


    require_once 'Zend/Loader/Autoloader.php';
    Zend_Loader_Autoloader::getInstance();

It's a more robust solution, and is what Zend_Application is using at
this time.

-- 
Matthew Weier O'Phinney
Project Lead            | [email protected]
Zend Framework          | http://framework.zend.com/

Reply via email to