I tryed to implment the "File upload" functionality into my application from this URL:
http://www.yiiframework.com/doc-2.0/guide-input-file-upload.html
The Problem is, that the Class UploadForm extends the Yii-Base-Model Class and if Yii trys to instanziate the Class UploadForm there is an Problem to load the Model class.(see errol.log )
Here the first lines of the UploadForm Class.
namespace app\models;
use yii\web\UploadedFile;
use yii\base\Model;
class UploadForm extends Model
I have checkt in my yii framework if all the used classes available:
find . -name CModel*
./base/CModel.php
./base/CModelEvent.php
./base/CModelBehavior.php
find . -name CUploade*
./web/CUploadedFile.php
Can someone help me to solve this problem please? It seems an "beginner" problem?
Thank you