1
1
1alexandr2015-06-15 11:27:22
symfony
1alexandr, 2015-06-15 11:27:22

Why is fmelfinder not loading images?

Hello! I had a problem setting up the fmelfinder bundle. Most likely I did something wrong. Here is the config.yaml

# FMElfinder Configuration
fm_elfinder:
    locale: %locale%
    editor: tinymce4
    fullscreen: true
    include_assets: true
    compression: false
    connector:
        debug: false
        roots:      
            uploads:
                driver: LocalFileSystem
                path: uploads
                upload_allow: ['all']
                upload_deny:  ['']
                upload_max_size: 5M

This bundle works with tinymce
# FMElfinder Configuration
fm_elfinder:
    locale: %locale%
    editor: tinymce4
    fullscreen: true
    include_assets: true
    compression: false
    connector:
        debug: false
        roots:      
            uploads:
                driver: LocalFileSystem
                path: uploads
                upload_allow: ['all']
                upload_deny:  ['']
                upload_max_size: 5M

The problem itself occurs when you try to open the bootloader. A small pop-up window displays the following error:
Invalid backend configuration.
Readable volumes not available.

What could be the problem and how can it be solved?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
1
1alexandr, 2015-06-15
@1alexandr

The problem was due to the fact that I did not create the uploads directory, which I refer to in the config. It was also necessary to change the rights of the directory, otherwise all the buttons would be disabled, and nothing could be loaded.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question