Closed squalltua closed 5 years ago
Well... which class exactly?
The listeners are here: https://github.com/burzum/cakephp-file-storage/tree/2.0/src/Storage/Listener
Looks like the migration guide is incomplete.
I don't know. I just follow doc.
Try using the listeners from here.
https://github.com/burzum/cakephp-file-storage/tree/2.0/src/Storage/Listener
Yes. work no error and I think the document need update.
I changed
use Burzum\FileStorage\Event\ImageProcessingListener;
use Burzum\FileStorage\Event\LocalFileStorageListener;
instand to
use Burzum\FileStorage\Storage\Listener\LocalListener;
use Burzum\FileStorage\Storage\Listener\ImageProcessingListener;
and fixed
$listener = new LocalListener();
EventManager::instance()->on($listener);
But i'm not sure is work fine or not.
I follow the installation step. In step
CakePHP Bootstrap
Clean installation, No code, Just installed the pluginThey class could not found.
Version
PS Migrating from File Storage v1 to v2 page in the document has gone.