[horde] weather.com and freebsd

Carlos Romualdo cromualdo at hotmail.com
Sat Nov 26 11:24:10 PST 2005


I patched the weatherdotcom as you sugested:

almancil# patch -b .backup < /downloads/weatherdotcom.bin
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- weatherdotcom.php.bak      2005-11-22 16:59:40.000000000 -0500
|+++ weatherdotcom.php  2005-11-22 17:00:33.000000000 -0500
--------------------------
Patching file weatherdotcom.php using Plan A...
Hunk #1 succeeded at 36.
Hunk #2 succeeded at 101.
done

Which resulted in this:

-rw-r--r--  1 www  www  18264 Nov 26 19:02 weatherdotcom.php
-rw-r--r--  1 www  www  18256 Nov  7 14:24 weatherdotcom.php.backup
-rw-r--r--  1 www  www   1365 Aug 30 11:14 weatherdotcom_strings.php


Then I restarted apache, logged in again but still no changes occured as the 
horde log can show:

Nov 26 19:09:05 HORDE [error] [horde] The weather.com block will not work 
without the PEARServices_Weather and Cache packages, and allow_url_fopen 
enabled. Run pear install Services_Weather Cache, and ensure that 
allow_url_fopen_wrappers is enabled in php.ini. [on line 108 of 
"/usr/local/www/data-dist/horde/lib/Block/weatherdotcom.php"]

PHP output:

almancil# php -i | grep allow_url_fopen
allow_url_fopen => On => On

PEAR output:

almancil# pear install Services_Weather Cache
Skipping package "pear/Services_Weather", already installed as version 1.3.2
Skipping package "pear/Cache", already installed as version 1.5.4
No valid packages found
install failed

If the PEAR package was uncorrectly installed wouldn't there be a few more 
blocks or something else broken? It's strange that only this particular 
block is having problems...
Anymore sugestions?

Thanks,
Carlos Romualdo

>From: "Kevin M. Myer" <kevin_myer at iu13.org>
>To: Carlos Romualdo <cromualdo at hotmail.com>
>CC: horde at lists.horde.org
>Subject: Re: [horde] weather.com and freebsd
>Date: Thu, 24 Nov 2005 20:39:33 -0500
>
>I posted a patch a few days ago that should take of this for you.
>
>http://lists.horde.org/archives/horde/Week-of-Mon-20051121/029346.html
>
>Kevin
>
>--
>Kevin M. Myer
>Senior Systems Administrator
>Lancaster-Lebanon Intermediate Unit 13  http://www.iu13.org
>
>




More information about the horde mailing list