[horde] Weather: No location is set
Rick Emery
rick at emery.homelinux.net
Mon Jan 16 09:41:50 PST 2006
Quoting Chris <grooveman at comcast.net>:
> Hello.
>
> I have set up horde 3.0.9. I am trying to set up weather for the
> portal, but it simply states "No location is set".
>
> I am using open BSD 3.8 in a chroot jail with php4-core-4.4.0p0. I
> received my partner ID and my license key from weather.com. I entered
> those values on the "Portal Block Configuration" tab. I have the pear
> weather module installed (pear -d preferred_state=beta install -a
> Services_Weather) and the XML_Serializer.
>
>
> On the portal configuration page (click on "layout" button), it doesn't
> seem to give me an option to choose my location. Looking through
> "options", I do not see an opportunity to set up my location either...
>
> I poked around on the list archive, and I saw this:
>
> php -q buildMetarDB.php -a -t dbtype -d dbname -u yourusername -p
There are two different weather-related blocks; weather.com and METAR.
Most people want the weather.com block; METAR is mostly for pilots.
The weather.com block requires the partner ID and license key from
weather.com, and the METAR block requires the buildMetarDB.php file to
be executed.
That said, under "Layout" for the portal page, which block did you
choose? If you chose "Horde: weather.com", you should have been
presented with a text box allowing a location to be entered. If you
selected "Horde: Metar Weather", you should have been presented with
drop-down boxes to select the location (which would be empty until the
database is populated by the buildMetarDB.php script).
Rick
--
Rick Emery
"When once you have tasted flight, you will forever walk the Earth
with your eyes turned skyward, for there you have been, and there
you will always long to return"
-- Leonardo Da Vinci
More information about the horde
mailing list