yiians,
Accessing the Web UI by running the below request
?r=authorization/main
results in below response
Error 404
Unable to resolve the request "authorization/main".
what am i doing wrong.
yiians,
Accessing the Web UI by running the below request
?r=authorization/main
results in below response
Error 404
Unable to resolve the request "authorization/main".
what am i doing wrong.
Hi and welcome
Do you have a controller called AuthorizationController?
Do you have an action in that controller called actionMain?
Dear Mike,
No, because, the yii-auth Documentation does not tell me to do so.
I have done the Installation part and struck up at the Role Assignment step.
There is neither AuthorizationController method nor actionMain. Please guide me.
Thanks in anticipation
Oh, sorry, i missed that you where talking about an extension here. No idea how to fix then, you should ask the extension author.
Dear Mike,
Just to clarify.
/webroot/protected/.
/webroot/protected/modules/authorisation/.
so from which line of code, does YII know that we are requesting a page under ‘modules’ rather than the ‘core’.
my testdrive application is working fine and i can make requests like ?r=site/index which is under ‘core’.
I think if i ask the right questions you may be able to guide me. Thanks.
Dear Mike,
Just to clarify.
/webroot/protected/.
/webroot/protected/modules/authorisation/.
so from which line of code, does YII know that we are requesting a page under ‘modules’ rather than the ‘core’.
my testdrive application is working fine and i can make requests like ?r=site/index which is under ‘core’.
I think if i ask the right questions you may be able to guide me. Thanks.
I’ve hardly used any modules in my apps. Yii knows from the route, which module / controller it should look for. See here for details on routes:
http://www.yiiframework.com/doc/guide/basics.controller#route
But like i said: Don’t know, which route this extension is expecting.