Hello.
my Yii application (projcontrol is the app folder name) was set up and worked fine last friday.
I use alternaterbac, so have to work with yiic shell a lot. Everything was just fine, and today when i try to start yiic shell, nothing is happened
i run
it «thinks» a moment and then returns me to console
and no yiic shell open
though if i run
it shows me help...
path to php.exe in yiic.bat is set as
maybe someone can help me with this?
Thanks
UPDATE: i've configured system Path variable and try to start yiic shell as described here http://www.yiiframew...doc/cookbook/3/ but result is the same as before
Page 1 of 1
Yiic shell doesn't start anymore
#2
Posted 27 April 2009 - 02:34 AM
Hi,
I have the same problem. I solved that in access rules I allowing access by all users to index action.
I have the same problem. I solved that in access rules I allowing access by all users to index action.
#3
Posted 27 April 2009 - 02:42 AM
Thanks for quick answer.
Do you mean SiteController index action?
I dont use rbac in site controller.
Do you mean SiteController index action?
I dont use rbac in site controller.
#4
Posted 27 April 2009 - 04:57 AM
I had the same problem. The reason was, that i made the application's default action only accessible for logged in users. I don't know of any workaround except disabling access rules while i want to work with yiic shell.
#5
Posted 27 April 2009 - 05:09 AM
Gotcha! Yea, i think thats it! can't check up right now, but will report later. Thanks a lot!
#6
Posted 27 April 2009 - 06:44 AM
Since 1.0.4, you can use the following command to start shell:
yiic shell path/to/config-file
yiic shell path/to/config-file
#8
Posted 28 April 2009 - 01:06 AM
Very nice Qiang, thanks. 
@simon:
You could use another config file for your console app and e.g. set another default (dummy) controller that doesn't restrict acces to its default action.
@simon:
You could use another config file for your console app and e.g. set another default (dummy) controller that doesn't restrict acces to its default action.
#9
Posted 28 April 2009 - 02:54 AM
Thank you all, guys! i have changed default controller in config to the rbac using controller, and thats the reason. i'd never get it by myself without your help. btw i'd like to know if this feature is represented in any FAQ? if no — maybe it'll be nice to add it there?
Share this topic:
Page 1 of 1

Help














