[dev] Portal page error regarding klutz constants...

Chuck Hagenbuch chuck at horde.org
Tue Mar 4 14:44:21 PST 2003


Quoting Rick Emery <rick at emery.homelinux.net>:

> I'm not sure if I'm the only one getting this, but it appears (from my
> limited knowledge and brief investigation) that the _title function in
> horde/klutz/lib/Block/summary.php doesn't have access to the constant
> KLUTZ_DISPLAY_DAY, defined in horde/klutz/lib/Klutz.php. The _content
> function appears to get these values from the "require_once" of base.php, 
> which uses "require_once" on Klutz.php. I was able to get rid of the 
> error by adding:
> 
> ["include" or "require"] dirname(__FILE__) . '/../Klutz.php';
> 
> in summary.php->_title(). My php experience is *very* limited, but I'm
> fairly certain this isn't the correct way to fix it.

Mostly correct. Fixed in CVS.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
I know there's fish out there, but where g-d only knows.


More information about the dev mailing list