[horde] jpgraph Text class and /lib/Text.php Text class

Mike Cochrane mike at graftonhall.co.nz
Sat Jun 14 03:30:55 PDT 2003


You'll need to change every occurance of the Text class in the jpgraph files to
JpGraph_Text to get it to work with Nic at the moment.

- Mike :-)

> ----- Message from karagian at it.teithe.gr ---------
>     Date: Fri, 13 Jun 2003 11:43:45 +0300
>     From: karagian <karagian at it.teithe.gr>
> Reply-To: karagian <karagian at it.teithe.gr>
>  Subject: [horde] jpgraph Text class and /lib/Text.php Text class
>       To: horde at lists.horde.org
>
> 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?
>
>
>
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>
>
>
> ----- End message from karagian at it.teithe.gr -----



---
Mike Cochrane
mike at graftonhall.co.nz
021 262 1256




More information about the horde mailing list