You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the installation, configuration and views section. I used a fresh Laravel 5.2.7.
After following the instruction:
Under public folder I have ckeditor folder and packages/barryvdh/elfinder folder.
Under resources/views folder I have vendor/elfinder folder with elfinder.php etc.
I removed middleware in config/elfinder.php.
'route' => [
'prefix' => 'elfinder',
'middleware' => '', //Set to null to disable middleware filter
],
I have config.filebrowserBrowseUrl = '/elfinder/ckeditor'; in public/ckeditor/config.js as instructed.
In my view, I have a ckeditor and an image button. I click it and pop-up comes with url of http://localhost:8000/elfinder/ckeditor?CKEditor=content&CKEditorFuncNum=1&langCode=en. But it displays errors:
Whoops, looks like something went wrong.
1/1
ReflectionException in Container.php line 736:
Class does not exist
in Container.php line 736
at ReflectionClass->__construct('') in Container.php line 736
at Container->build('', array()) in Container.php line 631
at Container->make('', array()) in Application.php line 674
...
....
What am I doing wrong?
The text was updated successfully, but these errors were encountered:
Change this : 'middleware' => NULL instead of 'middleware' => ''
or if you want to add a middleware for your users be sure to add the new web middleware like so: 'middleware' => ['web', 'auth']
I followed the installation, configuration and views section. I used a fresh Laravel 5.2.7.
After following the instruction:
I removed middleware in config/elfinder.php.
I have
config.filebrowserBrowseUrl = '/elfinder/ckeditor';
in public/ckeditor/config.js as instructed.In my view, I have a ckeditor and an image button. I click it and pop-up comes with url of
http://localhost:8000/elfinder/ckeditor?CKEditor=content&CKEditorFuncNum=1&langCode=en
. But it displays errors:What am I doing wrong?
The text was updated successfully, but these errors were encountered: