Laravel-filemanager: ["laravel-filemanager::lfm.error-invalid"] Error after uploading on laradock

Created on 8 Jan 2018  路  3Comments  路  Source: UniSharp/laravel-filemanager

  • Operating system : laravel workspace container

    • I'm not sure which OS it is using but I checked it with uname -a command and it says

      Linux f99f2939faa8 4.9.49-moby #1 SMP Fri Dec 8 13:40:02 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

  • Laravel version : "laravel/framework": "5.5.*",
  • Package version : "unisharp/laravel-filemanager": "~1.8"
  • Steps to reproduce your issue :
  • Screenshots of browser console :

Issue:


I'm using "unisharp/laravel-filemanager": "~1.8" and it works perfectly fine on local testing, however, when I try it on laradock, it is causing ["laravel-filemanager::lfm.error-invalid"] this error on ckeditor image uploading window.

Not sure what is causing problem. Can anybody give advice? Thanks in proceed.

Expected behavior:


It works fine with normal files and svg image file. But not with png, jpeg,jpg files.

Relevant Code:

I also get warning on my Chrome saying,
Resource interpreted as Document but transferred with MIME type application/json: "http://project-1.test/laravel-filemanager/upload?type=Images&_token=a07AjjZgbiauMPQmBXP9dpqQA2a9waLha19v2FEA&CKEditor=ckeditor&CKEditorFuncNum=0&langCode=ko".

laravel-filemanager

Most helpful comment

I had a similar problem and when I checked the log it showed

Reading Exif data is not supported by this PHP installation.

I enabled PHP exif extension and that fixed the problem.

check http://php.net/manual/en/exif.installation.php

All 3 comments

I had a similar problem and when I checked the log it showed

Reading Exif data is not supported by this PHP installation.

I enabled PHP exif extension and that fixed the problem.

check http://php.net/manual/en/exif.installation.php

enabled fileinfo module in php, its working fine in server also

Thanks @salahmyn and @JohnHub76 . Closing inactive issue.

Was this page helpful?
0 / 5 - 0 ratings