upload mp3 to media manager---how?
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.
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.
- researchtoxic
- Joomla! Ace
- Posts: 1023
- Joined: Fri Mar 03, 2006 3:52 pm
- Location: Macon, GA
- Contact:
upload mp3 to media manager---how?
most of the mp3 players want you to put your files in media manager /images/stories However whenever I try to upload them it says the file type is not supported. What do i need to do?
http://www.netentropy.com - Drupal, Joomla and whatever performance.
-
- Joomla! Explorer
- Posts: 402
- Joined: Sun Oct 09, 2005 3:57 pm
- Contact:
Re: upload mp3 to media manager---how?
In your favorite editor (preferabbly one with line numbers displayed), open up /administrator/components/com_media/admin.media.php
From lines 177-194 it should look like this:
To add aditional filetypes, just add a comma after the last entry and in quotes put the extension. Here's the code for mp3 support:
From lines 177-194 it should look like this:
Code: Select all
'bmp',
'csv',
'doc',
'epg',
'gif',
'ico',
'jpg',
'odg',
'odp',
'ods',
'odt',
'pdf',
'png',
'ppt',
'swf',
'txt',
'xcf',
'xls'
Code: Select all
'bmp',
'csv',
'doc',
'epg',
'gif',
'ico',
'jpg',
'odg',
'odp',
'ods',
'odt',
'pdf',
'png',
'ppt',
'swf',
'txt',
'xcf',
'xls',
'mp3'
-Josh Fee, JAF Site Design
View the website as it is created (using Joomla! of course)http://www.jafsitedesign.com
View the website as it is created (using Joomla! of course)http://www.jafsitedesign.com
- researchtoxic
- Joomla! Ace
- Posts: 1023
- Joined: Fri Mar 03, 2006 3:52 pm
- Location: Macon, GA
- Contact:
Re: upload mp3 to media manager---how?
awesome thanks!
http://www.netentropy.com - Drupal, Joomla and whatever performance.
- vbsouthern
- Joomla! Intern
- Posts: 59
- Joined: Mon Aug 28, 2006 11:21 pm
- Location: Denver, Colorado
- Contact:
Re: upload mp3 to media manager---how?
I followed all of these instructions to the letter. I downloaded the admin.media.php file, edited the file, and then uploaded it. I started a new browser window, logged-in as administrator, went to Media Manager, tried to upload a mp3 file and instead of getting the error,
This file type is not supported
I get this error instead,
Upload FAILED
Just to be sure that Joomla was working right I tried uploading some other files. I uploaded a gif, png and a jpg with no problem at all. Nothing seems to work. It seem to have kind-of worked except I still can't upload a file.
I can upload the mp3 files with FileZilla with no problem but the people who will be using the website are regular people, not computer geeks like me. I need to find an answer for this. Any help would be greatly appreciated.
This file type is not supported
I get this error instead,
Upload FAILED
Just to be sure that Joomla was working right I tried uploading some other files. I uploaded a gif, png and a jpg with no problem at all. Nothing seems to work. It seem to have kind-of worked except I still can't upload a file.
I can upload the mp3 files with FileZilla with no problem but the people who will be using the website are regular people, not computer geeks like me. I need to find an answer for this. Any help would be greatly appreciated.
With the world population surpassing seven billion humans, remaining Childfree is an educated, rational, modern and well informed choice. The bias Childfree people are subjected to would seem to defy all logic.
http://www.childfreelovers.com/
http://www.childfreelovers.com/
-
- Joomla! Explorer
- Posts: 402
- Joined: Sun Oct 09, 2005 3:57 pm
- Contact:
Re: upload mp3 to media manager---how?
How big was the mp3 file, the file size limits still apply. Even if it is under the limit, if you try to upload a file big enough to cause a timeout (especially in firefox), it will cause the upload to fail.
-Josh Fee, JAF Site Design
View the website as it is created (using Joomla! of course)http://www.jafsitedesign.com
View the website as it is created (using Joomla! of course)http://www.jafsitedesign.com
- vbsouthern
- Joomla! Intern
- Posts: 59
- Joined: Mon Aug 28, 2006 11:21 pm
- Location: Denver, Colorado
- Contact:
Re: upload mp3 to media manager---how?
Successful upload of large mp3 file to Joomla Media Manager.
After reading through every post in thread after thread I found the answer here:
Topic: Help Needed - Can't Upload m4a,mp3 files to Media Manager
http://forum.joomla.org/index.php/topic,88098.0.html
I do not know if this will work for everyone. My Joomla files are in the root directory and my Web Server is Apache/1.3.27 (Unix) (Red-Hat/Linux) PHP/4.4.2
First I added these lines to my .htaccess file
Then I edited /administrator/components/com_media/admin.media.php and added support for mp3
I was able to upload a 12MB mp3 file to the Joomla Media Manager and link to it from a news item.
After reading through every post in thread after thread I found the answer here:
Topic: Help Needed - Can't Upload m4a,mp3 files to Media Manager
http://forum.joomla.org/index.php/topic,88098.0.html
I do not know if this will work for everyone. My Joomla files are in the root directory and my Web Server is Apache/1.3.27 (Unix) (Red-Hat/Linux) PHP/4.4.2
First I added these lines to my .htaccess file
Code: Select all
php_value memory_limit 32M
php_value post_max_size 16M
php_value upload_max_filesize 16M
php_value max_execution_time 800
Code: Select all
$allowable = array (
'bmp',
'csv',
'doc',
'epg',
'gif',
'ico',
'jpg',
'odg',
'odp',
'ods',
'odt',
'pdf',
'png',
'ppt',
'swf',
'txt',
'xcf',
'xls',
'mp3'
With the world population surpassing seven billion humans, remaining Childfree is an educated, rational, modern and well informed choice. The bias Childfree people are subjected to would seem to defy all logic.
http://www.childfreelovers.com/
http://www.childfreelovers.com/
-
- Joomla! Apprentice
- Posts: 43
- Joined: Fri Mar 10, 2006 4:03 am
Re: upload mp3 to media manager---how?
You know, I did all the above, too, as far as adding the .mp3 extension, but I still get an error of "File type not supported." It's showing when I view the source, but still not uploading correctly. It's only me that's using it, so it's not imperative to have to use Media Manager, since I can upload it directly, but it is a pain in the butt. Am I missing something?
- vbsouthern
- Joomla! Intern
- Posts: 59
- Joined: Mon Aug 28, 2006 11:21 pm
- Location: Denver, Colorado
- Contact:
Re: upload mp3 to media manager---how?
Is your server using Microsoft or Unix/Linux? My server is Apache/1.3.27 (Unix) (Red-Hat/Linux) PHP/4.4.2
That may be the difference.
That may be the difference.
With the world population surpassing seven billion humans, remaining Childfree is an educated, rational, modern and well informed choice. The bias Childfree people are subjected to would seem to defy all logic.
http://www.childfreelovers.com/
http://www.childfreelovers.com/
-
- Joomla! Apprentice
- Posts: 43
- Joined: Fri Mar 10, 2006 4:03 am
Re: upload mp3 to media manager---how?
I've got a Linux server...still looking into this, but it should be working, and it's not. Frustrating.
- vbsouthern
- Joomla! Intern
- Posts: 59
- Joined: Mon Aug 28, 2006 11:21 pm
- Location: Denver, Colorado
- Contact:
Re: upload mp3 to media manager---how?
Are you using a high speed connection or dial-up with a modem? If you have a slow connection try increasing the execution time.
Code: Select all
php_value max_execution_time 1600
With the world population surpassing seven billion humans, remaining Childfree is an educated, rational, modern and well informed choice. The bias Childfree people are subjected to would seem to defy all logic.
http://www.childfreelovers.com/
http://www.childfreelovers.com/
-
- Joomla! Fledgling
- Posts: 2
- Joined: Fri Oct 05, 2007 1:29 pm
Re: upload mp3 to media manager---how?
Can't find this piece of code in admin.media.php for joomla 5.1. Any ideas where i can include file formats for upload in 5.1 rc2. Thanks
-
- Joomla! Apprentice
- Posts: 19
- Joined: Mon Aug 27, 2012 6:31 pm
Re: upload mp3 to media manager---how?
Perhaps this is a dumb question but where do I find that file? Host website?