barryvdh / laravel-elfinder

elFinder bundle for Laravel
738 stars 171 forks source link

500 Error on example #273

Open AlexFullComms opened 4 years ago

AlexFullComms commented 4 years ago

I'm getting a strange error on Laravel 6.

Colorbox is installed & working as the popup shows using the example in the docs. Tried removing & reinstalling the package however i can't seem to get it working.

Screenshot 2020-02-25 at 09 58 44

Above image is the input & popup link.

`

Select Image
        </div>`

This is the input in my blade file. I'm using adminlte so this is in my admin area.

Screenshot 2020-02-25 at 10 13 54

When the Select Image link is clicked it opens the above modal with 500 error.

This is my route set up in the web.php Route::get('elfinder/popup/test', 'Barryvdh\Elfinder\ElfinderController@showPopup')->name('file-browser');

If i change this at all to anything that isn't 'elfinder/popup/test' i get 404 error.

If someone could advise me on what i may have done wrong as i think it's something i've done as opposed to the package itself.