2009年8月5日星期三

[fw-mvc] Upgrading to ZF1.8 issue

Hi, I've been using 1.6 for some time now but have just upgraded to 1.8 and
started using Zend_Application. I followed this tut:
http://crossfunctional.wordpress.com/2009/05/

But I'm getting some error about my controllers:

Fatal error: Class 'Fruit' not found in
/home/zam/website/application/controllers/AppleController.php on line 3

class AppleController extends FruitController {
...
}

If I remove "extends FruitController" I get:

Zend_Controller_Dispatcher_Exception: Invalid controller specified (error)
in
/home/zam/website/lib/ZendFramework-1.8.4PL1-minimal/library/Zend/Controller/Dispatcher/Standard.php
on line 241


I have set up the following in my zend_config ini

resources.frontController.controllerDirectory = APPLICATION_PATH
"/controllers"


Any ideas? Please help!

--
View this message in context: http://www.nabble.com/Upgrading-to-ZF1.8-issue-tp24831520p24831520.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: