laravel-filemanager
laravel-filemanager copied to clipboard
Invalid upload request
Good afternoon, I am getting this error in laravel filemanager version 2.2.
invalid upload request
I have Ubuntu 16.04. PHP 7.2, laraverl 5.8, with exif, imagick and fileinfo enabled.
It is only happening to me on this server, before writing look at all the comments, but I have not managed to solve the problem. The images are uploaded, but the user receives this error and has to reload to see the uploaded file, some help please!
I encountered similar problems. I use AWS S3
I am getting the same error in laravel filemanager too!!! Need Help Please!!!!
I solved the problem temporarily by set should_create_thumbnails = false
I use Laravel 7 I really dont know why my Laravel file manager work with every file format except .JPG format it always alerts "Invalid"
Now my lfm.php set code like this /* |--------------------------------------------------------------------------
| Folder Names |
|---|
*/
'folder_categories' => [
'file' => [
'folder_name' => 'files',
'startup_view' => 'grid',
'max_size' => 50000, // size in KB
'valid_mime' => [
],
],
'image' => [
'folder_name' => 'photos',
'startup_view' => 'list',
'max_size' => 500000, // size in KB
'valid_mime' => [
'image/png',
'image/gif',
'image/jpeg',
'image/pjpeg',
'image/svg+xml',
],
],
],
@nguyendachuy thanks. it works, but i want display thumbnails