In my logs I see the following:

parse_url(http:///example.com/admin/reports/request-test): Unable to parse URL in /var/www/production/6/html/includes/common.inc on line 436.

when running 'cron' in Drush at the command line. Note the three forward-slashes (and replace example.com with my domain). This makes impossible for the aggregator module to poll external sites, because I'll get an error like:

The feed from Google Reader seems to be broken, due to " The server can't issue HTTP requests".

cron.php runs fine.

Comments

moshe weitzman’s picture

Status: Active » Postponed (maintainer needs more info)

Perhaps try to hard code a base_url in settings.php? Or fiddle with --uri when calling drush. You might also try HEAD drush since lots has changed.

That request-test typically happens when your server can't make successful outbound http requests. Just a thought.

fgm’s picture

Status: Postponed (maintainer needs more info) » Active

Just had this problem on a 6.1.2 multisite: invoking url() or l() in a drush callback for path on a root-based site generates:

- /path without options
- http:///path with array('absolute', TRUE)

Strangely enough:

global $base_path;
echo "Base path: [$base_path]\n";

show base path as http:///www.example.com, i.e. with the three slashes too.

kpolymorphic’s picture

Assigned: Unassigned » kpolymorphic

Going to replicate this and check it against DRUPAL-6--1 branch head to see if the issue is still there

moshe weitzman’s picture

Status: Active » Postponed (maintainer needs more info)
greg.1.anderson’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No feedback. Please reopen with more information if needed.