Output from command /usr/bin/php /home/dan/public_html/drupal/modules/station/archive/scripts/ripper.php ..

This script must be called from the command line.

I can run the command just fine from the command line, i try to run it with Cron, and it fails every time.

Any ideas?

Thanks!
Dan

Comments

drewish’s picture

Status: Active » Fixed

hum.. never seen that before. you're running into this check:

// Make sure we're being run from the command line.
if (isset($_SERVER['REMOTE_ADDR'])) {
  exit("This script must be called from the command line.\n");
}

so it looks like your environment must be defining a REMOTE_ADDR environment variable. you could either track down where that's being set or you could just comment out the check.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.