I have a camelcased controller name called MenuItem. And also I created a router for this particular controller as
$routeMenuItem = new Zend_Controller_Router_Route('/menu-item/:action/:menu/:parent/:id/*', array( 'controller' => 'MenuItem', 'action' => 'index', 'menu' => 1, 'parent' => 0, 'id' => 0 ));
No, when I go to this route, say /menu-item/index/2 , I get an error, Invalid controller specified (MenuItem) .
However, I am facing this problem while deploying in linux environment . But during development on Windows, it works great .
How to solve this?
Additional Information
Controller:
File Name: MenuItemController.php Class Name: MenuItemController
Stack trace
#0 /../library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
Request Parameters
array ( 'action' => 'index', 'menu' => '2', 'controller' => 'MenuItem', 'parent' => 0, 'id' => 0, )
source share