Faq-O-Matic Faq-O-Matic : Administrators' Guide : Troubleshoot :
The statistics graphs do not work. | |
I used to support a statistics page with neato little graphs, but I've stopped
doing so for two reasons. First, there are better logfile analyzers out there, so you can use those to get stats for your entire site. Second, it means users have to go find a graphics package, GD, and install it. In fact, GD recently dropped support for GIF (yay!). In a future release, I will simply remove the graphing code.
For now, if you *must* see the graphs, grab GD from the URL below, and
change statgraph.pm line 333 from 'print $image->gif()' to 'print $image->png()'. Thanks to JacksonDOTLoongATmotorolaDOTcom for the fix.
http://www.perl.com/CPAN/modules/by-category/18_Images_Pixmaps_Bitmaps/GD/
| |
A second solution is that if you *must* keep gdlib 1.3 (which has GIF support) installed you can install the GD.pm version 1.19. On my Red Hat 6.0 system which ships with gd-1.3-6.i386.rpm I had no trouble compiling GD-1.19 and getting FOM 2.709 to work with it.
| |
You also need to install the Perl GD module. An easy way to do this, after installing the libgd library, is# perl -M CPAN -e shell cpan> install GD | |
[Append to This Answer] |
Previous: | Item file storage format |
Next: | Any page that requires authentication redirects me to nothing (e.g. /cgi-bin/, which is forbidden). What's going on? |
|