I'm using Drupal 5.12. I installed the audio module and made sure that I have permissions to use the module. I added 'mp3' to the list of file extensions in 'File Uploads'. I used CCK to add a field to upload audio files on a PAGE. I increased the allowed upload filesize to 20mb in php.ini and have no trouble uploading mp3s when just adding new content. Then I created a page called Music and the 'Add Audio' field does show up. However, when I try to upload a file I get an error message: "Files with the extension mp3 are not allowed. Please upload a file with an extension from the following list: ."

I'm not sure where to go from here.

Comments

cog.rusty’s picture

A filefield does its own uploading, and has its own "Permitted upload file extensions" in its "Widget settings" when you are adding it to a content type. I think the default is only "txt".

Normally I avoid using them when I don't need this kind of flexibility. I hope one day they will learn to inherit and reuse.