Project

General

Profile

Bug #11197

Clicking firewall states leads to php error

Added by Florin Samareanu 3 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Start date:
12/30/2020
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.5.0
Affected Architecture:
amd64
Release Notes:
Default

Description

Latest 2.5, clicking the state count in firewall-interface leads to an error similar to this:

Crash report begins. Anonymous machine information:

amd64
12.2-STABLE
FreeBSD 12.2-STABLE ecba14136e2(devel-12) pfSense

Crash report details:

PHP Errors:
[30-Dec-2020 20:56:51 Etc/UTC] PHP Warning: require_once(diag_dump_states.inc): failed to open stream: No such file or directory in /usr/local/www/diag_dump_states.php on line 34
[30-Dec-2020 20:56:51 Etc/UTC] PHP Fatal error: require_once(): Failed opening required 'diag_dump_states.inc' (include_path='.:/etc/inc:/etc/inc/web:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg:/usr/local/www/classes:/usr/local/www/classes/Form:/usr/local/share/pear:/usr/local/share/openssl_x509_crl/') in /usr/local/www/diag_dump_states.php on line 34

No FreeBSD crash data found.

Instance upgraded from 27th release to 30th.

Associated revisions

Revision 28a7c948 (diff)
Added by Jim Pingle 3 months ago

Fix diag_dump_states.inc filename. Fixes #11197

History

#1 Updated by Florin Samareanu 3 months ago

To note that title was supposed to say “php”.

#2 Updated by Chris Linstruth 3 months ago

  • Subject changed from Clicking firewall states leads to pho error to Clicking firewall states leads to php error

#3 Updated by Jim Pingle 3 months ago

  • Assignee set to Jim Pingle

Looks like the file was incorrectly named. I pushed a fix.

#4 Updated by Florin Samareanu 3 months ago

Is there still time to get this in the next build?

#5 Updated by Jim Pingle 3 months ago

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

#6 Updated by Florin Samareanu 3 months ago

Applied with system patches, issue is resolved. Thank you.

#7 Updated by Michael Spears 3 months ago

Florin Samareanu wrote:

Applied with system patches, issue is resolved. Thank you.

Jim Pingle wrote:

Applied in changeset 28a7c94882de2a14275bcaf99da0872002eac420.

Tested on my 2 units running the latest build, working properly as of 12/31.

#8 Updated by Jim Pingle 3 months ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF