Results 1 to 6 of 6

Thread: automatic cron job error message

  1. #1

    Default automatic cron job error message

    so I multiimported several files, i run mydomain.com/cron.php manually, and it converts the files just fine, but whe i set up a 10 min cron job i get the following error message:
    Code:
    PHP Warning:  PHP Startup: Unable to load dynamic library './/usr/local/src/ffmpeg-php-0.5.0/modules/ffmpeg.so' - .//usr/local/src/ffmpeg-php-0.5.0/modules/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
    cronjob started
    
    
    STARTING VIDEO CONVERSION (process_queue.id = 151)</p><hr>
    
    File: /home/to/mysite/public_html//video/video/cam.flv</p>
    
    ####################################################</p>
    
    INSERT INTO video SET
    UID='4',
    seo_name='temp-2',
    title='temp',
    description='temp',
    keyword='temp',
    channel='0|1|0',
    vdoname='cam.flv',
    flvdoname='12162847212086037608.flv',
    addtime='1216284721',
    adddate='2008-07-17',
    type='private',
    active='0',
    approve='1'</p>
    
    ####################################################</p>
    
    Video id: 111</p>
    
    Find video duration - START</p>
    Fatal error: Class 'ffmpeg_movie' not found in /home/to/mysite/public_html/video/include/classes/class.video_duration.php on line 54
    my question is, how come it works fine mannually, but cannot open the extension when setup in a cron job?

  2. #2

    Default Re: automatic cron job error message

    zzzzzzzzzzzzz

  3. #3
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: automatic cron job error message

    Something is not right in path to the file for the cron job? Did you notice this in the code? Is this correct?

    Code:
    cronjob started
    
    
    STARTING VIDEO CONVERSION (process_queue.id = 151)</p><hr>
    
    File: /home/to/mysite/public_html//video/video/cam.flv
    and

    Code:
    /home/to/mysite/public_html/video/include/classes/class.video_duration.php on line 54
    I have cron jobs set like this:

    Code:
    /usr/bin/php -q /home/******/public_html/******/cron.php  > /dev/null &
    Where ****** is my user name and the directory that the video site is located.
    If it's not fun, stop doing it!

  4. #4

    Default Re: automatic cron job error message

    that's only becasue i use a dedicated box
    if the path were wrong, then it owudlnt find the cron.php file. the porblem is that after it finds the corn.php file, it wont convert becasue it cant find ffmpeg.so.

  5. #5
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default Re: automatic cron job error message

    becasue it cant find ffmpeg.so
    Oh, OK then it sounds like a configuration issue either with the cronjob or with your server or both. I've never had a problem with the cron thing myself. Maybe someone else knows. Anyone?
    If it's not fun, stop doing it!

  6. #6

    Default Re: automatic cron job error message

    meh

Similar Threads

  1. AJAX ERROR MESSAGE
    By heyahey in forum Bug Reports
    Replies: 7
    Last Post: 02-17-2009, 06:57 AM
  2. error message
    By Dowis in forum Bug Reports
    Replies: 1
    Last Post: 02-10-2009, 03:53 AM
  3. error from cron no-debug-non-zts
    By musictvblogger in forum Installation Support
    Replies: 1
    Last Post: 11-02-2008, 10:36 PM
  4. error message
    By berry05 in forum Installation Support
    Replies: 1
    Last Post: 04-12-2008, 04:38 AM
  5. Error Message
    By apj5621 in forum Fixed Bugs
    Replies: 3
    Last Post: 08-07-2007, 08:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •