Videos not processing

We are having a problem with getting videos to process.  Members can embed YouTube videos but can not add their own.  The backend shows them stuck in processing. I tried running the /flash/modules/video/inc/classes/BxDolCronVideo.php directly and got the following error messages:

 

Notice: Use of undefined constant BX_DIRECTORY_PATH_CLASSES - assumed 'BX_DIRECTORY_PATH_CLASSES' in /var/www/flash/modules/video/inc/classes/BxDolCronVideo.php on line 7

Warning: require_once(BX_DIRECTORY_PATH_CLASSESBxDolCron.php): failed to open stream: No such file or directory in /var/www/flash/modules/video/inc/classes/BxDolCronVideo.php on line 7

Fatal error: require_once(): Failed opening required 'BX_DIRECTORY_PATH_CLASSESBxDolCron.php' (include_path='.:/usr/local/lib/php') in /var/www/flash/modules/video/inc/classes/BxDolCronVideo.php on line 7

 

We are using php-fpm instead of it running php as an apache mod.  ffmpeg is set to 755 and the owner is the same as what php-fpm is running as.  The flash apps are enabled and use h264 codec is checked.  We chmod all files to 644 (except for ffmpeg as stated above), directories to 755.

Quote · 1 Jan 2013

crontab was running as the wrong user.  Think that would make a difference? Innocent

Quote · 3 Jan 2013

have you setup cron job and properly?

Quote · 3 Jan 2013

Yes, it is working correctly now.  The problem; as I mentioned, was that crontab was running as the wrong user and thus did not have permissions to execute the files on the website.  It is these little things that we can overlook.  Once I set the crontab to run as the proper user the videos and sounds processed without problems.

At least this post may help someone else setting up a server to run Dolphin.

Quote · 4 Jan 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.