Closed (fixed)
Project:
Boost
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Aug 2008 at 05:41 UTC
Updated:
6 Feb 2010 at 18:53 UTC
Boost appears to function correctly and pages appear to cache OK, however the error log is being filled up with dozens of these errors every minute.
DetailsType php
Date Sunday, August 3, 2008 - 06:31
User Anonymous
Location http:///
Referrer
Message parse_url(http://) [<a href='function.parse-url'>function.parse-url</a>]: Unable to parse URL in /data/sites/wikijoba/modules/boost/boost.api.inc on line 165.
Severity error
Hostname ::1
I have disabled Boost in the meantime. If anybody can shed some light on the source or solution of this problem, I would be most grateful!
Thanks,
Chris.
Comments
Comment #1
chrism2671 commentedIn response to my original post, the value of $base_url is "http://www.wikijob.co.uk" however it seems that for some reason, this is sometimes 'http:///', which causes an error. This suggests the problem is outside boost and somewhere else. I have hack-fixed the problem by inserting the line
just before line 165, which temporarily solves the problem.
Comment #2
willdashwood commentedI get the same error when the cron job runs.
Comment #3
kenorb commentedIt should not rely that global $base_url is set.
Can be empty if run via cron.
There should be some additional condition, if it's not set, set from HTTP_HOST
Comment #4
mikeytown2 commentedClosing all 5.x issues; will only reevaluate if someone steps up #454652: Looking for a co-maintainer - 5.x
Reason is 6.x has 10x as many users as 5.x; also last 5.x dev was over a year ago. The 5.x issue queue needs to go.