Hi,
I'm new in Yii, straggling with EAjaxUpload extension. I keep getting "
image.png 1.2kB Failed" on upload.
In console it shows:
POST http ://localhost/testdrive/index.php?r=controller/upload&PHPSESSID=&YII_CSRF_TOKEN=64cdd116e7f456ce0257dc5b86d55da437e74cd5&qqfile=image.png
404 (Not Found) fileuploader.js:1204
qq.extend._upload fileuploader.js:1204
qq.UploadHandlerAbstract.upload fileuploader.js:892
qq.FileUploaderBasic._uploadFile fileuploader.js:397
qq.FileUploaderBasic._uploadFileList fileuploader.js:388
qq.FileUploaderBasic._onInputChange fileuploader.js:372
qq.UploadButton.onChange fileuploader.js:309
(anonymous function) fileuploader.js:825
Checked all max files sizes allowed many times, seems fine, php.ini has 32MB allowed.
My "uploads" directory is in "WebRoot/testdrive/uploads/" with
$folder=Yii::app()->request->baseUrl.'/uploads/';
I'm using simplest steps as a base from here:
http ://www.yiiframework.com/doc/guide/1.1/en/quickstart.first-app
And adding functionality to send an image to server with this tool and simplest way it is written there:
http ://www.yiiframework.com/extension/eajaxupload/
Can't make it work, I would appreciate any help.
Thanks