[horde] Fatal error in service Weather

Michael J Rubinsky mrubinsk at horde.org
Sat Aug 25 16:00:22 UTC 2012


Quoting Alexandre DENIS <contact at alexandredenis.net>:

> Hi,
>
> I have a Horde 4 install that has worked flawlessly for more than one year.
>
> I have a weather widget on my portal page, and it stopped working today. When
> I login, I get a fatal error, "String could not be parsed as XML". I get the
> following in syslog:
>
> Aug 24 14:21:16 jupiter HORDE: [horde] PHP ERROR:
> SimpleXMLElement::__construct(): Entity: line 1: parser error : Start tag
> expected, '<' not found [pid 11459 on line 268 of
> "/usr/share/php/Horde/Service/Weather/Google.php"]
> Aug 24 14:21:16 jupiter HORDE: [horde] PHP ERROR:
> SimpleXMLElement::__construct(): Unsupported API [pid 11459 on line 268 of
> "/usr/share/php/Horde/Service/Weather/Google.php"]
> Aug 24 14:21:16 jupiter HORDE: [horde] PHP ERROR:
> SimpleXMLElement::__construct(): ^ [pid 11459 on line 268 of
> "/usr/share/php/Horde/Service/Weather/Google.php"]
> Aug 24 14:21:16 jupiter HORDE: [horde] String could not be parsed as XML [pid
> 11459 on line 268 of "/usr/share/php/Horde/Service/Weather/Google.php"]
>
> If I manually go to other pages than the portal, e.g. /kronolith, it works.
>
> My system is Debian stable, up-to-date. The latest Horde 4 upgrade was some
> weeks ago. I tried an upgrade today, but it didn't fix the bug. In particular
> I have:
> Horde_Service_Weather     1.1.2   stable
> Horde_Xml_Element         1.0.1   stable
> horde                     4.0.15  stable
>
> My questions:
>
> -- does anybody have an idea why it broke today, and how to fix it?
>
> -- as an emergency solution, how can I remove temporarily the weather widget
> from my portal page, since I am locked out from it?

This is an error in the response received from Google, or possible a  
connection error. In any case, this should not cause a fatal error,  
and I have fixed this in Git.


-- 
mike

The Horde Project (www.horde.org)
mrubinsk at horde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6135 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.horde.org/archives/horde/attachments/20120825/24f51da3/attachment.bin>


More information about the horde mailing list