[Snort-users] Problem with snort, phplot

DARNIOT Benjamin benjamin.darniot at ...6474...
Tue Sep 17 02:29:05 EDT 2002

Hi all,
My distribution is a Mandrake 8.2. I configured Snort 1.8.6 with a Mysql
database. I use Acid 0.9.6.b21 running on an Apache server 1.3.26 in order
to read the database. All works fine, except phplot. When I run the tests in
phplot/examples, all seem to be good except in example5 and format_chart. I
get the follows errors :

Warning: Variable passed to each() is not an array or object in
/usr/local/apache/Snort/phplot/examples/create_chart.php on line 19
Warning: REG_EMPTY in /usr/local/apache/Snort/phplot/phplot.php on line 784

I try to install differents versions of phplot (4.4.6 and <), but I always
get the same errors. I compile php and Apache with the following options:

./configure --with-apache=/Sources/apache_1.3.26/apache_1.3.26/ --with
mysql --with-gd=/Sources/gd-1.8.4 --with-zlib --with-png-dir=/usr/lib --with
-jpeg-dir=/usr/lib --with-xpm-dir=/usr/X11R6 --with-freetype-dir=/usr/lib --
with-t1lib -with-ttf

./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/li

When I check the loaded modules with Acid, I can see xml, standard ,
session, posix, pcre, mysql, gd, ctype, zlib, apache so it seems ok.

I try differents navigators IE, Konqueror, but it changed nothing... It
seems that the chart type is not set properly, it's not a problem of right,
I try with 777 :(  .
I don't see how to solve the problem.

What's wrong ?

Thanks in advance
Best regards,
Benjamin Darniot
CS Système d'information

More information about the Snort-users mailing list