Bug #1007
closedcaptive portal fatal error
0%
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.
Updated by Dan Emmons about 14 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.
Updated by Chris Buechler about 14 years ago
- Category set to Captive Portal
- Target version set to 2.0
- Affected Version set to 2.0
Updated by Erik Fonnesbeck about 14 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.
Updated by Jon Bruce about 14 years ago
Not seen in Mon Nov 15 17:03:26 EST 2010 firmware version. Same basic setup running, no errors.
Updated by Ermal Luçi about 14 years ago
- Status changed from Feedback to Resolved