Project

General

Profile

Bug #6758

2 x Crash with "PHP Fatal error: Call to undefined function pfSense_interface_listget() in /etc/inc/interfaces.inc on line 80"

Added by Dan Lundqvist almost 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Interfaces
Target version:
-
Start date:
09/02/2016
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.3.2
Affected Architecture:
i386

Description

I have a second installation running on i386 10.3-RELEASE-p5 FreeBSD 10.3-RELEASE-p5 v2.3.2 on AMD Athlon(tm) 64 X2 Dual Core Processor 5600+
recently upgraded from 2.2.6 to 2.3.2 that has experience crashes with the following:

PHP Errors:
[01-Sep-2016 22:19:50 Europe/Stockholm] PHP Fatal error: Call to undefined function pfSense_interface_listget() in /etc/inc/interfaces.inc on line 80

The 2 crashdumps has been sent for analysis from within pfSense.

Best regards
Dan Lundqvvist
Stockholm, Sweden

Associated revisions

Revision aa9cf3fa (diff)
Added by Renato Botelho almost 4 years ago

Fix #6758

extensions.ini must be readable by any users otherwise any php script
called by a non-root user will not be able to use PHP extensions

This is a direct fix for RELENG_2_3_2 since extensions.ini is not being
used anymore on RELENG_2_3 or master

History

#1 Updated by Ph. T almost 4 years ago

I have seen the same error. I think in my case it was related to remove DHCP IPv6 from WAN interface.

#2 Updated by Jim Pingle almost 4 years ago

That function is a part of the pfSense PHP module, so if it's missing, then either the PHP module package is missing, its entry is missing from extensions.ini, or something is wrong with the files themselves. Ideally, since this would take quite a bit of discussion and diagnosis, the forum would be a better place to have a conversation narrowing it down to the specific cause, rather than the symptom.

#3 Updated by → luckman212 almost 4 years ago

I started having this crash frequently as well. I'm running 2.3.2_p1. I do have DHCPv6 on one of my WANs (but I need to/want to have this). I've sent in 3-4 crash reports - hopefully they have arrived.

#5 Updated by Renato Botelho almost 4 years ago

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

#6 Updated by Jim Thompson almost 4 years ago

  • Assignee set to Dan Lundqvist

#7 Updated by Jim Pingle about 3 years ago

  • Status changed from Feedback to Resolved

The PHP extensions setup has been completely changed since this report, it's not valid any longer.

Also available in: Atom PDF