Closed (fixed)
Project:
FlashVideo
Version:
5.x-2.2-beta2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Jul 2007 at 16:24 UTC
Updated:
25 Sep 2008 at 02:18 UTC
The upload works great, cron runs without any errors. But after that my file appears in /files/ (my default upload path) instead of /system/files/ where the flashvideo-script refers to.. how to fix this?
Comments
Comment #1
maastrix commentedI now changed my upload path to system/files.. When I edit the post the path looks correct and the path works; the file exists. Somehow, "Video currently not available" keeps showing up. Tried privat and public acces to files.. didn't matter. I'm using the latest version..
Comment #2
travist commentedYou shouldn't have to change your file directory to system/files... All of that is done internal to the Drupal System. Did this work before the beta 2.2 version? If so, then I might need to take a look at your site and debug this for you. Would you email me your info? I would like to have this fixed before the actual 2.2 release.
Thanks,
Travis.
Comment #3
maastrix commentedI changed it back.. it didn't work before, but back then I had the shell_exec error. I don't get the error but my video's fail to show up.
Comment #4
travist commentedWould you be willing to send me your server information (through email) so that I can debug this problem. I would like to get to the bottom of this before the next major release.
Thanks,
Travis.
Comment #5
drutube commentedIf he is using Cpanel and it is the latest version its possible that there is an issue with the /tmp directory in the server root which is also the Drupal temp directory under certain configurations and circumstances. I've had this exact same problem and spent the day with it.
http://forums.cpanel.net/showthread.php?t=58801&highlight=tmp+directory
Take a look at that thread. I think the issue may be with where the ffmpeg configure script sets the tmp directory. Does ffmpeg then try to use this as its tmp or does it look for the user tmp in the environment variable at the time? I really don't know but suspect this is an issue of some kind that will relate. I'll update this if you think its on the right track.
Comment #6
drutube commentedPS what I forgot to mention is that Cpanel has decided not to allow any form of code execution in the /tmp directory which would normally not be such a big deal. But when compiling ffmpeg for some reason it feels it has to have this ability and starts to weird out. I think That's why it may be just cropping up in the last month or so. Cpanel us just now getting this update out to the servers with the automatic update enabled.
Comment #7
travist commentedThat is great information, drutube! Thank you so much for that. I have made only some minor modifications since BETA 2 and would like to release the full version. If this problem doesn't have anything to do with the FlashVideo module, then I think that I will go ahead and release it.
Again, thanks for all the info. impahz, please let me know if this seems to be your problem.
Travis.
Comment #8
maastrix commentedNope.. my host is using directadmin. Furthermore, FFMpeg is not installed and exec and shell_exec is disabled. I mailed you my phpinfo... please check.
Comment #9
travist commentedSo I assume that you are uploading an FLV file?
Comment #10
maastrix commentedYes.. it's an flv i'm uploading.
Comment #11
travist commentedI thought I fixed this problem... That is pretty much been my main focus over the last couple of updates... Uploading FLV files. I might need some more information...
Clean-urls?
Output directory for FlashVideo?
PHP Settings (Look in the FlashVideo Settings)?
File system set to private/public?
Also, let me make sure I understand you correctly. This module never worked for you? Any version? If that is the case, then I am very suspicious that the server you are using to run this module is doing something really stupid.
Comment #12
maastrix commentedNo version has ever worked for me.. issues were mostly the shell_exec errors when I did a cron-run. The file isn't moved and I suspect flashvideo gets a wrong path. Is there a way to bypass that image and see what's really wrong?
Clean-urls?
* Enabled
Output directory for FlashVideo?
* Output directory in Flashvideo settings (under FFMpeg?) was empty, tried entering files but didn't help
PHP Settings (Look in the FlashVideo Settings)?
Files are being uploaded correctly. If I enable show as attachment the link and file is correct. it's in domain.com/files/1_movie.flv
* post_max_size=40M
* upload_max_filesize=40M
* max_execution_time=30
* max_input_time=60
File system set to private/public?
* Tried public and private.. now on private
Comment #13
cervante commentedIsn't system/files the same as the files folder in any Drupal installation? Just set to private?
I had the same issue with the video not playing, although the video was created and the thumbnail was generated, it just would not play the video, checking the error log yeilded the message "system/files/Player.swf not found".
Changing the "files" setting to public cleared up the problem for me, just brings up the question of why the player is not found when in private?
Comment #14
maastrix commentedI don't get an error about the flvplayer. Please make a new issue for your problem.
Comment #15
travist commented