I'm getting this message on load... Any clues? Thanks.

[noob@noobbox bot]$ php ./bot_start.php --root /home/noob/public_html --url http://example.org&
[noob@noobbox]$ PHP Notice:  Undefined index:  path in /home/noob/public_html/sites/all/modules/bot/bot_start.php on line 29

Has to do w/ --url

    case '--url':
      $drupal_base_url = parse_url(array_shift($_SERVER['argv']));
      $_SERVER['HTTP_HOST'] = $drupal_base_url['host'];
      $_SERVER['PHP_SELF'] = $drupal_base_url['path'].'/'.$script_name;
      $_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'] = $_SERVER['PHP_SELF'];
      $_SERVER['REMOTE_ADDR'] = NULL; // any values here do rather...
      $_SERVER['REQUEST_METHOD'] = NULL; // ...odd things. uh huh.
      break;
  }
}

Comments

morbus iff’s picture

Version: 5.x-1.x-dev » 6.x-1.x-dev
Status: Active » Fixed

Fixed in DRUPAL-6--1.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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