Blank View rendered - HTTP return code is 200

Using yii 1.1.8.r3324, Windows 7, XAMPP

What could cause the following behavior?

in actionIndex() $this->render(‘index’) shows a blank page only when a user is logged in with a specific RBAC role.

I have turned off access rules, and also tried opening them up with allow users=>(’@’).

I have also turned off checkAccess (which should bypass RBAC, correct?)

In all cases I can get the error to repeat whenever I log in with a user who has an "admin" role , any other rbac role is ok.

When I remove "admin" role and assign a different role to user he can see the page perfectly.

the blank page is rendered with HTTP code 200 but is completely blank. not even breadcrumbs or menu items in the view.

Here is the RBAC file:





<?php

class RbacCommand extends CConsoleCommand

{

	private $_authManager;

	

	public function getHelp()

	{

		return "

		

		USAGE

			rbac

		

		DESCRIPTION

			generates inital RBAC authorization hierarchy

                    	root->administrator->manager->associate->guest

                    	

            	RUN FROM

                	d:\yii\pss\>..\yii-1.1.8.r3324\framework\yiic shell

            	OR

                	d:\yii\pss\>..\yii-1.1.8.r3324\framework\yiic shell protected/config/test.php

                    	

                  	

		

		";

	}

	

	public function run($args)

	{

		//ensure that an authManager is defined. Mandatory for creating heirarchy.

		if(($this->_authManager=Yii::app()->authManager)===null)

		{

			echo "Error: an authorization manager named 'authManager' must be configured to use this command";

			echo "If you already added 'authManager' component in application config, then quit and re start the yiic shell.";

			return;

		}

		

		echo "This command will create five roles:";

            	echo "root, admin, manager, associate, guest and the following permissions:";

            	

            	echo "create, read, update, delete user\n";

            	echo "create, read, update, delete firm\n";

		echo "create, read, update, delete case\n";

		echo "create, read, update, delete action\n";

            	echo "create, read, update, delete issue\n";

            	

            	echo "manage cases, users, issues, comments, system messages\n";

            	

		echo "Continue? [Y|N] ";

		

		if(!strncasecmp(trim(fgets(STDIN)),'y',1))

		{

			//remove all roles and child assignments

			$this->_authManager->clearAll();

			

			//create lowest level operations for all users

			$this->_authManager->createOperation("createUser","create new user");

			$this->_authManager->createOperation("readUser","read user profile");

			$this->_authManager->createOperation("updateUser","update existing user info");

			$this->_authManager->createOperation("deleteUser","remove user from system");

                    	

                    	//create lowest level operations for all firms

			$this->_authManager->createOperation("createFirm","create new firm");

			$this->_authManager->createOperation("readFirm","view firm profile");

			$this->_authManager->createOperation("updateFirm","update existing firm info");

			$this->_authManager->createOperation("deleteFirm","delete firm");

                 		

			//create lowest level operations for all cases

			$this->_authManager->createOperation("createCase","create new case");

			$this->_authManager->createOperation("readCase","view case profile");

			$this->_authManager->createOperation("updateCase","update existing case info");

			$this->_authManager->createOperation("deleteCase","delete case");

			

                    	//create lowest level operations for all actions

			$this->_authManager->createOperation("createAction","create new action");

			$this->_authManager->createOperation("readAction","view action");

			$this->_authManager->createOperation("updateAction","update existing action info");

			$this->_authManager->createOperation("deleteAction","delete action from case");


                    	//create lowest level operations for all issues

			$this->_authManager->createOperation("createIssue","create new issue");

			$this->_authManager->createOperation("readIssue","view issue profile");

			$this->_authManager->createOperation("updateIssue","update existing issue info");

			$this->_authManager->createOperation("deleteIssue","delete Issue from case");

                    	

                    	//create admin operations for bulk grid view operations

                    	$this->_authManager->createOperation("manageFirms", "administer firms");

                    	$this->_authManager->createOperation("manageCases", "manage cases");

                    	$this->_authManager->createOperation("manageUsers", "manage users");

                    	$this->_authManager->createOperation("manageActions", "manage actions");

                    	$this->_authManager->createOperation("manageIssues", "manage issues");

                    	$this->_authManager->createOperation("manageComments", "manage comments");

                    	$this->_authManager->createOperation("manageSysMessages", "administer system messages");

                    	

			

			//create guest role add appropriate permissions as children.

			$role=$this->_authManager->createRole("guest");

			$role->addChild("readUser");

                    	$role->addChild("readFirm");

			$role->addChild("readCase");

                    	$role->addChild("readAction");

			$role->addChild("readIssue");

			

			//create associate role add appropriate permissions and guest as children.

			$role=$this->_authManager->createRole("associate");

			$role->addChild("guest");

			$role->addChild("createIssue");

			$role->addChild("updateIssue");

                    	$role->addChild("updateAction");

                    	

			

			//create manager role add children

			$role=$this->_authManager->createRole("manager");

			$role->addChild("guest");

			$role->addChild("associate");

			$role->addChild("createUser");

			$role->addChild("updateUser");

                    	$role->addChild("deleteUser");

                    	$role->addChild("deleteIssue");

                    	$role->addChild("createAction");

                    	$role->addChild("deleteAction");

			$role->addChild("updateCase");

			

                    	//create the administrator role and add children

                    	$role=$this->_authManager->createRole("admin");

                    	$role->addChild("guest");

                    	$role->addChild("associate");

                    	$role->addChild("manager");

                    	$role->addChild("createCase");

                    	$role->addChild("deleteCase");

                    	$role->addChild("updateFirm");

                    	

                    	//create task level permission for admin and add children

                    	$task=$this->_authManager->createTask("system", "administration");

                    	$task->addChild("createFirm");

                    	$task->addChild("deleteFirm");

                    	$task->addChild("manageFirms");

                    	$task->addChild("manageCases");

                    	$task->addChild("manageUsers");

                    	$task->addChild("manageActions");

                    	$task->addChild("manageIssues");

                    	$task->addChild("manageComments");

                    	$task->addChild("manageSysMessages");

                    	

                    	//create admin role and add children

                    	$role=$this->_authManager->createRole("root");

                    	$role->addChild("guest");

                    	$role->addChild("associate");

                    	$role->addChild("manager");

                    	$role->addChild("admin");

                    	$role->addChild("system");

                    	

                    	//ensure there is exactly one super admin in the system which is user id 1

                    	$this->_authManager->assign("root",1);

			

			echo "Authorization heirarchy generated!";	

		}

	}

}




and here is accessRules





public function accessRules()

	{

		return array(

                	array('allow',

                        	'users'=>array('@'),

                	),

	}




Finally here is the actionIndex() code




   

            	$dataProvider=new CActiveDataProvider('PCase', array(

                	'criteria'=>array(

                    	'condition'=>'firm_id='.$this->_firm->id,

             		),

                	)

            	);

		$this->render('index',array(

			'dataProvider'=>$dataProvider,

		));



Any help would be greatly appreciated.