include(CActiveForm.php) [<a href=‘function.include’>function.include</a>]: failed to open stream: No such file or directory
I have this error when I create the model and the crud of a table of my db and I try to view it localhost.What can I do?
include(CActiveForm.php) [<a href=‘function.include’>function.include</a>]: failed to open stream: No such file or directory
I have this error when I create the model and the crud of a table of my db and I try to view it localhost.What can I do?
Which version of Yii are you using? CActiveForm is available since Yii 1.1.1.
Last version…v1.1.1.
Can you post your code here?
Try to use import function.
Yii::import('system.web.widgets.CActiveForm');
Look here