Results 1 to 9 of 9

Thread: [RESOLVED] Background Processing NOT Working!

  1. #1
    Join Date
    Nov 2007
    Posts
    6

    Default [RESOLVED] Background Processing NOT Working!

    Hello, everybody I wanted to ask why my background processing is not working, every time I upload a video, it says the thank you for uploading thing, then after wards nothing happens, and I check my debug.txt and it seems to be calling the wrong cron job command this command below is the one that appears on my debug. Anyone know how to fix this? Thanks in advance.
    Code:
    2007-11-14 22:30:46 Upload Finished
    
    2007-11-14 22:30:46 Running: /usr/bin/php -q /home/xxxxx/public_html/convert.php 59 > /dev/null &

  2. #2
    Join Date
    May 2007
    Posts
    588

    Default Re: Background Processing NOT Working!

    is your cron set to run convert.php or cron.php?....it should be cron.php

  3. #3
    Join Date
    Apr 2007
    Posts
    2,202

    Default Re: Background Processing NOT Working!

    It only work if your php support CLI.

    /usr/bin/php -q /home/xxxxx/public_html/convert.php 59

    On some servers CLI version of php will be in different folders, so you need to put correct path to PHP CLI in admin area.

    Here is result on cpanel server


    Code:
    # /usr/local/bin/php -v
    PHP 5.2.5 (cli) (built: Nov 14 2007 18:35:55)
    Copyright (c) 1997-2007 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
        with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
        with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
    
    # /usr/bin/php -v
    PHP 5.2.5 (cgi-fcgi) (built: Nov 14 2007 18:40:00)
    Copyright (c) 1997-2007 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
        with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
        with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
    #
    In the case, you need to use /usr/local/bin/php which is CLI

  4. #4
    Join Date
    Nov 2007
    Posts
    6

    Default Re: Background Processing NOT Working!

    Quote Originally Posted by leki
    is your cron set to run convert.php or cron.php?....it should be cron.php
    Yeah it is set to cron.php

  5. #5
    Join Date
    Nov 2007
    Posts
    6

    Default Re: Background Processing NOT Working!

    Quote Originally Posted by admin
    It only work if your php support CLI.

    /usr/bin/php -q /home/xxxxx/public_html/convert.php 59

    On some servers CLI version of php will be in different folders, so you need to put correct path to PHP CLI in admin area.

    Here is result on cpanel server


    Code:
    # /usr/local/bin/php -v
    PHP 5.2.5 (cli) (built: Nov 14 2007 18:35:55)
    Copyright (c) 1997-2007 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
        with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
        with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
    
    # /usr/bin/php -v
    PHP 5.2.5 (cgi-fcgi) (built: Nov 14 2007 18:40:00)
    Copyright (c) 1997-2007 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
        with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
        with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
    #
    In the case, you need to use /usr/local/bin/php which is CLI
    I'll try that.

  6. #6
    Join Date
    Nov 2007
    Posts
    6

    Default Re: Background Processing NOT Working!

    I changed it and it's still the same command showing I don't know what's wrong.

  7. #7
    Join Date
    Nov 2007
    Posts
    6

    Default Re: Background Processing NOT Working!

    Anyone?

  8. #8
    Join Date
    Nov 2007
    Posts
    6

    Default Re: Background Processing NOT Working!

    Admin please help I really want to use background processing. Thanks

  9. #9
    Join Date
    Nov 2007
    Posts
    2

    Default Re: Background Processing NOT Working!

    I had also problems with the Zend optimzer which worked only over the apache webserver somehow, so I used this command in my cron table which it runs every 2 minutes with batch processing enabled:

    Without htaccess protection:
    Code:
    wget -q http://example.de/cron.php & rm -f ./cron.php*

    With htaccess protection:
    Code:
    wget -q --http-user=admin --http-password=ddf33example http://example.de/cron.php & rm -f ./cron.php*

Similar Threads

  1. Background processing don't work
    By loverguyz in forum Installation Support
    Replies: 4
    Last Post: 01-21-2010, 04:09 PM
  2. Video Processing
    By browniegirl in forum General Discussions
    Replies: 2
    Last Post: 02-15-2008, 12:02 AM
  3. User Photos processing
    By devarioj in forum Template Modifications
    Replies: 0
    Last Post: 09-25-2007, 06:27 AM
  4. AUTHORIZE.NET PAYMENT PROCESSING
    By devarioj in forum Feature Requests
    Replies: 3
    Last Post: 09-17-2007, 06:21 AM
  5. [RESOLVED] critical error, videos gone,no accounts recognize
    By nocomp in forum Installation Support
    Replies: 10
    Last Post: 06-19-2007, 08:56 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
  •