Uploading Audio Files - Need Help

Uploading Audio Files - Need Help

gan Sean Sutherland -
Number of replies: 6

Should I be able to upload audio files? I have no problems uploading text and image files, but attempts to upload audio in any format leads to a page not found error outside of the Moodle environment. Anyone have any advice? Thank you.

P.S. If the Main Moodler is reading this, please know you have my thanks for making your excellent system open to us.

Cyfartaledd sgoriau: -
In reply to Sean Sutherland

Re: Uploading Audio Files - Need Help

gan Martin Dougiamas -
Llun o Core developers Llun o Documentation writers Llun o Moodle HQ Llun o Particularly helpful Moodlers Llun o Plugin developers Llun o Testers
Audio files should work fine - try out this demo of a wav file

In reply to Martin Dougiamas

Re: Uploading Audio Files - Need Help

gan Douglas Greatorex -
Strange - I've linked audio files successfully into HTML resource pages on Moodle (eg as background music) but your demo does not work on my PC.  I'm getting an error message from the (Real Player) audio player saying that the file can't be found. 
In reply to Sean Sutherland

Re: Uploading Audio Files - Need Help

gan Przemyslaw Stencel -
I also have problems uploading some files - depending on the size. Check if it's the same in your case, it might not be the fact that they are sound files, but the filesize.

I have set the max upload filesize to 2MB, but I can't actually upload anything above 1MB. I haven't been able to track the reason of this behaviour, but as a workaround I use direct ftp access to moodle data directory.
In reply to Przemyslaw Stencel

Re: Uploading Audio Files - Need Help

gan Marcel Berteler -
I have posted the following message http://moodle.org/mod/forum/discuss.php?d=1098

Maybe this will solve the problem
In reply to Marcel Berteler

Re: Uploading Audio Files - Need Help

gan Martin Dougiamas -
Llun o Core developers Llun o Documentation writers Llun o Moodle HQ Llun o Particularly helpful Moodlers Llun o Plugin developers Llun o Testers
It does sound like this is the problem.

Specifically, try putting this line in a .htaccess file in your main moodle directory:

LimitRequestBody 0
In reply to Sean Sutherland

Re: Uploading Audio Files - Need Help

gan Sean Sutherland -
The "Woohoo" demo link worked fine. Our moodle allows 15 MB uploads and I am only trying to upload a 3 MB file, so I don't think it is a file size problem. My moodle administrator can't solve it, but maybe the university network administrator can help. Thank you for your replies.