Snort mailing list archives

Re: snortreport 1.11 & profiling.php ?


From: "Simon Gray" <simong () desktop-guardian com>
Date: Thu, 20 Mar 2003 14:24:17 -0000

Hi Tom,

I installed snort 1.90, and have it log its alerts to mysql
(mysql-3.23.52-3). php is also installed (php-4.2.2-8.0.5). This is on
redhat 8.0

I am now trying to install snortreport, but when i try to start it, i get
the following error:

setinst($server); $db->setuser($user); $db->setpass($pass);
$db->dbname($dbname); $db->persist(); $conn = $db->connect(); define
("FULL_DATETIME_FORMAT", "Y-m-d H:i:s"); set_time_limit(1800);
require_once("info-retrieval.php"); ?>
Fatal error: Call to undefined function: elapsedtimer() in
/var/www/html/snortreport/alerts.php on line 25

I did a little investigation myself, and i noticed that a file
'profiling.php' is included, but the file i find in the d'loaded tarball was
profiling.phps
I tried to copy the file profiling.php to profiling.phps, but that didn't
change anything. the error remains.

Can someone help ?

I've had a quick look at some of the source code, it shouldn't be trying to
run the elapsedtimer function because profiling is set to false. Only real
thing i can suggest is try changing

define("PROFILING", false);

to

define("PROFILING", true);

Within 'srconf.php' see if that makes any difference, at least then the
eleasedtimer function will exist.


Cheers,

Simon



-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC.  
Does your code think in ink? You could win a Tablet PC. 
Get a free Tablet PC hat just for playing. What are you waiting for? 
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: