barryvdh / laravel-elfinder

elFinder bundle for Laravel
739 stars 171 forks source link

Invalid backend configuration. Readable volumes not available #211

Open dominicgfunny opened 6 years ago

dominicgfunny commented 6 years ago

i Used your package via https://packagist.org/packages/barryvdh/elfinder-bundle, I got a error Message "Invalid backend configuration. Readable volumes not available." in screen.

-i used laravel version 5.5 issue01 issue02 issue03

xelyos commented 6 years ago

What is your configuration file? you need to have something like that: config/filesystems.php:

    'disks' => [
        'allUploads' => [
            'driver' => 'local',
            'root'   => storage_path('app/uploads'),
        ]
    ],

config/elfinder.php:

    'disks' => [
        'allUploads' => [
            'URL' => Config('app.url') . '/uploads/',
            'alias' => 'All Uploads'
        ]
    ],
santaros commented 5 years ago

I have the same issue My server is shared hosting php 7.1 I wish to upload to an 'uploads' directory inside my public_html

I have tried many filesystems and elfinder.php configurations does anyone have an idea what my configuration files should look like?

takouarnauld commented 5 years ago

Hello, same issue for me. Please help

jokosusilo commented 5 years ago

@takouarnauld is your app in shared hosting? have you tried adding this to your index.php?


$app->bind('path.public', function() {
    return __DIR__;
});
creativeplus2 commented 3 years ago

@takouarnauld is your app in shared hosting? have you tried adding this to your index.php?

$app->bind('path.public', function() {
    return __DIR__;
});

This is works Thanks Joko