Yii generates error "Unable to resolve the request <controller/action>"

yii
Harpreet Singh picture Harpreet Singh · Apr 11, 2012 · Viewed 29.7k times · Source

After logged in successfully, Yii does not executing any page.

Showing an error:

Error 404 Unable to resolve the request "membersdet/index"

Here membersdet is controller Id and index is an action.

Answer

Johnatan picture Johnatan · Apr 12, 2012

Make sure the filename of your controller is EXACTLY "MembersdetController.php". It is case sensitive.

I guess you were developing on local machine under Windows OS and server runs on *nix system. That's normal issue for novice developers, that they forget about case sensitive file system in *nix.