I am working at trackstar Agile book application chapter 8.
i put the the "RbacCommand.php" class to
application "trackstar/protectedcommands/shell/" folder
and have already updated component array in main.php with
'authManager'=>array(
'class'=>'CDbAuthManager',
'connectionID'=>'db',
But as i open the yiic shell
and typed help
then there don't appear the new command i.e.
rbac
what i added according to instructions in chapter8
any help please ?
Page 1 of 1
Rbac command add issue rbac command not being added in command line yiic shell
#2
Posted 10 November 2011 - 04:39 AM
NOTE: moved to proper section "Agile Web Dev" instead of "General Discussion"
Find more about me.... btw. Do you know your WAN IP?
#3
Posted 22 December 2011 - 12:28 PM
Hi i am facing same issue plz give me a resolution
On revolutions !
#4
Posted 23 December 2011 - 05:24 AM
It is solved it was due to using wrong command
<%root of your installed Yii folder %>yiic shell C:\xampp\htdocs\trackstar\protected\commands\shell\RbacCommand.php
instead of above command it should be :-
<%root of your installed Yii folder %>yiic shell C:\xampp\htdocs\trackstar\protected\config\main.php
After this command i got what are expected.
<%root of your installed Yii folder %>yiic shell C:\xampp\htdocs\trackstar\protected\commands\shell\RbacCommand.php
instead of above command it should be :-
<%root of your installed Yii folder %>yiic shell C:\xampp\htdocs\trackstar\protected\config\main.php
After this command i got what are expected.
On revolutions !
#5
Posted 15 February 2012 - 05:11 PM
Please help me .The yiic shell command open always a html script
#6
Posted 15 February 2012 - 06:49 PM
Cara, veja lá no meu post. Consegui rodar.
Dude, see my post. I got run.
http://www.yiiframew...938#entry138938
Chapter 8 – RBAC -> http://www.yiiframew...%E2%80%93-rbac/
Dude, see my post. I got run.
http://www.yiiframew...938#entry138938
Chapter 8 – RBAC -> http://www.yiiframew...%E2%80%93-rbac/
#8
Posted 23 October 2012 - 07:26 AM
Hi
for wamp user shell command will be like this
C:\wamp\www\framework\yiic shell C:\wamp\www\trackstar\protected\config\main.php
it works for me also ..thanks
for wamp user shell command will be like this
C:\wamp\www\framework\yiic shell C:\wamp\www\trackstar\protected\config\main.php
it works for me also ..thanks
Share this topic:
Page 1 of 1

Help













