Problem/Motivation

Not able to upload bulk media.
When I upload any file or image, I'm getting a message as "Failed to open output stream."
And when I submit, the error message "No media files have been provided" is being displayed.

Steps to reproduce

Install all the required modules and libraries (Dropzone js)

Goto admin>config>bulk media upload
add configuration

label : Bulk Image
form: none
location: public://bulk-media-upload

Goto admin>content>bulk media upload

select multiple images and save

CommentFileSizeAuthor
Screenshot (145).png152.95 KBshaik_karimulla
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

shaik_karimulla created an issue. See original summary.

nidhish’s picture

Assigned: Unassigned » nidhish

Working on it.

nidhish’s picture

Assigned: nidhish » Unassigned
nidhish’s picture

@shaik_karimulla, I have enabled the module, and have the following configurations
label : Bulk Image
form: none
location: public://bulk-media-upload.

I am able to upload the files.

It could potentially be some issue with dropzone.min.js that you have imported

agunjan085’s picture

@nidhish
i am also facing the same issue in my site. can you please let me know which version of dropzone js are you using. will try with that

shaik_karimulla’s picture

@nidhish
I have used both dropzone 5.9.3 and dropzone 6.0.0-beta.2. But still I'm facing the same issue.
Could you please guide me, how you have installed the module, libraries and what configurations you have done.

amoebanath’s picture

I'm also seeing "No media files have been provided" on 3.0.2 with Drupal Core 10.3

It looks to be coming from the validation introduced in https://www.drupal.org/project/media_bulk_upload/issues/3324771

amoebanath’s picture

amoebanath’s picture

Status: Needs review » Needs work

Though the original error is gone, I'm still getting errors later on in that validation function.

The $uploaded_files value doesn't seem to be what that code is expecting, and I can't make sense of why that would be. All the following validation seems to rely on that, though.

kristen pol’s picture

Version: 3.0.2 » 3.0.x-dev
Issue tags: -No media files have been provided, -not able to upload files

The code changes look fairly simple but from @amoebanath's comment, there are still errors.

@nidhish could use the module as expected but others could not. When providing your response after testing, please explain what versions of modules/libraries and what configuration you are using. Thanks.

kristen pol’s picture

Status: Needs work » Postponed (maintainer needs more info)

Postponing on more info but if someone wants to update the MR, that's okay.