captive portal fatal error
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.");
I tried disabling the HTTP_REFERER under advanced options, as well as the http redirect.
Still getting the error.
#3 Updated by Erik Fonnesbeck over 8 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.