Bug #6089
closed
PHP warning when saving client-specific override with no server selected.
Added by Phillip Davis over 8 years ago.
Updated over 8 years ago.
Description
Add an OpenVPN Client Specific Override, and do not select any server (so it should apply to all servers).
A crash report is generated like:
PHP Errors:
PHP Stack trace:
PHP 1. {main}() /usr/local/www/vpn_openvpn_csc.php:0
PHP 2. implode() /usr/local/www/vpn_openvpn_csc.php:243
Interestingly, the Client Specific Override is saved, so the problem with implode() at line 243 is not stopping further PHP execution.
Reported in forum https://forum.pfsense.org/index.php?topic=109431.msg0
- Status changed from New to Feedback
It works for me, but some independent person should test it and then mark this resolved.
But when I deleted the override I got this-
Crash report details:
PHP Errors:
[07-Apr-2016 19:59:19 America/Vancouver] PHP Stack trace:
[07-Apr-2016 19:59:19 America/Vancouver] PHP 1. {main}() /usr/local/www/vpn_openvpn_csc.php:0
[07-Apr-2016 19:59:19 America/Vancouver] PHP 2. implode() /usr/local/www/vpn_openvpn_csc.php:243
Filename: /var/crash/minfree
I tried to reproduce that, but no success.
Are you sure that you have the new code on your system? Because the implode() code is no longer at line 243.
Ah- Hadn't synced that particular box... Your right.
Ill gitsync and go again.
Synced and no errors this time.
- Status changed from Feedback to Resolved
Also could replicate before and not after. Fixed, thanks!
Also available in: Atom
PDF