Newbie-> cannot get new controller to work


What is going on? - I am lost!

I have even commented-out ullManager section in main configuration file, to be sure this is not routing problem!

OK - the docs say address like this:


will resolve in the following manner:


so I expect that in case I have a file called “entryformController.php” in ‘/protected/controllers/’ then it should load! But obviously - not - it is not loading at all.

Here you are my ‘Error 404’ application log:

exception 'CHttpException' with message 'Unable to resolve the request

"entryform".' in /var/yii/web/CWebApplication.php:287

Stack trace:

#0 /var/yii/web/CWebApplication.php(142):


#1 /var/yii/base/CApplication.php(162): CWebApplication->processRequest()

#2 /var/www/mysite/index.php(14): CApplication->run()

#3 {main}



So, the simple question is as follows:

WHY ???

What are the all steps necessary to pass user input not through default ‘siteController’ but through custom one?

Thanks ahead - please help!


Why there is no single word anywhere that controller file name MUST start from capital letter ???

My controller file must be called ‘EntryformController.php’ not ‘entryformController.php’ for Yii to find it !!!

It took me two hours today - alas!!!