Project

General

Profile

Bug #8681

PHP7 - Error on login when using RADIUS authentication

Added by A FL over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Captive Portal
Target version:
Start date:
07/23/2018
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.4.4
Affected Architecture:
All

Description

Moving to PHP 7 broke RADIUS_AUTHENTICATION() :

Crash report details:

PHP Errors:
[23-Jul-2018 13:30:42 Etc/UTC] PHP Warning:  Use of undefined constant addr - assumed 'addr' (this will throw an Error in a future version of PHP) in /usr/local/captiveportal/radius_authentication.inc on line 146
[23-Jul-2018 13:30:42 Etc/UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /usr/local/captiveportal/radius_authentication.inc:146) in /etc/inc/captiveportal.inc on line 2101

Associated revisions

Revision ec445b1a (diff)
Added by Jim Pingle over 1 year ago

Correct string missing quotes. Fixes #8681

History

#1 Updated by Jim Pingle over 1 year ago

  • Assignee set to Jim Pingle
  • Priority changed from Low to Normal
  • Target version set to 2.4.4

#2 Updated by A FL over 1 year ago

Note that https://github.com/pfsense/pfsense/pull/3640 technically fix this issue, because radius_authentication.inc is deleted in the PR

#3 Updated by Jim Pingle over 1 year ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#4 Updated by A FL over 1 year ago

Patch is working. This can be set to resolved

#5 Updated by Jim Pingle over 1 year ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF