This File type is not supported

Have you ever seen this error message? Yea, correct it's seen in Media Manager when you try to upload files of certain types, as a MP3 file to use with your brand new MP# player module, or an Excel sheet to share whit your visitors.

Embarrassing. Let's get rid if it!

The problem occurs when you try to upload an unsupported filetype via Media manager.

Before we get into hacking core files, it's advised to use some of available workarounds, and there are plenty of them.

First the non-Joomla ones: the plain old FTP and the hosting account's default file manager - all decent hosting accounts have some of them. You can use them to upload the files in correct location, just be aware of potential access rights problems

And there are some Joomla workarounds too, as use of JCE Editor with the appropriate plugins or use of JoomleXplorer/NinjaeXplorer file manager to do the task.

But if you're in need to do it via Media Manager, here's the info you need:

A. On Joomla 1.0.*

Open in your favorite editor(preferably one with line numbers displayed) the file / administrator/components/com_media/admin.media.php (of course, make a backup first!)

Here, the code around the lines 177-194 it should look like this:

'bmp',
'csv',
'doc',
'epg',
'gif',
'ico',
'jpg',
'odg',
'odp',
'ods',
'odt',
'pdf',
'png',
'ppt',
'swf',
'txt',
'xcf',
'xls'

To add additional file types, just add a comma after the last entry and in quotes put the extension. Here's the code for mp3 support:

'bmp',
'csv',
'doc',
'epg',
'gif',
'ico',
'jpg',
'odg',
'odp',
'ods',
'odt',
'pdf',
'png',
'ppt',
'swf',
'txt',
'xcf',
'xls',
'mp3'

Save the file and have fun!

A. On Joomla 1.5.*

The solution is much simpler. Go to Global configuration>System tab, look for the Media Settings, first item: Legal Extensions (File Types), and add your extension to the end of already lengthly list:

Before:

bmp,csv,doc,epg,gif,ico,jpg,odg,odp,ods,odt,pdf,png,ppt,swf,txt,xcf,xls,BMP,CSV,DOC,EPG,GIF,ICO,JPG,ODG,ODP,ODS,ODT,PDF,PNG,PPT,SWF,TXT,XCF,XLS

After:

bmp,csv,doc,epg,gif,ico,jpg,odg,odp,ods,odt,pdf,png,ppt,swf,txt,xcf,xls,BMP,CSV,DOC,EPG,GIF,ICO,JPG,ODG,ODP,ODS,ODT,PDF,PNG,PPT,SWF,TXT,XCF,XLS,mp3

Save the Global Settings, and upload your mp3's.

The professional company id-meneo provides all the information on agence web paris.

If you are looking for air conditioning repair air conditioning repair then visit this page .

If you are looking for testosterone pills then read more .