[horde] fixed one, just need help with the weather :)

Stephen Crosby stevecrozz at sbcglobal.net
Sat Aug 13 21:07:40 PDT 2005


I got my passwd working finally. I just reinstalled it, amazing how that 
works. Anyway if anyone can still help me with the weather forecast, I'm 
still working on that one.

--Stephen Crosby

"Stephen Crosby" <stevecrozz at sbcglobal.net> wrote in message 
news:ddm895$318$1 at sea.gmane.org...
>I have a working horde installation running imp, kronolith, and turba. I
> wanted to install passwd to allow my users to change their passwords 
> stored
> in a mysql database. I also want to fix a dumb little bug in my home page 
> weather forecast.
>
> The forecast works except for an error "undefined index: temperatureHigh 
> in /var/www/horde-3.0.4/lib/Block/weatherdotcom.php."
>
> Sure enough, it displays the low temperature just fine, but the high 
> temperatures say 0 for all three days.
>
> Here's my other problem with passwd I encountered one problem early on, 
> the error was " Undefined class name
> 'horde' " and it mentioned a line in the horde configuration. I found an
> entry for Horde::gettempdir() or something like that. That was in the 
> cache
> system section. So I simply changed it to an explicit directory and tried
> again. Now I get the same error in another file. Here's the error:
>
> Fatal error: Undefined class name 'horde' in
> /var/www/horde-3.0.4/lib/Horde/Registry.php on line 128
>
> line 128 in Registry.php references a function named
> Horde::setupSessionHandler()
>
> It comes up pretty much any time a script references a class beginning 
> Horde::"whatever"
> I know so little about php, I would appreciate someone helping me identify 
> the problem.
>
> Thanks in advance for any help.
>
> I am including the section of code below:
>
>        /* Import and global Horde's configuration values. */
>        $this->importConfig('horde');
>
>        /* Start a session. */
>        if ($session_flags & HORDE_SESSION_NONE) {
>            /* Never start a session if the session flags include
>               HORDE_SESSION_NONE. */
>            $_SESSION = array();
>        } else {
> (=>Line  128 )   Horde::setupSessionHandler();
>            @session_start();
>            if ($session_flags & HORDE_SESSION_READONLY) {
>                /* Close the session immediately so no changes can be
>                   made but values are still available. */
>                @session_write_close();
>            }
>        }
>
>
> -- 
> 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