Closed (fixed)
Project:
Drush
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Dec 2008 at 00:12 UTC
Updated:
13 Apr 2010 at 13:31 UTC
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
Comment #1
moshe weitzman commentedPerhaps 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.
Comment #2
fgmJust had this problem on a 6.1.2 multisite: invoking
url()orl()in a drush callback forpathon a root-based site generates:-
/pathwithout options-
http:///pathwith array('absolute', TRUE)Strangely enough:
show base path as
http:///www.example.com, i.e. with the three slashes too.Comment #3
kpolymorphic commentedGoing to replicate this and check it against DRUPAL-6--1 branch head to see if the issue is still there
Comment #4
moshe weitzman commentedComment #5
greg.1.anderson commentedNo feedback. Please reopen with more information if needed.