• I am trying to upload several audio files, but I keep getting a HTTP error when the file gets to 100% uploaded. Any suggestions? I need to get these files uploaded.

Viewing 4 replies - 1 through 4 (of 4 total)
  • How big are they (mb) and what format? Can you successfully upload via FTP and then link to in the Audio tag? You need to also ask host if streaming is allowed – some may restrict that and therefore either specific file types or set a limit on how big those file types can be.

    There may be other variables you can set in php.ini to increase file upload size and times. First ask host.

    Thread Starter superdavis78

    (@superdavis78)

    I have changed the size limit to 500mb. The file is a mp3. I am uploading them straight from my Mac. I haven’t set up a FTP yet. The file I am uploading is around 160MB. The other 8 audio files uploaded just fine.

    Check all these in php.ini:

    max_input_time = 60
    max_execution_time = 120
    file_uploads = on
    upload_max_filesize = 64M
    post_max_size = 64M
    memory_limit = 256M

    http://www.php.net/manual/en/ini.core.php

    Try seeing what the host will allow with above in php.ini

    You can do so with a phpinfo.php file. This file has in it just:

    <?php phpinfo(); ?>

    When you browse to yoursite.com/phpinfo.php, you can see the variables set/allowed.

    http://codex.wordpress.org/Finding_Server_Info

    Of course, some hosts also set file storage limits. Can you upload a smaller mp3? None of the files have any embedded DRM, yes? (are not set to protected?)

    Also a 160MB mp3 is huge, that is like a long running 50-60 song multi-album. Consider uploading smaller MP3’s.

    Hi there,

    Another thing to throw out there is when you upload audio files make sure that there are no extra characters such as “,!@& etc. HTML language does not have these characters and therefor can not create a http attachment URL. I had this problem a while back and my file sizes were not over the limit, I changed the title of the files and I was able to upload normally.

    Hopefully this helps someone.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘HTTP Error while uploading audio files’ is closed to new replies.