WordPress.org

Ready to get started?Download WordPress

Forums

Can't Upload Video (12 posts)

  1. EricMesa
    Member
    Posted 1 year ago #

    I can upload images and mp3s. I tried to upload a 185MB video and it appears to go through nearly all of the upload process before it gives the error "Failed to write file to disk."

    So I don't think it's an error related to file permissions. Ideas?

  2. Contact your hosting provider and see what the upload_max_filesize and post_max_size are set to in the php configuration. Also, generally speaking, memory_limit should be larger than post_max_size. To upload large files, the value for post_max_size should be larger than upload_max_filesize.

  3. EricMesa
    Member
    Posted 1 year ago #

    800MB

  4. EricMesa
    Member
    Posted 1 year ago #

    Sorry, I didn't see you were also talking about the memory limit. I don't know where that is.

  5. The memory doesn't matter in this case -- it's just a good rule of thumb. I have had this error before when my tmp folder was full. Do you know where your "upload_tmp_dir" is? If you don't have one set personally then it's likely the your host's is full.

    See: http://www.inmotionhosting.com/support/website/wordpress/failed-to-write-to-disk

  6. EricMesa
    Member
    Posted 1 year ago #

    ah, ok. This is a VPS, if that matters. I don't see anything in the /tmp folder and nothing is defined in php.ini.

    I was able to upload the file manually, but WP refused to put it into the embed, even when I made sure the permissions and ownership were right. So something strange there, I think.

  7. From what I have went through, this error occurs because of a full partition in the VPS and also if the temporary folder is full. In some cases this can happen due to lack permissions but you said they are fine.

    Are you by chance hitting your VPS disk quota?

  8. EricMesa
    Member
    Posted 1 year ago #

    No, I'm only at 40% usage according to df. Like I said, I was able to upload it manually, just not via WordPress

  9. EricMesa
    Member
    Posted 1 year ago #

    Hmm, video embed is not working with another video that I uploaded before (smaller size). I'm going to start another threat to figure that out. Since I already manually uploaded the video that I started this thread for, I want to see why that's not working. Youtube embeds are working, though.

  10. EricMesa
    Member
    Posted 1 year ago #

    Still having issues with embedded videos not working - including a video that has worked before on another page.

  11. EricMesa
    Member
    Posted 1 year ago #

    OK, here's the latest:

    The page http://server.ericsbinaryworld.com/blog/video-embed-test/

    Should have two audio files and a video file. I am able to sometimes get one or the other to appear, but not both or in any consistent manner. Here's what the code looks like:

    This should be audio file 1:
    
    [audio mp3="http://server.ericsbinaryworld.com/blog/wp-content/uploads/2013/08/Jonathan-Coulton-ThePrincessWhoSavedHerself.mp3"][/audio]
    
    this should be video file 1:
    
    [video width="1280" height="720" webm="http://server.ericsbinaryworld.com/blog/wp-content/uploads/2013/08/Nothing-to-Prove-Geek-Girls-The-Doubleclicks-s4Rjy5yW1gQ.webm"][/video]
    
    this should be audio file 2:
    
    [audio mp3="http://server.ericsbinaryworld.com/blog/wp-content/uploads/2013/08/Jonathan-Coulton-ThePrincessWhoSavedHerself.mp3"][/audio]
  12. EricMesa
    Member
    Posted 1 year ago #

    OK! So for problem #2 of this post - http://server.ericsbinaryworld.com/blog/video-embed-test/ - I figured out the problem - Matt Mullenweg's Search Hilite Plugin. Deactivated that and it worked.

    Still haven't solved the original problem of being able to upload a large video file from within WordPress.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.