-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I see it's nfsen 1.2.4. So this patch will do it.

        - Peter

Apply this patch to nfsenutil.php in your html directory


- --- nfsenutil.php       2006-03-08 14:22:40.000000000 +0100
+++ /var/www/nfsen/nfsenutil.php        2006-08-15 07:17:54.000000000 +0200
@@ -365,7 +365,7 @@

        // old style nfdump files
        if ( count ($statinfo) > 19 ) {
- -               array_unshift($statinfo, $t);
+               array_unshift($statinfo, "Time: $t");
        }
        $SumStat = array();
        foreach ( $statinfo as $line ) {
@@ -416,9 +416,9 @@
                        $tmp = $_SESSION['nfdump_return'];

                        // old style nfdump files
- -                       if ( count ($tmp) > 19 ) {
- -                               array_unshift($tmp, $t);
- -                       }
+//                     if ( count ($tmp) > 19 ) {
+//                             array_unshift($tmp, $t);
+//                     }
                        $statinfo = array();
                        foreach ( $tmp as $line ) {
                                list ($dummy, $value) = explode(": ", $line);


- -------- Original Message  --------
From: Maurizio Molina <[EMAIL PROTECTED]>
To: nfsen-discuss ML <[email protected]>
Subject: [Nfsen-discuss] msg in httpd-error.log by clicking on details tab
Date: Thu Sep 28 2006 13:26:38 GMT+0200 (CEST)

> Hi,
> everytime I click with my browser on the "details"  view of nfsen
> (whatever profile)  I get  this message logged in my  httpd-error.log
> file, repeated as many times as my sources (22).
> 
> [client X.Y.W.Z] PHP Notice:  Undefined offset:  1 in
> /opt/flowtest/tools/nfsen/1.2.4/php/nfsenutil.php on line 372, referer:
> http://---my_server_ip_address----:8090/nfsen/nfsen.php
> or
> [client X.Y.W.Z] PHP Notice:  Undefined offset:  1 in
> /opt/flowtest/tools/nfsen/1.2.4/php/nfsenutil.php on line 372, referer:
> http://---my_server_ip_address----:8090/nfsen/nfsen.php?tab=5
> 
> Any idea about what triggers it? I don't experience any problem, just
> the log file gets soon very big..
> Regards,
> Maurizio
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Nfsen-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
> 

- --
_______ SWITCH - The Swiss Education and Research Network ______
Peter Haag,  Security Engineer,  Member of SWITCH CERT
PGP fingerprint: D9 31 D5 83 03 95 68 BA  FB 84 CA 94 AB FC 5D D7
SWITCH,  Limmatquai 138,  CH-8001 Zurich,  Switzerland
E-mail: [EMAIL PROTECTED] Web: http://www.switch.ch/security
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iQCVAwUBRRy3ov5AbZRALNr/AQK6TgQAqOg0ilribW44zxh1jZjfJnVM7tF0I06T
0jlYRiU3W6wsUGz9W/hMn6HlcjbdCDIZFMQivtPzZ2AMHybYe2lJE+QbHNawnDm0
o8F9H7Y2QNbg/ybDWBzATh3LcQFCKuvGfS/c/CbJDnfelZ8D7COS1IGzFU20osHE
hrYnm4Qxz8w=
=BKm2
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to