1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

Multiple files uploaded, but only first file can be downloaded in list view

Discussion in 'Community' started by mpfa1073, Apr 20, 2021.

  1. mpfa1073

    mpfa1073 New Member

    Level: Community
    Joomla: 3.9.26
    Fabrik: 3.9.2 (already tried to install the git source code)
    PHP: 7.4.13 (also tried with 7.2.11)

    The form I created has an upload element that receives one or more files using ajax. After form submission an e-mail is sent and files are attached correctly, the problem arises when consulting the records in the back-end of Joomla, when I view the data of the list, it shows the correct number of download buttons, but all of them download the same file.

    The URL generated for each button is incrementing an "ajaxIndex" parameter, but the file downloaded is always the same, it seems as if Fabrikar is only getting the first file returned from the query to the #_repeat_anexos" table (where the uploaded files names are recorded).

    How can I solve this problem?

    Regards
     

    Attached Files:

  2. mpfa1073

    mpfa1073 New Member

    Level: Community
    After some more testing I realize that this problem is related with the download script option, if I set it to "No" then I can view all file links correctly in the List View...
     

    Attached Files:

Share This Page