Closed CoolS2 closed 2 years ago
ERROR:
There is no extension able to load the configuration for "elfinder" (in "config/packages/routing.yaml")
// composer.json
"helios-ag/fm-elfinder-bundle": "10.0.4"
// bundles.php
FM\ElfinderBundle\FMElfinderBundle::class => ['all' => true]
// routing.yaml
elfinder: resource: "@FMElfinderBundle/Resources/config/routing.yaml"
// security.yaml
access_control: - { path: ^/admin, roles: ROLE_ADMIN } - { path: ^/efconnect, role: ROLE_USER } - { path: ^/elfinder, role: ROLE_USER }
// assets.yaml
fm_elfinder: instances: default: locale: '%locale%' editor: ckeditor relative_path: false connector: roots: uploads: driver: LocalFileSystem path: uploads upload_allow: ['image/png', 'image/jpg', 'image/jpeg'] upload_deny: ['all'] upload_max_size: 2M
Resolved:
Cool :)
ERROR:
There is no extension able to load the configuration for "elfinder" (in "config/packages/routing.yaml")
// composer.json
"helios-ag/fm-elfinder-bundle": "10.0.4"
// bundles.php
FM\ElfinderBundle\FMElfinderBundle::class => ['all' => true]
// routing.yaml
elfinder: resource: "@FMElfinderBundle/Resources/config/routing.yaml"
// security.yaml
// assets.yaml
fm_elfinder: instances: default: locale: '%locale%' editor: ckeditor relative_path: false connector: roots:
uploads: driver: LocalFileSystem path: uploads upload_allow: ['image/png', 'image/jpg', 'image/jpeg'] upload_deny: ['all'] upload_max_size: 2M