Laravel-filemanager: http://localhost/laravel-filemanager? 404

Created on 10 Aug 2019  路  4Comments  路  Source: UniSharp/laravel-filemanager

i got 404 error when click browse server on url http://localhost/laravel-filemanager?type=Images&CKEditor=editorId&CKEditorFuncNum=1&langCode=en

And provide the followings :

  • Operating system : win10
  • Laravel version : 5.8
  • Package version : dev-master
  • Steps to reproduce your issue : i already following all the step, and try to reinstall and googling but don't fix the issue i got
  • Screenshots of browser console :
    image

also i run my web without php artisan serve, but run it through "localhost/folder_name"

Most helpful comment

Show list route by type php artisan route:list anh check route of lfm

All 4 comments

Show list route by type php artisan route:list anh check route of lfm

found /filemanager

update .env with your real url

example:
APP_URL=http://localhost:8000

reload config and php artisan serve again

now check the file manager
http://localhost:8000/laravel-filemanager?type=Images&CKEditor=article_ckeditor&CKEditorFuncNum=0&langCode=en

hope this help

I have the same issue. An when ein run php artisan config:cache comes

  67|             require $configPath;
    68|         } catch (Throwable $e) {
    69|             $this->files->delete($configPath);
    70|
  > 71|             throw new LogicException('Your configuration files are not serializable.', 0, $e);
    72|         }
    73|
    74|         $this->info('Configuration cached successfully!');
    75|     }

This only happens if the file manager Config is in it.

Was this page helpful?
0 / 5 - 0 ratings