1

我将 Laravel 5 与 CKEditor 和 ElFinder 一起使用。

我已经添加

config.filebrowserUploadUrl = '/elfinder/ckeditor'; 

到 ckeditor/config.js 中的 editor.config。我有上传选项卡,但是当我添加图像并单击发送到服务器时,我得到了异常:

MethodNotAllowedHttpException in RouteCollection.php line 207

当路由动词不正确(GET而不是POST或类似的东西)时,通常会被抛出。我需要在 elfinder 配置中执行其他设置吗?

控制台调试在这个被调用的 url 上抛出 500 错误:

http://main.local/elfinder/ckeditor?CKEditor=description&CKEditorFuncNum=1&langCode=en

4

0 回答 0