$model ->save

im using if($model->save())

{

redirections;

}

else

{

I want show the reason why its not save

print_r($model->errors);//which returns empty array

}

Help me how to show the reason , thanks in advance

Errors are displayed using CHtml::errorSummary() by passing a model instance to it. You should read more about forms in Yii.