Can't debug query error

I have a table called user with several fields but none called "user". When I make the following query:




		$dataProvider=new CActiveDataProvider('User', array(		

			'criteria'=>array(

				//'condition'=>'userName IN ("'.$terms.'") OR lastName IN ("'.$terms.'") OR firstName IN ("'.$terms.'")',

			),			

		));



I get the following error:

"User.user" is not defined.

I’m not referencing the field “User.user” anywhere so why am I getting that error?

Could you paste here SQL query And User model?

In

Yii we having default these Configure use Class and u have same Model

[color=red]’[/color][color=red]components[/color][color=red]’[/color]=>[color=black]array[/color][color=olive]([/color] [color=red]’[/color][color=red]user[/color][color=red]’[/color]=>[color=black]array[/color][color=olive]([/color] // enable cookie-based authentication [color=red]’[/color][color=red]allowAutoLogin[/color][color=red]’[/color]=>[color=black]true[/color], [color=red]’[/color][color=red]loginUrl[/color][color=red]’[/color] => [color=black]array[/color]color=olive[/color], [color=olive])[/color], [color=olive])[/color],Try to Create Model With Other Name