Getting error "File type not supported" when trying to upload a file in Joomla! via Media Manager?
|
|
|
|
|
Question: Getting error "File type not supported" when trying to upload a file in Joomla! via Media Manager? Answer: Joomla! 1.0 - In order to apply this solution you need to have modifying access to your Joomla! 1.0 core files
- Locate the following file within your Joomla! installation and open it in a text editor. FILE: /administrator/components/com_media/admin.media.php
- Round about lines 170 and 200 you'll find something like:
'bmp',
'csv',
'doc',
'epg',
'gif',
'ico',
'jpg',
'odg',
'odp',
'ods',
'odt',
'pdf',
'png',
Append the additional file extension that you wish to be able for uploading via Media Manager eg 'ogg' - The file should look like the below now
'bmp',
'csv',
'doc',
'epg',
'gif',
'ico',
'jpg',
'odg',
'odp',
'ods',
'odt',
'pdf',
'png',
'ogg',
- Save the file and try again
Joomla! 1.5 - On Joomla! 1.5 it's alot easier than on Joomla! 1.0
- In the Administration Panel (www.yourjoomlasite.com/administrator) go to Global Configuration.
- Click on the System Tab
- And the ogg (or any additional file extension) to the list.
- Click on SAVE
- And you will be able to upload that specific file type from now on forward.
|