Laravel File Manager 404错误 [英] Laravel File Manager 404 error

查看:57
本文介绍了Laravel File Manager 404错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在项目中安装了Laravel文件管理器,但是当我尝试弹出文件管理器时,我不明白为什么会出现NotFoundHttpException的问题.

I just installed Laravel file manager on my project and I don't understand why I get an NotFoundHttpException when I try to pop up the file manager.

我已经在许多项目中安装了它,这是我第一次遇到这种错误.

I've installed it in many projects and it's the first time that I get this kind of error.

我已经将LaravelFilemanagerServiceProvider放入了我的提供程序中, 并且服务提供商在RouteServiceProvider上方 我试图清除路由缓存,发布所有文件等...

I already put the LaravelFilemanagerServiceProvider in my providers, and the service provider is above the RouteServiceProvider I've tried to clear the route cache, to publish all files etc...

当我使用php artisan route:list时,我具有使用正确的中间件的正确路由,

When I do php artisan route:list I have the correct routes with the correct middlewares,

但是在我的浏览器上无法访问文件管理器,

but on my browser impossible to access the file manager,

因此在控制台中,路由似乎已正确注册,但浏览器找不到它

so with the console the routes appear to be correctly registered, but the browser does not find it

任何想法如何进行?谢谢您的回答

any idea how to proceed ? Thank you for your answers

推荐答案

我找到了解决方案

我使用了来自Laravel File Manager网站的wysiwyg编辑器的预制代码,但是该代码是错误的,

I used a pre-made code for the wysiwyg editor coming from Laravel File Manager website but the code was wrong,

在集成"部分中要小心,在默认的给定配置下,代码并不总是正确的.

Be careful in the "Integration" section, the code is not always correct with the default given configuration.

这篇关于Laravel File Manager 404错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆