Problem transfering file

Steve
2012-01-25
2012-11-26
  • doug
    doug
    2012-01-26

    First check the web server log on your machine for evidence that the URL was actually requested. If not, it's often a network error reaching your machine from the instance - try SSH into the instance and using wget to hit your server until that works. If so, check the Movie Masher log on your machine which may have an error about the POST request.

    Cheers,
    doug

     
  • Steve
    Steve
    2012-01-26

    Thanks for the rapid response!  access.log on the frontend server shows…

    xxxx.xxxx.xxx:80 50.18.229.218 - steve  "POST /example/server/media/php/encoded.php?id=928ae10285d9a140cd31e4fbad3ed559 HTTP/1.1" 400 269 "-" "-"

    So it's hitting the server, and the frontend is returning a 400 I presume.

    Just below this I got (later attempt)

    Could not extract to /tmp/moviemasher/5a528a24f1baab33d573f67447937165/media/

    and I realized I hadn't created tmp/moviemasher (relative to web root).  So I did that and made sure it was writable by the webserver, but I still got the same error message when I tried it again…

    The log ends with

    2012-01-25 20:41:12 /example/server/media/php/encoding.php?job=6357660daec943ae0ccf3a22d938e68c&id=e8015c91f0038535146b5c4b91bb54ee&start=0
    <moviemasher progress="100" status="" get='javascript:alert("Problem transfering file to: http://steve:password@xxxx.xxxx.xxx/example/server/media/php/encoded.php?id=e8015c91f0038535146b5c4b91bb54ee");' />

    Thanks for you help!
    Steve

     
  • doug
    doug
    2012-01-26

    Do you have PEAR's Archive_TAR class installed?

     
  • Steve
    Steve
    2012-01-26

    Yes, I had it installed, but I hadn't set the include_path correctly to include the PEAR files!  Once I fixed that it uploaded successfully and appeared in the editor - thanks for the pointers!

    Side question…  so it looks as though the videos are stored on the frontend server, the backend just transcodes and sends them right back?  I'm wondering about storage size and thinking I'll need more storage capacity on the front end?

    Thanks again for the help…
    Steve

     
  • doug
    doug
    2012-01-26

    Glad to hear it was simple to get going. Your side question is marked as such, but it's really a statement I'm not in a position to agree or disagree with. Certainly the front end is where things are really stored - the transcoder only caches files and the cache will be dumped when full.