Over the past week I have been learning and working with Zend Framework on a new site im creating, 20DollarBanners.com. Everything has been working great all week on my windows machine, and I thought it was about time to upload to one of our live web servers for testing. As with most sites, as soon as I went from Windows to Linux all hell broke out. I got the following error, and couldn’t see anywhere in the code why it was happening.

After a little playing around on my local machine, I managed to reproduce the same error, and found that it was a problem with the filenames of my controller files. I checked on the linux server, and everything looked in order apart from one small difference. The filename on the server was indexController instead of IndexController, the captial I made all the difference.

After googling the problem, all I found was a load of results with pages just showing the error message, so hopefully this blog post will be of use to anyone else who finds themselves in the same situation I did.

你好，我遇到了相同的问题！hello，I have struggled with the same error.
我的英文很烂。。。my english is very poor,so I give my solution directly here。
———————-
$controller = Zend_Controller_Front::getInstance();
$controller->setControllerDirectory(INCLUDE_PATH.’/Controllers’);
$controller->setParam(‘useDefaultControllerAlways’, true);