Hi all,
I’ve got an Users model.
In my “admin” controller I’ve got an “admin” action with the following code:
$dataProvider=new CActiveDataProvider('Users', array(
'pagination'=>array(
'pageSize'=>Yii::app()->controller->module->user_page_size,
),
this raise that error:
include(User.php): failed to open stream: No such file or directory
All other action in that controller works well, like:
public function loadModel()
{
if($this->_model===null)
{
if(isset($_GET['id']))
$this->_model=Users::model()->notsafe()->findbyPk($_GET['id']);
if($this->_model===null)
throw new CHttpException(404,'The requested page does not exist.');
}
return $this->_model;
}
Any idea ?
Thanks for your help?