Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi,
I have enabled the plupload extension and trying to upload multiple images. When i started uploading i have noticed that it is not accepting normal extension jpg. It says
"Allowed file types: FILE_DEFAULT_ALLOWED_EXTENSIONS mp3 mov m4v mpeg avi ogg oga ogv wmv ico."
but its not accepting jpg exntesions.
Is the FILE_DEFAULT_ALLOWED_EXTENSIONS not being rendered from code ?
Comments
Comment #1
Moloc CreditAttribution: Moloc commentedAre you using Media 7.x-2.x version?
See #1627246: Undefined constant FILE_DEFAULT_ALLOWED_EXTENSIONS
Try updating media and file entity. Does it solve your issue?
Comment #2
kiranch@vt.edu CreditAttribution: kiranch@vt.edu commentedi am using the Meida 7.x-1.2 stable version. I will check the link you have sent and get back to you
Comment #3
Moloc CreditAttribution: Moloc commentedDo you use file_entity 7.x-2.x? The constant is defined in file_entity.
As you use Media 7.x-1.2, you don't need to download the file_entity module. It is shipped with media 7.x-1.x.
Comment #4
kiranch@vt.edu CreditAttribution: kiranch@vt.edu commentedSorry for the late reply.
I am not using a separate file entity. The version i have in the modules is 7.x-1.2
Thank you
Comment #5
Moloc CreditAttribution: Moloc commentedWhat version of plupload do you use?
Please turn on error reporting. Then you should get on the page you visit or in the recent log messages a notice or warning. Report back the exact message (with file, line,...).
Comment #6
Moloc CreditAttribution: Moloc commentedIf you can provide more information, please reopen the issue. Otherwise i assume, that you already fixed it.