Re: jpgraph problem

pyg_listes <[email protected]> Wed, 25 Aug 2004 20:48:09 +0200
Newsgroups gmane.comp.web.phpopentracker.general
Message-ID <[email protected]>
Hi David,
did you installed and declared JPGraph script in config file 
(phpopentracker.php) ?
http://www.phpopentracker.de/docs/en/installation.setup.html => "Set 
jpgraph_path to the path to your JPGraph installation. "
I could send you my zip because I had some pb with the latest version of 
JPGraph (now, everything is working fine).

pyg, french translator of Olate Download 2.2 (yes yes, I know, I must 
register for v3, but I just hate registration processes)





David Mytton a écrit :

> Hi,
>
> I'm trying to get phpOpenTracker to work on my server. I've got it all 
> installed and working properly with the exception of the graph 
> plotting. I have followed the installation instructions of jpgraph and 
> those provided with phpOpenTracker exactly (or so I believe) but when 
> I try to call one of the plot functions, I get this error:
>
> Fatal error: Cannot instantiate non-existent class: piegraph in 
> /usr/local/lib/php/phpOpenTracker/API/plugins/plot_top.php on line 119
>
> This is using the code
>
> <?php
> phpOpenTracker::plot(
>   array(
>     'api_call' => 'top',
>     'what'     => 'document',
>     'limit'    => 10,
>     'range'    => 'current_month'
>   )
> );
> ?>
>
> Are you able to help?