
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
Comment | File | Size | Author |
---|---|---|---|
Screenshot (145).png | 152.95 KB | shaik_karimulla |
Issue fork media_bulk_upload-3497812
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
Comment #2
nidhish CreditAttribution: nidhish at UniMity Solutions Pvt Limited commentedWorking on it.
Comment #3
nidhish CreditAttribution: nidhish at UniMity Solutions Pvt Limited commentedComment #4
nidhish CreditAttribution: nidhish at UniMity Solutions Pvt Limited commented@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
Comment #5
agunjan085 CreditAttribution: agunjan085 as a volunteer commented@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
Comment #6
shaik_karimulla CreditAttribution: shaik_karimulla at Infosys commented@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.
Comment #7
amoebanath CreditAttribution: amoebanath at ComputerMinds commentedI'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
Comment #8
amoebanath CreditAttribution: amoebanath at ComputerMinds commentedOpened a fork with the fix.
Comment #10
amoebanath CreditAttribution: amoebanath at ComputerMinds commentedThough 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.
Comment #11
kristen polThe 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.
Comment #12
kristen polPostponing on more info but if someone wants to update the MR, that's okay.