Property "CActiveForm.labelEx" is not defined.


I am Newbie in YII, and I am using YII 1.x , right now I just start work with YII modules , and I dont know some reason I get some

errors like …


Property "CActiveForm.labelEx" is not defined.


on this line there is nothing but only simple code




I printing this because I find the error at below line where the code is …

<?php echo $form->labelEx($model,‘name’); ?>

If remove the print_r than below error

Oops! include(tableFieldName.php): failed to open stream: No such file or directory

and again in debug it give the same line <?php echo $form->labelEx($model,‘name’); ?>

How to fix this …

Thanks in advanced …