Re: jpgraph problem
David Mytton <[email protected]> Sat, 28 Aug 2004 12:58:47 +0100
| Newsgroups | gmane.comp.web.phpopentracker.general |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the file. I installed it but it made no difference. I don't understand why it isn't working. I have the correct values in my config files: 'jpgraph_path' => '/usr/local/lib/php/jpgraph/', $PHPOPENTRACKER_CONFIGURATION['jpgraph_path'] = '/usr/local/lib/php/jpgraph'; And am calling: <?php phpOpenTracker::plot( array( 'api_call' => 'top', 'what' => 'document', 'limit' => 10, 'range' => 'current_month' ) ); ?> Yet it doesn't work :( 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 wrote: > Contrary to what I said before, it's not 1.14.6 that I use, but a really > old 1.0.86 (but it works, so...) > > I'll send you my .zip by private mail. > > pyg > > At 16:30 27/08/2004, you wrote: > >> Hi, >> >> I also have the value set in conf/phpOpenTracker.php: >> >> $PHPOPENTRACKER_CONFIGURATION['jpgraph_path'] = >> '/usr/local/lib/php/jpgraph'; >> >> But I still get the same error :( Could you send me your jpgraph zip >> and I can see if that works for me? >> 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 wrote: >> >>> Oh another thing : >>> I gave jpgrath_path in >>> /phpOpenTracher/phpOpenTracher/conf/PhpOpenTracker.php file, AND in >>> /phpOpenTracher/config.php file. >>> I really don't know if it change anything... >>> py >>> >>> At 10:34 26/08/2004, you wrote: >>> >>>> 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.p >>>>>>> hp 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 >>>> >>>> >>>> >>>> _______________________________________________ >>>> 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 > > >