Laravel-filemanager: v1.8 csrf missmatch when weight of an image exceeds the limit.

Created on 15 Jun 2017  路  2Comments  路  Source: UniSharp/laravel-filemanager

Laravel v5.4
Package: v1.8
wamp 3.0.36 64bit

This was reported before but im getting a csrf missmatch error when im trying to upload files much larger than the alower weight.

Also that error is only show when the window of manager is on fullscreen, if u try upload the same file in a more minimized version the window just close.

Im using a standar alone button.

{!! \File::get(base_path('vendor/unisharp/laravel-filemanager/public/js/lfm.js')) !!}
var route_prefix = "{{ url(config('lfm.prefix')) }}";
$('#lfm').filemanager('image', {prefix: route_prefix});

csrf

question

Most helpful comment

Never mind we removed the whole package and developed our own thanks for your response.

All 2 comments

@spyrosjevan

  1. What did you mean by "weight"?
  2. Can you upload files successfully if size of the files is lower than 2 MB ?

Never mind we removed the whole package and developed our own thanks for your response.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rlrlaa123 picture rlrlaa123  路  3Comments

maorkavod picture maorkavod  路  5Comments

anasmorahhib picture anasmorahhib  路  5Comments

phamtien9819 picture phamtien9819  路  5Comments

DaxtonChen picture DaxtonChen  路  4Comments