Our team is having with uploading media/files in our CMS.
We did not do or change anything in the settings in both CMS and server sides.
We just tried to upload new medias/files for our layouts and all files uploaded suddenly displays an error saying “Filetype not allowed”
What’s the CMS version and how is it installed please? (docker or manual installation)
Could navigate to the Modules page and check that the valid extensions there are correctly set for the corresponding modules ie PDF - .pdf, Image - .png Video - .mp4.
If not adjust that, if yes, try to run verify all on Modules page.
You could also right-click on the upload form → Insepct
then you should see the list of allowed extensions on that form, something like:
The upload form that you inspected seems to be the layout background upload form, which rightfully so accepts only images.
I’d expect the upload form on Library media page to have more extensions though, could you please confirm that for me?
I suspect that, it’s just the case that you didn’t look at the part of the code you wanted to in this case
You could also try to stop/start your docker containers and see if that helps.
You’re resolution works perfectly!
However what should be the correct file extension for the WEBPAGE module?
Bec. we also use webpages in our layouts, will this affect our future webpages uploads?
No need to answer that, I just enabled the WEBPAGE module again and erase the extensions inside it. The test webpage I put still successfully opens withouth indicated file extensions in the module.
More power to your team! You are a team of marvelous people!
Have a great day Peter! you can now mark this inquiry as RESOLVED.
Webpage module does not need any valid extension entered, as valid extensions are only for files uploaded directly to the CMS library (ie videos, images, pdf etc).