Failed opening ‘CDBAuthManager.php’ for inclusion error when trying to run a shell command using yii.bat.
The command is RbacCommand.php to create RABC items.
Here is the full error text:
[i]Yii Interactive Tool v1.1 (based on Yii v1.1.14)
Please type ‘help’ for help. Type ‘exit’ to quit.
>> Usage: rbac <action>
Actions:
index
delete
DESCRIPTION
This command generates an initial RBAC authorization hierarchy.
>>
Warning: include(CDBAuthManager.php): failed to open stream: No such file or directory in C:\yii\framework\YiiBase.php on line 427
Warning: include(): Failed opening ‘CDBAuthManager.php’ for inclusion (include_path=’.;C:\xampp\htdocs\trackstar\protected\components;C:\xampp\htdocs\trackstar\protected\models;C:\xampp\php\PEAR’) in C:\yii\framework\YiiBase.php on line 427
Warning: include(CDBAuthManager.php): failed to open stream: No such file or directory in C:\yii\framework\YiiBase.php on line 427
Warning: include(): Failed opening ‘CDBAuthManager.php’ for inclusion (include_path=’.;C:\xampp\htdocs\trackstar\protected\components;C:\xampp\htdocs\trackstar\protected\models;C:\xampp\php\PEAR’) in C:\yii\framework\YiiBase.php on line 427
Fatal error: Class ‘CDBAuthManager’ not found in C:\yii\framework\YiiBase.php on line 217[/i]
The file exists in framework/web/auth but that folder is not in the search path shown above. Where should this search path be added or is there some other issue?
Thanks,
bwls103