Fatal error in live environment

3 messages Options
Embed this post
Permalink
Raavi Raaj

Fatal error in live environment

Reply Threaded More More options
Print post
Permalink
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
Tobias Gies

Re: Fatal error in live environment

Reply Threaded More More options
Print post
Permalink
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 <[hidden email]>:

> 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
Raavi Raaj

Re: Fatal error in live environment

Reply Threaded More More options
Print post
Permalink
Ok. I have kind of identified the problem.
I am using the PluginLoader class file include cache, if I disable it the site seems to work.
Also the same happens with file caching.
 
Could the error be beacuse of the directory permission issue, because the filenames seem fine.
 
-R

 
On 12/26/08, Tobias Gies <[hidden email]> wrote:
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 <[hidden email]>:
> 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