[horde] weather and metar problem
DarkunderdoG
lcalvert at mn.rr.com
Wed Mar 3 21:21:37 PST 2004
What I did to get mine to work was rename my pear folder from
/usr/local/share/pear to /usr/local/share/oldpear (Just for Backup Purposes)
Downloaded Horde Pear Version 1.3 (Link Below)
Extracted Pear-1.3.tar.gz
Then went in to the Framework path and ran the install-packages.php
After that all worked like a charm! Let me know if it works for you!
You will find .tar.gz, .tar.bz2 and .zip versions at
ftp://ftp.horde.org/pub/pear/
These are the changes to the last version (pear-1.1):
-----Original Message-----
From: horde-bounces at lists.horde.org [mailto:horde-bounces at lists.horde.org]
On Behalf Of Ilya
Sent: Wednesday, March 03, 2004 10:45 PM
To: Rick Emery
Cc: horde at lists.horde.org
Subject: Re: [horde] weather and metar problem
commenting out these lines, allows the weather to show up, am I breaking
something?
$weatherDotCom->setCache("file",
array("cache_dir" => ($cacheDir . '/')));
this is what i have in conf.php:
$conf['cache']['default_lifetime'] = 1800;
$conf['cache']['params']['dir'] = Horde::getTempDir();
$conf['cache']['driver'] = 'file';
I tried to set dir to /tmp or /var/tmp, didnt work. Printing out the cache
dir
from the weatherdotcom.php always shows /tmp.
On Wed, Mar 03, 2004 at 11:15:56PM -0500, Ilya wrote:
> On Wed, Mar 03, 2004 at 11:02:04PM -0500, Rick Emery wrote:
> > Quoting Ilya <mail at krel.org>:
> >
> > >all my packages are up to date according to pear upgrade-list.
> > >
> > >I did find something interesting thing: I moved the metar to the
> > >first position
> > >in Layout and it came up on the screen (just no data) - how do i update
it?
> >
> > Once you select a location (in the layout screen), it should update
> > automatically.
>
> doesnt happen for me for some reason.
>
> >
> > >After moving weatherdotcom to second position everything after and
> > >including it
> > >disappeared. Since I had weatherdotcom and metar on last positions it
> > >explains
> > >why only metar was siuffering.
> > >Not sure yet why weatherdotcom is causing this problem, no errors so
> > >far in any
> > >logs.
> >
> > This has been discussed before, but I can't remember what the fix was.
Check
> > the archives for this list and the dev list. If I remember what the fix
was,
> > I'll post it.
>
> I couldnt find anything. I did get down to this:
> Horde::logMessage('LLL', __FILE__, __LINE__, PEAR_LOG_ERR);
> return PEAR::raiseError(
> _("No temporary directory available for cache."),
> 'horde.error');
> } else {
> Horde::logMessage('LLLK', __FILE__, __LINE__, PEAR_LOG_ERR);
> $weatherDotCom->setCache("file",
> array("cache_dir" => ($cacheDir . '/')));
> }
> Horde::logMessage('LLLL', __FILE__, __LINE__, PEAR_LOG_ERR);
>
> in the log LLLK is the last message. so dies somewhere in the else.
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
--
Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe at lists.horde.org
More information about the horde
mailing list