Project

General

Profile

Actions

Bug #8681

closed

PHP7 - Error on login when using RADIUS authentication

Added by A FL over 6 years ago. Updated over 6 years ago.

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

100%

Estimated time:
Plus Target Version:
Release Notes:
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
Actions

Also available in: Atom PDF