hi
i upload video file and when i want watching hem i get this: error! file not found
i install D RC.
hi i upload video file and when i want watching hem i get this: error! file not found
i install D RC.
|
I've seen two issues cause this. First is that your cron job isn't setup right to encode the vidoes and so they're being encoded by the ffmpeg. The other issue is that the server has an issue allowing the transfer of the uploaded file from the tmp directory to the videos directory. Check your error log and see if you have anything indicating that the file can't be moved. Otherwise check your email to see if the cron job sent you an email that starts like below, if you don't have the email then something is wrong with the cron or ffmpeg. FFmpeg version SVN-r19066, Copyright (c) 2000-2009 Fabrice Bellard, et al. |
I've seen two issues cause this. First is that your cron job isn't setup right to encode the vidoes and so they're being encoded by the ffmpeg. The other issue is that the server has an issue allowing the transfer of the uploaded file from the tmp directory to the videos directory. Check your error log and see if you have anything indicating that the file can't be moved. Otherwise check your email to see if the cron job sent you an email that starts like below, if you don't have the email then something is wrong with the cron or ffmpeg.
FFmpeg version SVN-r19066, Copyright (c) 2000-2009 Fabrice Bellard, et al.
i did not get any email about the cron or any email at all.
and waht it is cron ?
|
If you don't konw what cron is then there is your problem. Cron is an ability on the server to automatically exectue a file at prescribed periods of time. You must follow the instructions in setup to enable the cron. if you do not have cron setup then your video files will never convert and you will never see them. Type cron in serach, there are lots of post on how to set it up. |
I suggest you to look into the code of the upload function, and verify the moved file's name is ended with .flv. |
I suggest you to look into the code of the upload function, and verify the moved file's name is ended with .flv.
how do i look into the code?
|
uploading videos never work for me 2 so now i see i'm the only one having this problem Post Reply - if you going to help - No for - bla bla bla bla |
lior, check your cron job first. THAT is what processes your videos. Once you determine your cron job is setup properly, we can go from there. Nothing to see here |
lior, check your cron job first. THAT is what processes your videos. Once you determine your cron job is setup properly, we can go from there.
but how i get into (to) the cron???
i go to my Cpanel and set the cron like in the pictur here:
|
corn1 ??? ok, theres a problem. I have no clue what that is. So lets do this, go back to your cPanel, click Cron Jobs, and then click the Advanced (Unix style) button: In the first 5 boxes put this * * * * * In the command you will need to type something like this: /usr/local/bin/php -q /home/sitefolder/public_html/periodic/cron.php OR /usr/bin/php -q /home/sitefolder/public_html/periodic/cron.php Try the first one first. If that doesnt work try the second command. You need to replace 'sitefolder' with your actual site name. If you dont know what that is, look in the inc/header.inc.php file and find $dir['root'] that will give you the actual path. All you will need to do is add /periodic/cron.php after it. It will look similar to thsi afterwards: * * * * * /usr/local/bin/php -q /home/sitefolder/public_html/periodic/cron.php Click commit changes to save. Cant get much more detailed than that :) Chris Nothing to see here |
corn1 ??? ok, theres a problem. I have no clue what that is. So lets do this, go back to your cPanel, click Cron Jobs, and then click the Advanced (Unix style) button:
In the first 5 boxes put this * * * * *
In the command you will need to type something like this:
/usr/local/bin/php -q /home/sitefolder/public_html/periodic/cron.php
OR
/usr/bin/php -q /home/sitefolder/public_html/periodic/cron.php
Try the first one first. If that doesnt work try the second command.
You need to replace 'sitefolder' with your actual site name. If you dont know what that is, look in the inc/header.inc.php file and find $dir['root'] that will give you the actual path. All you will need to do is add /periodic/cron.php after it.
It will look similar to thsi afterwards:
* * * * * /usr/local/bin/php -q /home/sitefolder/public_html/periodic/cron.php
Click commit changes to save.
Cant get much more detailed than that :)
Chris
i do it as yo say to me but stille get no video:(
here the the pictur how i do it as you say:
|
OK, so you tried to upload a video and wait at least 4-5 minutes to see if it processed? Also, you may need to put your command as this: /usr/bin/php -q /home/lion155/public_html/periodic/cron.php Make sure you try and upload a video after the change. Nothing to see here |
For D7 the command to run should look like this. cd /home/lior155/public_html/periodic; /usr/local/bin/php -q cron.php It might not be on your server, the path to php will need to be checked and corrected if needed as well. https://www.deanbassett.com |
For D7 the command to run should look like this. cd /home/lior155/public_html/periodic; /usr/local/bin/php -q cron.php It might not be on your server, the path to php will need to be checked and corrected if needed as well. Deano, that format never worked for me. I had to set it up the way I showed. My works fine in the format I have displayed. Nothing to see here |
Hmm. that format works fine for me. Hmmm. https://www.deanbassett.com |
OK, so you tried to upload a video and wait at least 4-5 minutes to see if it processed?
Also, you may need to put your command as this:
/usr/bin/php -q /home/lion155/public_html/periodic/cron.php
Make sure you try and upload a video after the change.
Thank God (i'm jew) it is working new
oh and thank you 2 mauricecano big kiss |
Oh I see, you give Mauricecano a kiss but not me... LMAO.. j/k Nothing to see here |
Must be my new avatar, just too damn sexy! |
Must be my new avatar, just too damn sexy! LMAO (I just threw up a little in my mouth) Nothing to see here |
http://towtalk.net ... Hosted by Zarconia.net! |
Same problem, here's my error log [Mon Nov 23 19:16:54 2009] [error] [client 69.2.235.18] File does not exist: /home2/towmenet/public_html/plugins/swfupclass=, referer: http://towme.net/m/videos/albums/my/add_objects/skyforum-s-videos/owner/skyforum It took me forever to get this latest file uploaded. It was 152 megs in size. I had to add a php.ini file to my root to get it to complete. Now, no movie. Cron appears to be setup correctly as per your instructions above. Well its probably gonna take a while to convert that file.. so just sit back and wait.. thats a huge file to convert. Nothing to see here |
Oh I see, you give Mauricecano a kiss but not me... LMAO.. j/k
take one u2 jealous |