>>> [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
>>>
>>>
>>
>> Could you confirm that line 372 is this?
>>      if ( array_key_exists('ProfileListUpdate', $_SESSION ) &&
>>
>>
>
> No, the piece of code around line 372 is
>
>            $SumStat = array();
>            foreach ( $statinfo as $line ) {
> 372:->           list ($dummy, $value) = explode(": ", $line);
>                    $SumStat[] = $value;

Latest snapshot looks like this:

         $SumStat = array();
         foreach ( $statinfo as $line ) {
                 if ( strstr($line, ':') ) {
                         list ($dummy, $value) = explode(": ", $line);
                         $SumStat[] = $value;
                 }
         }

I guess your profile.dat files contain a line that has no ':' inside.
This causes the warning.

Suggestion: Upgrade your nfsen or patch file manually.

Gabor

-------------------------------------------------------------------------
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
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to