Comments (11)
by this code in VerifyCsrfToken.php
solved.
public function handle($request, Closure $next)
{
$regex = '#' . implode('|', $this->except) . '#';
if ($this->isReading($request) || $this->tokensMatch($request) || preg_match($regex, $request->path())) {
return $this->addCookieToResponse($request, $next($request));
}
throw new TokenMismatchException;
}
from laravel-filemanager.
@premier213 It seem like the csrf token has expired.
from laravel-filemanager.
How to Solve this Problem?
from laravel-filemanager.
#36 (comment)
See if this helps you.
from laravel-filemanager.
I tested with TinyMCE 4 and cannot reproduce this error.
@premier213 can you show me your config/lfm.php?
from laravel-filemanager.
This problem is caused by the middleware
from laravel-filemanager.
Got it.
You solved the issue by disabling VerifyCsrfToken middleware?
from laravel-filemanager.
when 'middleware' => ['web','auth'],
= 'middleware' =>null,
is ok my problem but need middleware for this request @g0110280
from laravel-filemanager.
@g0110280 Apache may be my problem?
I am using wamp server
from laravel-filemanager.
I started a new 5.2 project (on OSX), but uploading/deleting works fine.
And my middlewares are set to 'middleware' => ['web','auth']
too.
Not sure if it is problem of Apache or Windows.
from laravel-filemanager.
@premier213 :
I tested 1.5.2 on Windows 10, things worked just fine.
Do you have more information about this issue?
from laravel-filemanager.
Related Issues (20)
- Undefined method Error HOT 7
- Missing parent::error method at LfmController HOT 3
- + icon dissappears and doesn't come back HOT 3
- Larave File Manager version 2.6.4 does not support .gif files HOT 3
- clicking the confirm button to get the file path url
- Class \"Intervention\\Image\\Facades\\Image\" not found HOT 5
- Use Laravel's built in filesystem abstraction
- Not compatible with Laravel 11 HOT 2
- "Class \"Intervention\\Image\\Facades\\Image\" not found" on Laravel 11 and laravel-filemanager 2.8 HOT 6
- Can't upload a .gltf file?
- Logs left in code HOT 2
- Class "Intervention\Image\Laravel\Facades\Image" not found HOT 3
- tinymce 7 Integration
- How to use UniSharp File Manager with InertiaJS, ReactJs HOT 3
- Get relative path without the domain HOT 4
- support for Quill Rich Text Editor
- Support for Trix Editor
- Delete button is not clickable HOT 1
- Update Hebrew translations
- On file (image) upload: " Some error occured during uploading" error tooltip shows up with Tinymce 7 editor. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-filemanager.