[horde] jpgraph Text class and /lib/Text.php Text class
Jan Schneider
jan at horde.org
Fri Jun 13 03:36:00 PDT 2003
Zitat von karagian <karagian at it.teithe.gr>:
> Hello,
>
> I just installed horde from the cvs, and have the following problem:
>
> nic has the ability to show some graphs, using jpgraph,
> but after getting and installing jpgraph, I got the following error:
>
> Fatal error: Cannot redeclare class text in
> /usr/local/lib/php/jpgraph/jpgraph.php on line 2445
>
> I realized that jpgraph declares a class Text, which is also declared in
> /lib/Text.php
>
> Since they are both used by nic, there seems to be a conflict.
>
> Did I do something wrong, or
> is there a way to get over this problem?
You need to patch jpgraph to change the class name to something different
than "Text".
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft
More information about the horde
mailing list