Hello,

i've troubles with changing the name of the default module (zf 1.0.3).
The people on #zftalk showed me the issue with the patch (issue 1808 -
http://framework.zend.com/issues/browse/ZF-1808).

But after i replaced the loadClass() method i get the following output:

Notice: Undefined property:
Zend_Controller_Dispatcher_Standard::$curModule in
Zend/Controller/Dispatcher/Standard.php on line 324 Fatal error:
Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message
'Invalid controller class ("IndexController")' in
Zend/Controller/Dispatcher/Standard.php:331

Why is $curModule undefined ? i see it beeing used in other methods of
the class (maybe loadClass is first method called?).


My module hirachie look like:

/app/modules/home/controllers/IndexController.php (with class
Home_IndexController)
/app/modules/projects/controllers/IndexController.php (with class
Projects_IndexController)
... and so on


The reason why i want to name the default module 'home' is because i'm
going to use module-based-errorhandlers and the home module is the
indexpage of my homepage (so it's the starting point for the users where
they see overview of the different modules (like projects, docs, ...).


Hope someone here can help me with this.


Best regards,
Steven Truppe

Reply via email to