[horde] Weather.com feed

Rick Emery rick at emery.homelinux.net
Wed Apr 28 07:41:18 PDT 2004


Quoting Thomas O'Brien <thomas at creativebusinessystems.com>:

> The zip is 95127 I also tried San Jose, CA.
>
> Thanks for the help.
>
> Thomas

Hmm. It comes up for me.

The best advice I can offer right now is some troubleshooting. What usually
works for me is to add var_dump calls in the code.

For example, I would start by adding:

var_dump($weatherDotCom);

on the line after:

$weatherDotCom = &Services_Weather::service("WeatherDotCom");
(line 104 on my install)

If $weatherDotCom is populated with what appears to be good data, move the
var_dump down and check the next object that gets created/assigned. It's a
little time consuming, but I've been able to fix every problem using this
process.

Good luck, and let me know if I can do anything more,
Rick




More information about the horde mailing list