Posted 15 April 2013 - 02:47 AM
Though I had no reply to my topic, I add extra info, which maybe led someone to help me.
It seems, that at some stage, all default-behaviour in my application has failed.
Right now, I've noticed, that even default actions in a controllers are not invoked, and instead results in 404.
Though I have indexAction() defined in my controller, though it is actually copied from auto-generated application and though it claim (in a comment) that: "This is the default 'index' action that is invoked when an action is not explicitly requested by users", I can't use this or any other controller without action part in route, because I'm getting 404 instead of executing default action.
What can be wrong? Can this be somehow related to CUrlManager (though I haven't touched its code -- just tested that rules part is 100% the same as in auto-generated path)?
EDIT: Actually, it turns out, that everything fails with 404, if there is no controller and / or action exactly specified. Even login/logout functions fails, because -- for some reason -- Yii::app()->homeUrl and Yii::app()->user->returnUrl contains either empty string or just the application root folder, assuming to execute default controller and action, which fails in my case.
Proud Cookbook author, though still learning powerful Yii! :] See my generic profile
for more information. Cheers!