Property "CActiveForm.labelEx" is not defined.

Hi,

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 …

CException

Property "CActiveForm.labelEx" is not defined.

/xxx/xxx/xxx_xxx/xx/xxxx/xxx/edit.php(23)

on this line there is nothing but only simple code

echo"<pre>";

print_r($form->labelEx);

exit;

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 …