Closed kirti123 closed 10 years ago
Did you include App::import('Vendor', 'Uploader.Uploader'); in your model? What version of CakePHP are you using?
What @bradmaxs said, you need to import the Uploader class found within the plugin. Any reason you don't update to v4? It has many more features and bug fixes.
I am using cakephp-2.4.7 yes, Uploader class is imported. but it didn't work. what i changed is, i replaced the folder name to "FileUploader" instead "Uploader" and did changes all other files. it is working now.
and i have to fix that uploader issue soon. so haven't time to read about composer that is needed for v4. anyways, going to update the latest version.
Thanks
Hello, I am using version 3.7.4 of Uploader. I am getting the PHP Fatal error: Class 'Uploader' not found in /var/www/Project/admin/Plugin/FileUpload/Model/Behavior/AttachmentBehavior.php on line 109
Please help Thanks Kirti Umrigar