Rbac command add issue

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 ?

NOTE: moved to proper section "Agile Web Dev" instead of "General Discussion"

Hi i am facing same issue plz give me a resolution

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.

Please help me .The yiic shell command open always a html script

Cara, veja lá no meu post. Consegui rodar.

Dude, see my post. I got run.

http://www.yiiframework.com/forum/index.php/topic/28731-problemas-com-yiic/page__gopid__138938#entry138938

Chapter 8 – RBAC -> http://www.yiiframework.com/forum/index.php/topic/28930-chapter-8-–-rbac/

Thanks dude! it works for me :) . Grettings from México

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