2008年12月25日星期四

Re: [fw-core] Fatal error in live environment

Hey Raavi,

first thing that comes to mind when switching from Windows to a *NIX
environment is of course file naming. Are you sure that your module
directories are all named lowercase, and that your controller
filenames are in CamelCase like this: Module_IndexController.php?

Best regards,
Tobias

2008/12/25 Raavi Raaj <raaviraaj77@gmail.com>:
> Hi,
>
> My ZF application worked perfectly in the developemt environment (windows
> xp + xampp), but on the live environment (FreeBSD) it gives me this error...
>
> Fatal error: Uncaught exception 'Zend_Controller_Exception' with message 'No
> default module defined for this application' in
> /usr/www/users/mapn/library/Zend/Controller/Dispatcher/Standard.php:380
> Stack trace:
> #0 /usr/www/users/mapn/library/Zend/Controller/Dispatcher/Standard.php(203):
> Zend_Controller_Dispatcher_Standard->getControllerClass(Object(Zend_Controller_Request_Http))
> #1 /usr/www/users/mapn/library/Zend/Controller/Dispatcher/Standard.php(237):
> Zend_Controller_Dispatcher_Standard->isDispatchable(Object(Zend_Controller_Request_Http))
> #2 /usr/www/users/mapn/library/Zend/Controller/Front.php(934):
> Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http),
> Object(Zend_Controller_Response_Http))
> #3 /usr/www/users/mapn/public/index.php(17):
> Zend_Controller_Front->dispatch()
> #4 {main} thrown in
> /usr/www/users/mapn/library/Zend/Controller/Dispatcher/Standard.php on line
> 380
>
> Any clues where I should be investigating...
> I really have no idea where to start looking, all guidance is appreciated.
>
> Wising you all merry christmas and a happy new year!
>
> -R

没有评论: