One small issue after upgrade 2.03 => 2.1
-
I upgraded from 2.03 to 2.1
Everything is fine and everything seems to work fine
I maybe found one issue do.When I click Menu =>"Diagnostics"=> "Authentication"
I get the following resultFatal error: Cannot redeclare getNasIP() (previously declared in /usr/local/captiveportal/radius_authentication.inc:53) in /etc/inc/captiveportal.inc on line 1576
I have no captive portal configured, and also no Radius package installed or configured.
Any clues ?
Thanks in advance
-
Same error reported here: http://forum.pfsense.org/index.php/topic,66764.0.html
and possible code fix here: https://github.com/pfsense/pfsense/pull/804 -
Thanks for the relply
How can I fix it manualy myself, or is this going to be fixed in a next release ? -
It is such a small fix that it can be done by hand reasonably.
Look at this code: https://github.com/pfsense/pfsense/pull/804/files
Diagnostics->Edit File
/etc/inc/captiveportal.inc
ctrl-A ctrl-C then paste the code into your favourite text editor (so you have an easy copy of the original)
Add the 2 lines as shown, and save.
Only do this if you are happy understanding a bit of PHP syntax and can thus put the lines in the correct place and be confident the syntax is correct. -
Thanks alot, this fixed the issue
For anyone else trying to manualy fix this issue and your favourite text editor is Notepad, make sure it is not using "Word Wrap" otherwise you wil have issues when copying the code back into Pfsense :)