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

Moloc’s picture

Status: Active » Postponed (maintainer needs more info)

Are 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?

kiranch@vt.edu’s picture

i am using the Meida 7.x-1.2 stable version. I will check the link you have sent and get back to you

Moloc’s picture

Do 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.

kiranch@vt.edu’s picture

Sorry 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

Moloc’s picture

What 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,...).

Moloc’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

If you can provide more information, please reopen the issue. Otherwise i assume, that you already fixed it.