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
Comment #1
morbus iffFixed in DRUPAL-6--1.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.