Works great, thanks.

 - Mike

-----Original Message-----
From: Peter Haag [mailto:[email protected]] 
Sent: Friday, January 27, 2012 4:20 AM
To: Lang, Michael
Cc: [email protected]
Subject: Re: [Nfsen-discuss] Frontend - Backend version mismatch in 1.3.6p1

Hi Mike,
This occurs, the first time, you connect to nfsen with no valid browser session.
In order to permanently fix this you may apply the patch below:

--- html/nfsen.php.orig Tue Jan 24 19:12:33 2012
+++ html/nfsen.php      Fri Jan 27 10:17:16 2012
@@ -42,7 +42,7 @@
 $expected_version = "1.3.6p1";

 // Session check
-if ( !array_key_exists('backend_version', $_SESSION ) || 
$_SESSION['backend_version'] !=  $expected_version ) {
+if ( array_key_exists('backend_version', $_SESSION ) && 
+$_SESSION['backend_version'] !=  $expected_version ) {
        session_destroy();
        session_start();
        $_SESSION['version'] = $expected_version;


        - Peter


On 1/26/12 19:02, Lang, Michael wrote:
> Hello,
> 
>  
> 
> I upgraded to 1.3.6p1 and there is an extra line of code in the new 
> version that now prints the following the first time I connect to the 
> interface:
> 
>  
> 
> Frontend - Backend version missmatch!
> 
>  
> 
> Warning: Cannot modify header information - headers already sent by 
> (output started at /var/www/nfsen/nfsen.php:49) in 
> /var/www/nfsen/nfsen.php on line 78
> 
>  
> 
>  
> 
> I assume this was happening before just not getting a message about 
> it.  I'm not sure what to fix - can someone lead me in the right direction?
> 
>  
> 
> -          Mike
> 
> 
> 
> This body part will be downloaded on demand.
> 
> 
> 
> This body part will be downloaded on demand.

--
--
Be nice to your netflow data

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to