PHP error on 2.3.2 update
-
Getting this crash report after last update.
FreeBSD 10.3-RELEASE-p5 #127 0523c9e(RELENG_2_3): Sat Jun 25 05:34:41 CDT 2016 root@ce23-amd64-builder:/builder/pfsense/tmp/obj/builder/pfsense/tmp/FreeBSD-src/sys/pfSense
Crash report details:
PHP Errors:
[25-Jun-2016 20:32:42 MST] PHP Fatal error: Cannot redeclare interfaces_bring_up() (previously declared in /etc/inc/interfaces.inc:63) in /etc/inc/interfaces.inc on line 63
[25-Jun-2016 20:32:42 MST] PHP Stack trace:
[25-Jun-2016 20:32:42 MST] PHP 1. {main}() /usr/local/bin/dhcpd_gather_stats.php:0
[25-Jun-2016 20:33:44 MST] PHP Fatal error: Cannot redeclare interfaces_bring_up() (previously declared in /etc/inc/interfaces.inc:63) in /etc/inc/interfaces.inc on line 63 -
PR submitted:
https://github.com/pfsense/pfsense/pull/3021Edit: /usr/local/bin/dhcpd_gather_stats.php
Find:```
require("interfaces.inc");Replace with:``` require_once("interfaces.inc");And error will not happen again.
-
Issue is still there in 2.3.3 and 2.3.3_p1
-
Issue is still there in 2.3.3 and 2.3.3_p1
Not really, don't necropost.
https://github.com/pfsense/pfsense/blob/RELENG_2_3/src/usr/local/bin/dhcpd_gather_stats.php
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy