When I upload files in Yii using the following code it generates an error.
$file=CUploadedFile::getInstance($model,'file');
and the error goes here. [YiiBase::include(Upload.php) [function.YiiBase-include]: failed to open stream: No such file or directory]
I think a minor thing is being missed by my while configuring Yii.
Any kind of help is appreciated.