why Video is being processed help pls.
Video is being processed Error file not found
connection error Video upload failed
my .htacce
<IfModule mod_php4.c> php_flag register_globals Off </IfModule> <IfModule mod_php5.c> php_flag allow_url_include Off php_flag register_globals Off php_value upload_max_filesize 20M php_value post_max_size 20M php_value output_buffering On php_value max_execution_time 600000000 php_value max_input_time 700000000 php_value session.gc_maxlifetime 14400000 </IfModule>
<IfModule mod_rewrite.c> RewriteEngine on
|
only solution for me was
you open inc/header.inc.php and comment mentioned line
change:
$aErrors[] = (ini_get('allow_url_include') == 0) ? '' : '<font color="red">allow_url_include is On (warning, you should have this param in Off state, or your site will unsafe)</font>';
to:
// $aErrors[] = (ini_get('allow_url_include') == 0) ? '' : '<font color="red">allow_url_include is On (warning, you should have this param in Off state, or your site will unsafe)</font>';
let me know if this works. you might be getting a email from the cronjob saying you have allow_url_includes on but its not. if you are not getting any emails from the cronjob about that then you need to make sure it was setup right.
|
.htaccess php settings do not work for php binary which is run from cron, try to set all settings using php.ini file.
Also sometimes php binary is not using the same php.ini file as php which open your web pages.
To force php binary to use particular php.ini file use the following cron job:
* * * * * cd /your-path-to-dolphin/periodic; /your-path-to-php-binary/php -q -c /your-path-to-php-ini-file/php.ini cron.php
Do not forget to change these with your real values:
your-path-to-dolphin
your-path-to-php-binary
your-path-to-php-ini-file
Rules → http://www.boonex.com/terms |
Uploading video stuck at "Video is being processed", not automatically switching to video play window
unless you click the small video icon. Then video is working fine. Admin set video file auto approved.
Any suggestion how to fix the problem? I have this issue since from D7.B1.
Thanks.
|
your .htaccess file and php.ini file are not the ones that "control" the video processing, so to speak. Your cron job is what processes videos. If you have it set correctly, after you upload a video, you should see it going to the "not processed" folder (link in the video album). assuming the cron job is configured correctly, it will take a up to 3-4 minutes (depending on size) for it to show in the videos album on the homepage. Nothing to see here |
Zarcon:
Thanks for your reply.
This issue looks easy to fix, but it drive me nuts.
I tried the old format as you suggested as
/usr/local/bin/php -q /my site root/public_html/Dolphin/periodic/cron.php
and the one from D7 RC installation
cd/my site root/public_html/Dolphin/periodic; /usr/local/bin/php -q cron.php
Either one is working. All the video uploaded is in the 'not processed' folder.
If clicked any video, it will be stay at "Video is being processed" forever.
Any suggestion ?
AlexT:
Do you have any ideal how to fix my problem.
I wonder something may need to be done to enable the cron job to run from cPanel of bluehot.
When I set cron job as the one from RC installation, the server automatically convert
/usr/local/bin/php -q cron.php to /ramdisk/php5 -q cron.php. I supposed that server php
is located at /ramdisk and it is version 5. I did verify the php version as 5.2.11, but I didn't
check the php path.
Help is needed indeed.
|
only solution for me was
you open inc/header.inc.php and comment mentioned line
change:
$aErrors[] = (ini_get('allow_url_include') == 0) ? '' : '<font color="red">allow_url_include is On (warning, you should have this param in Off state, or your site will unsafe)</font>';
to:
// $aErrors[] = (ini_get('allow_url_include') == 0) ? '' : '<font color="red">allow_url_include is On (warning, you should have this param in Off state, or your site will unsafe)</font>';
let me know if this works. you might be getting a email from the cronjob saying you have allow_url_includes on but its not. if you are not getting any emails from the cronjob about that then you need to make sure it was setup right.
Did you try this cause this has been fixing the problem for a lot of people. also what kind of email are you getting from your cronjob, you should be seeing a email saying allow_url_includes is on when its clearly off, or you are seeing a big list showing the file encode history. If you are not getting ether of those then you didn't setup the cronjob right.
|
LutherVanguard:
Thanks.
From /inc/header.inc.php, I got $dir['root'] = "/home1/my_site_name/public_html/Dolphin/";
So the path I set for cron job is right.
I set cron job as RC installation suggestion, the server automatically changed /usr/local/ to /ramdisk/
***** cd/home1/my_site_name/public_html/Dolphin/periodic; /ramdisk/bin/php5 -q cron.php
I got cron log email as below. It means the path is incorrect, but I don't see any thing wrong.
I haven't tried your way.
/bin/sh: cd/home1/fivwsplu/public_html/Dolphin/periodic: No such file or directory No input file specified.
|
I would just like to point out on every one of your posts that list this format
cd/my site root/public_html/Dolphin/periodic; /usr/local/bin/php -q cron.php
Your missing a space at the beginning of the line right after cd.
Should be
cd /my site root/public_html/Dolphin/periodic; /usr/local/bin/php -q cron.php
Could explain your last error.
https://www.deanbassett.com |
Thanks every for reply.
OK, missing space between cd and /home1/... is just a mistake.
The cron job setting before this mistake is working because all the video files converted is
in the folder /flash/module/video/file/.
My issue is that the video player will not show up even the conversion is done until you refresh
the page or click the video thumbnail. Instead of this, the group video will stuck at "Video is being processed"
and video album will display "Video was successfully added".
I tried both IE and FF. They are all the same.
Any one have the same issue?
|
Just wanted to say thanks to deano92964, followed your instructions and they worked at my first attempt at doing a cron job |
hey,
my cron job is 'php -q /home/friends1/public_html/perodic/cron.php'
and the error i am getting is '
/bin/sh: access-logs: command not found
|
'
Please help
|
Make sure you use absolute php path. that will work. ---- |
|
path to your php binary such as you would find if you were in SSH and ran the following command:
which php --> output should show /usr/bin/php or /usr/local/bin/php there are a few others, but the absolute path to the binary is what is needed in the cron job path when assigning either via cpanel or crond in SSH.
When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |
Sir,
My cron job is
* * * * * cd /home/friends1/public_html/periodic; /usr/local/bin/php -q cron.php
The error mail i am getting is
/bin/sh: access-logs: command not found Could not open input file: cron.php
the other cron job is
* * * * */usr/local/bin/php/home/friends1/public_html/perodic/cron.php
the error mail is
/bin/sh: access-logs: command not found
cron.php....permissions 777
|
Sir,
I guess my cron.php has something wrong in it. As everything else seems to be fine.
Regards,
Vishesh
|
there is truly not much that can go wrong with the cron.php, though if you think there is something wrong with your cron.php file, you can simply replace it.
do you know the path of php on your machine? have you asked your hosting service provider to provide you with assistance on creating the proper string for firing the cron?
you can tell them you need a cron command to fire the cron.php file which is in the periodic directory
When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |
Sir,
I have tried every command possible but i keep getting the error
"/bin/sh: access-logs: command not found"
what does this means??
How can i solve this problem?
Regards,
Vishesh
|
hi folks,
quite weird, i ve the cron set propelly no mistake when i run the command
]# /usr/local/bin/php -q public_html/airgonay.com/site/community/periodic/cron.php
#
i still have the message, video is being processed...
any idea?
best regards
herve
|
hi folks,
quite weird, i ve the cron set propelly no mistake when i run the command
]# /usr/local/bin/php -q public_html/airgonay.com/site/community/periodic/cron.php
#
i still have the message, video is being processed...
any idea?
best regards
herve
looking at your cron, the airgonay.com should not be written that way,
try this
/usr/local/bin/php -q public_html/airgonay/site/community/periodic/cron.php
Are you getting cron emails? After video is processed, you should get email from server stating the file was processed.
To check your settings, look in Admin panel, Host Tools. What are your audit results?
ManOfTeal.COM a Proud UNA site, six years running strong! |