Please check the following instructions before submitting a bug :
And provide the followings :
php artisan storage:link
Copied the demo.blade.php to resources/views/test.blade.php
Route::group(['prefix' => 'filemanager', 'middleware' => ['web', 'auth']], function () {
\UniSharp\LaravelFilemanager\Lfm::routes();
});
Route::get('test', function () {
return view('test');
});
Visited the url /test
Error displayed in embedded file manager and http://photo.local/filemanager/?type=image


If you declare the routes by yourselves you must set use_package_routes to false in lfm.php config.
And check if you have folder with name filemanager in your project, sometimes it can cause the problems like this.
Last opinion is your server was configured incorrectly
@mafftor
Removing the route also redirects the same issue. There is a folder inside the public directory.
public > filemanager > config > .htaccess, config.php
I also gave permission to the filemanager folder.
I am working on locally, is there might be any other issue?
For what did you create public > filemanager folder?
Try to rename it or delete and it should help you!
I guess when you're trying to get access to the http://photo.local/filemanager/ your webserver thought you want to get access to the folder instead, but it's not allowed and throws you an error.
I've got the same issue if I want to create public > admin folder and have the same time admin routes :(
You can check it on laracasts.com the same issue
馃憤
Thank you so much. Removing the folder public > filemanager helped me.
Most helpful comment
For what did you create
public > filemanagerfolder?Try to rename it or delete and it should help you!
I guess when you're trying to get access to the http://photo.local/filemanager/ your webserver thought you want to get access to the folder instead, but it's not allowed and throws you an error.
I've got the same issue if I want to create
public > adminfolder and have the same time admin routes :(You can check it on laracasts.com the same issue
馃憤