Re: jpgraph problem

PyG <[email protected]> Thu, 26 Aug 2004 10:34:05 +0200
Newsgroups gmane.comp.web.phpopentracker.general
Message-ID <[email protected]>
The only thing I could do for you is to send you my jpgraph.zip files.
As I wrote before, the latest version of jpgraph give me some difficulties 
(but I don't remember exact issues) : so I had to use 1.14.1

PYG

At 21:37 25/08/2004, you wrote:
>Hi,
>
>I had tried this...just tried it again and it made no difference :(
>
>Regards,
>
>David Mytton
>
>Find out what Google knows about me:
>http://www.google.com/search?q=david+mytton and visit my personal site:
>http://www.mytton.net
>
>
>
>pyg_listes wrote:
>>Maybe a trailing slash problem :
>>$PHPOPENTRACKER_CONFIGURATION['jpgraph_path'] = 
>>'/home/keonox/www/pyg/ganesha/scripts/phpOpenTracker/jpgraph/';
>>?
>>pyg
>>David Mytton a écrit :
>>
>>>Hi,
>>>
>>>Thanks for getting back to me. I have set the path correctly:
>>>
>>>root@coldstream [/usr/local/lib/php/jpgraph]# ls
>>>./                      imgdata_stars.inc      jpgraph_log.php
>>>../                     jpg-config.inc         jpgraph.php
>>>Changelog               jpgraph_bar.php        jpgraph_pie3d.php
>>>Examples/               jpgraph_canvas.php     jpgraph_pie.php
>>>flags.dat               jpgraph_canvtools.php  jpgraph_plotband.php
>>>flags_thumb100x100.dat  jpgraph_error.php      jpgraph_plotmark.inc
>>>flags_thumb35x35.dat    jpgraph_flags.php      jpgraph_polar.php
>>>flags_thumb60x60.dat    jpgraph_gantt.php      jpgraph_radar.php
>>>imgdata_balls.inc       jpgraph_gb2312.php     jpgraph_regstat.php
>>>imgdata_bevels.inc      jpgraph_gradient.php   jpgraph_scatter.php
>>>imgdata_diamonds.inc    jpgraph_iconplot.php   jpgraph_stock.php
>>>imgdata_pushpins.inc    jpgraph_imgtrans.php
>>>imgdata_squares.inc     jpgraph_line.php
>>>
>>>Config.php
>>>
>>>'jpgraph_path'                        => '/usr/local/lib/php/jpgraph',
>>>
>>>Yet I still get the error:
>>>
>>>Fatal error: Class 'Graph' not found in 
>>>/usr/local/lib/php/phpOpenTracker/API/plugins/plot_access_statistics.php 
>>>on line 192
>>>
>>>Regards,
>>>
>>>David Mytton
>>>
>>>Find out what Google knows about me:
>>>http://www.google.com/search?q=david+mytton and visit my personal site:
>>>http://www.mytton.net
>>>
>>>
>>>
>>>pyg_listes wrote:
>>>
>>>>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?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>_______________________________________________
>>>>phpOpenTracker-General mailing list
>>>>[email protected]
>>>>http://lists.berlios.de/mailman/listinfo/phpopentracker-general
>>>>
>>>>
>>>_______________________________________________
>>>phpOpenTracker-General mailing list
>>>[email protected]
>>>http://lists.berlios.de/mailman/listinfo/phpopentracker-general
>>>
>>_______________________________________________
>>phpOpenTracker-General mailing list
>>[email protected]
>>http://lists.berlios.de/mailman/listinfo/phpopentracker-general
>>
>_______________________________________________
>phpOpenTracker-General mailing list
>[email protected]
>http://lists.berlios.de/mailman/listinfo/phpopentracker-general