QuoteNov 19, 2009 00:260 likesLike
 

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

QuoteNov 19, 2009 02:500 likesLike
 

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.

QuoteNov 19, 2009 19:300 likesLike
 

.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/unity/txt/terms
QuoteNov 22, 2009 10:390 likesLike
 

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.

QuoteNov 22, 2009 19:560 likesLike
 

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.

Zarcon - Unity Sherriff ---------- Breaking Unity Rules = Free Vacation
QuoteNov 24, 2009 22:380 likesLike
 

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.

QuoteNov 25, 2009 17:240 likesLike
 

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.

QuoteNov 25, 2009 17:440 likesLike
 

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.
QuoteNov 25, 2009 18:361 likesLike
 

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.


Dolphin Mods - http://www.boonex.com/market/posts/deano92964
QuoteNov 27, 2009 00:390 likesLike
 

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?

QuoteJan 04, 2011 05:480 likesLike
 

Just wanted to say thanks to deano92964, followed your instructions and they worked at my first attempt at doing a cron job

QuoteMay 18, 2011 05:230 likesLike
 

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

QuoteMay 19, 2011 13:550 likesLike
 

Make sure you use absolute php path. that will work.

www.Happy-Hosting.com - Build a Stable and Fast Community with our Dolphin Optimized setup.
QuoteMay 19, 2011 20:310 likesLike
 

Sir,

 

What is that??

QuoteMay 19, 2011 22:240 likesLike
 

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.

 

 

Sir,

 

What is that??

 

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
QuoteMay 20, 2011 01:290 likesLike
 

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

QuoteMay 20, 2011 07:180 likesLike
 

Sir,

I guess my cron.php has something wrong in it. As everything else seems to be fine.

 

Regards,

Vishesh

QuoteMay 20, 2011 08:020 likesLike
 

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
QuoteMay 20, 2011 08:150 likesLike
 

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