Project

General

Profile

Actions

Bug #1007

closed

captive portal fatal error

Added by Dan Emmons over 13 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Captive Portal
Target version:
Start date:
11/12/2010
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:

Description

running build pfSense-2.0-BETA4-20101111-2203 x86

Configured pfsense for Captive Portal with DNS forward and no user Auth.

Basic routing and dns settings, no other changes.

Once I click through the Captive Portal splash page, I get:

"Fatal error: Call to undefined function display_error_form() in /etc/inc/auth.inc on line 109"

Looking at /etc/inc/auth.inc, lines 109-112 are:

display_error_form("501", "An HTTP_REFERER was detected
other than what is defined in System -> Advanced (" . $_SERVER['HTTP_REFERER'] .
"). You can disable this check if needed in System -> Advanced -> Admin.");
exit;

I tried disabling the HTTP_REFERER under advanced options, as well as the http redirect.

Still getting the error.

Actions #1

Updated by Dan Emmons over 13 years ago

I'm not trying to open a page with any form of redirect, just google.com or a blank "test" page on a remote httpd.

Actions #2

Updated by Chris Buechler over 13 years ago

  • Category set to Captive Portal
  • Target version set to 2.0
  • Affected Version set to 2.0
Actions #3

Updated by Erik Fonnesbeck over 13 years ago

  • Status changed from New to Feedback

I've committed a check like what is done before the DNS rebind checks. With the change it should prevent the code giving the error from running. The captive portal probably shouldn't have a referrer check anyway, because you can get there from anything.

Actions #4

Updated by Jon Bruce over 13 years ago

Not seen in Mon Nov 15 17:03:26 EST 2010 firmware version. Same basic setup running, no errors.

Actions #5

Updated by Ermal Luçi over 13 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF