[kronolith] fb.php gives "undefined class"

Chuck Hagenbuch chuck at horde.org
Mon Mar 22 08:50:56 PST 2004


Quoting Joerg Jaspert <joerg at maluska.de>:

> Using CVS kronolith from today i get the following error if i try to access
> /horde/kronolith/fb.php?c=some_calendar
>
> Fatal error: Class horde_data_imc: Cannot inherit from undefined class
> horde_data in /usr/share/php/Horde/Data/imc.php on line 19

Fixed in CVS.

> If I add a
> require_once HORDE_LIBS . 'Horde/Data.php';
> to fb.php it works. I dont know if thats the correct way, but it 
> works for me.

There isn't anything specifically wrong with that, but the imc class 
should just
be loaded from the base class' factory method, anyway; we were just including
it unnecessarily for some reason.

-chuck

--
"Regard my poor demoralized mule!" - Juan Valdez


More information about the kronolith mailing list