Usermenu Disappeared !

I just moved code over to a server in the cloud. Everything works fine except I just noticed my "TASK" menu is missing!

Normally I have the links for Index, Manage (admin), Update and Delete along the right side edge of the window.

Now I have nothing…the rest of the screen renders as normal.

I have my breadcrumbs but not menu…

if(!isset($this->menu) || $this->menu === array())


array('label'=>Yii::t('app', 'Create') , 'url'=>array('create')),

array('label'=>Yii::t('app', 'List') , 'url'=>array('index')),


I am using the column2.php layout

<?php /* @var $this Controller */ ?>

<?php $this->beginContent('//layouts/main'); ?>

<div class="span-19">

	<div id="content">

		<?php echo $content; ?>

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


<div class="span-5 last">

	<div id="sidebar">


		$this->beginWidget('zii.widgets.CPortlet', array(



		$this->widget('zii.widgets.CMenu', array(






	</div><!-- sidebar -->


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

What is causing this? Any ideas? It’s 2:00am and I am exhausted…

Thanks for any advice!

Was it working on your previous server? The CMenu documentation ( says that you need to specify url as ‘controller/action’. From your code, you seem to have set only the action. Try this to see if it works?

Thank you my friend !

I think I have an idea what is happening. The column1.php layout is being used instead of column2.php…

Not sure how to configure that, but I copied the column2.php layout to the column1.php file and the operations menu suddenly appeared again.

I will review the link you sent me!

Thanks again!

Anyone know where the config is that controls column1.php vs column2.php?

The layout can be set in any controller with "public $layout". Also, do check the main controller in the components folder to see if a global layout is applied.

Thank you BCR !

I am too sleep deprived to recall where some of this stuff is ! The controller in the components was the culprit.

I have mine sent to column2 but I think the new production site is column1…

Also noticed it is set in UIController.