Property "CContentDecorator.views" is undefined:

When i’m trying run the gii module i get error:

DefaultController gii has path to column1:

class DefaultController extends CController


	public $layout='/layouts/column1';

File column1 has code

<?php $this->beginContent('gii.views.layouts.main'); ?>

<div class="container">

	<div id="content">

		<?php echo $content; ?>

	</div><!-- content -->


<?php $this->endContent(); ?>

The file main.php is into /framework/gii/views/layouts/main.php and he has code:

<?php echo $content ?>

Is this in a new generated Yii webapp?

If it’s not please try with it to see if it’s something in your yii installation or in your code.


I made downgrade framework directory :huh: