Topic: file upload plugin

efilippi priority asked 3 years ago

Hello, I need help on file upload plugin.

Expected behavior get the $_FILES data on my server using the file upload plugin :

<input type="file" class="file-upload-input" name="filesPlugin[]" data-mdb-multiple="true" data-mdb-file-upload="file-upload" />

Actual behavior get nothing but error "4" in $_FILES array

note : when I use the MDB5 standard file inpout, without the plugin, it works

<input class="form-control" type="file" id="formFileMultiple" name="files[]" multiple />

Thank you for your help


Grzegorz Bujański staff commented 3 years ago

What is error 4? What is the error message? It will be hard for us to recreate this situation because the bug may come from the server and may not be related to our plugin.

efilippi priority commented 3 years ago


I wrote a snippet to show you the problem.

2 forms :

  • 1st with file upload plugin => get "First content: undefined" in the alert

  • 2nd with standard file input => get "Second content: [object File]" in the alert

so we get a file object with standard file input, and nothing with the file upload plugin

Grzegorz Bujański staff answered 3 years ago

thanks for reporting. We will fix it as soon as possible

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.4.0
  • Device: computer / smartphone
  • Browser: Firefox
  • OS: Debian
  • Provided sample code: No
  • Provided link: No