This file type is not supported.

Need help with the Administration of your Joomla! 5.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
hackermade
Joomla! Intern
Joomla! Intern
Posts: 85
Joined: Thu Jan 25, 2024 9:15 am

This file type is not supported.

Post by hackermade » Sun May 12, 2024 8:23 am

Hi there, i have tried to upload numerous types of files and most of those files formats like jpeg, png and webp raised the following error:
Screenshot 2024-05-12 at 11.19.04.png
You do not have the required permissions to view the files attached to this post.

User avatar
JAVesey
Joomla! Hero
Joomla! Hero
Posts: 2652
Joined: Tue May 14, 2013 1:21 pm
Location: Cardiff, Wales, UK
Contact:

Re: This file type is not supported.

Post by JAVesey » Sun May 12, 2024 2:35 pm

Have you set the permitted file/mimetypes in Global Configuration?

What component are you using?
John V
Cardiff, Wales, UK
Joomla 5.1.1 "live" site on PHP 8.2.15 and MariaDB 10.11.7 (with b/c plugin enabled)
Joomla 5.1.1 on XAMMP for MacOS with PHP 8.2.4 and MariaDB 10.4.28 (with b/c plugin enabled)

hackermade
Joomla! Intern
Joomla! Intern
Posts: 85
Joined: Thu Jan 25, 2024 9:15 am

Re: This file type is not supported.

Post by hackermade » Sun May 12, 2024 2:49 pm

Components
- Banners
- Tags
- Akeeba Backup
- Akeeba Admin Tools

If you speak for this, i have not touch anything here
Screenshot 2024-05-12 at 17.49.18.png
You do not have the required permissions to view the files attached to this post.

hackermade
Joomla! Intern
Joomla! Intern
Posts: 85
Joined: Thu Jan 25, 2024 9:15 am

Re: This file type is not supported.

Post by hackermade » Thu May 16, 2024 3:13 pm

Only png and jpg can upload to media, the webp, avif, ico, and svg are throwing the above error.

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9864
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: This file type is not supported.

Post by AMurray » Thu May 16, 2024 9:13 pm

did you add them as mime types?

e.g.
image/webp
image/avif
image/ico
image/svg

https://docs.joomla.org/Help4.x:Media:_Options.

Your screenshot only shows half the screen. See the above documentation and double check your settings match in the relevant fields. (the above is the J4 documentation but J5 will not be much different for this particular setting).
Regards - A Murray
General Support Moderator

hackermade
Joomla! Intern
Joomla! Intern
Posts: 85
Joined: Thu Jan 25, 2024 9:15 am

Re: This file type is not supported.

Post by hackermade » Fri May 17, 2024 5:05 am

Hi, yes those directives exist in mime.types file
Screenshot 2024-05-17 at 8.03.46 AM.png
You do not have the required permissions to view the files attached to this post.

hackermade
Joomla! Intern
Joomla! Intern
Posts: 85
Joined: Thu Jan 25, 2024 9:15 am

Re: This file type is not supported.

Post by hackermade » Fri May 17, 2024 5:24 am

I updated the "Legal Image Extensions (File Types)" option and now the error is different...

Screenshot 2024-05-17 at 8.23.06 AM.png
Screenshot 2024-05-17 at 8.22.22 AM.png
You do not have the required permissions to view the files attached to this post.

hackermade
Joomla! Intern
Joomla! Intern
Posts: 85
Joined: Thu Jan 25, 2024 9:15 am

Re: This file type is not supported.

Post by hackermade » Fri May 17, 2024 5:32 am

Ohh, i updated the Legal MIME Types too and worked for all except the ".ico" files although this file extension is added both in nginx mime.types and in Joomla Media settings.
Screenshot 2024-05-17 at 8.30.43 AM.png
You do not have the required permissions to view the files attached to this post.


Post Reply

Return to “Administration Joomla! 5.x”