laravel-filemanager icon indicating copy to clipboard operation
laravel-filemanager copied to clipboard

Invalid upload request

Open xbfast opened this issue 3 years ago • 6 comments

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!

xbfast avatar Mar 15 '21 08:03 xbfast

I encountered similar problems. I use AWS S3

nguyendachuy avatar Mar 26 '21 06:03 nguyendachuy

I am getting the same error in laravel filemanager too!!! Need Help Please!!!!

JidiWork avatar Apr 02 '21 22:04 JidiWork

I solved the problem temporarily by set should_create_thumbnails = false

nguyendachuy avatar Apr 03 '21 03:04 nguyendachuy

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',
        ],
    ],
],

JidiWork avatar Apr 07 '21 04:04 JidiWork

@nguyendachuy thanks. it works, but i want display thumbnails

SajjadAemmi avatar Aug 07 '22 08:08 SajjadAemmi