- 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
- On Joomla! 1.5 it’s a lot 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.
what are other possible conflicts?
1) Set CHECK MIME TYPES and RESTRICT UPLOADS to NO within Media Settings in the Configuration.
2) In the php.ini file (if you have access to this) check if ;
upload_max_filesize is set to a bigger size than the file you are uploading and also the post_max_size file size. To locate your php.ini file go to the Joomla administration backend and click on help->system info->php information. Around the 6th row, you\’ll find the path to php.ini. When you need to make a change to php.ini you need to restart apache for changes to take effect.
Ive added \”.exe\” files to be supported by my joomla website but i still get this error:
\” JFile::read: Unable to open file: \’\’
Warning: Failed to move file!
Error. Unable to upload file.
ive even tried it in a zip folder but i get this error:
\”This file type is not supported.\”
I need help!
Thank you in advance
do not worry i fixed the problem myself, i just uploaded the .exe file with an ftp client 🙂
Image Credits: Photo by Isis França on Unsplash.