CakePHP-Proffer
CakePHP-Proffer copied to clipboard
An upload plugin for CakePHP 3
I have an entity with one required file field and several optional files ("allowEmpttFile" in my model table). The upload and updating of the files work as intended without issue....
I've made the Exception that is thrown when a field is empty in beforeSave optional. You can set the skipEmpty option to enable this. The problem is that when I...
I would like to use Proffer in my CakePHP 4 project. However, when implementing the delete example from the documentation, I get an error. I already tried replacing the config()...
I'm using the Cake4 branch to upload multiple images. I am using the afterPath event listener to customise the upload path so that my uploads are stored at: articles\2020-07-04-104002\file_1.jpg In...
The plugin work fine in latest release of cakephp 4. How can I do to configure the multi-upload on a single input field? Someone help me. Example: 
I'm get these Deprecated errors. The upload is OK, but when I user setAlias or getAlias the upload does not work. Deprecated (16384): App\Model\Table\ImagestestsTable::alias() is deprecated. Use setAlias()/getAlias() instead. -...
I'm using the Proffer plugin to upload several documents or pictures, linked to a machine. In DocsTable I added: ``` $this->addBehavior('Proffer.Proffer', [ 'photo' => [ 'root'=>WWW_ROOT.'files', 'dir' => 'scource_dir', 'thumbnailSizes'...
Cake 3.7 , in debug kit deprecation panel : CAKE/Database/Type.php:273 Using Type::_basicTypeCast() is deprecated. The 'proffer.file' type needs to be updated to implement `TypeInterface`.
When using the "regenerate thumbnails" command from shell: `bin/cake proffer generate table` I get an exception, and execution breaks: `Exception: Unsupported image type. GD driver is only able to decode...
When i try to upload 2 files which are each around 4mb my request data is empty when I debug in my add method of my controller. If I use...