I am developing an application for symbian using Yii framework. In my view
<?php
foreach ($simplified_list as $data) {
echo "<tr>
<td>" . CHtml::link($data['name'], array('view')) . "</td>
<td>" . $data['data_volume'] . "</td>
<td>" . $data['tariff'] . "</td>
<td>" . $data['tariff_with_vat'] . "</td>
</tr>";
}
?>
This is the view.php
<?php $form = $this->beginWidget('CActiveForm', array(
'id' => 'datapkgview_form',
'enableAjaxValidation' => false,
));
?>
<div class="form">
<div class="row">
<h1>Heading</h1>
</div>
<?php $this->endWidget(); ?>
</div>
And, in my controller here is the action for view.php
public function actionView() {
$this->render('view');
}
I get an error as You are not authorized to perform this action.
How can I solve this problem.
Any suggestions are appreciated.
Thank you in advance