Fatal error: Call to undefined function captiveportal_configure()



  • I am seeing this error when clicking save on my captive portal page after changing some wifi settings on my interface.

    Fatal error: Call to undefined function captiveportal_configure() in /usr/local/www/services_captiveportal.php on line 232

    Any idea's where this is coming from and how to fix it? Using the latest stable. I tried disabling catptive portal, resetting the interface selection, all no go.
    Also my captive portal is now currently not working (even after a reboot)

    edit: when changing interface setting (wlan) and clicking save I get this error :

    Fatal error: Call to undefined function captiveportal_init_rules() in /etc/inc/interfaces.inc on line 2784



  • You're missing or have somehow broken /etc/inc/captiveportal.inc which is where those functions are.



  • I had to do a complete reinstall to fix it :(.

    Everything is working now, not sure how I broke it (I didn't do anything in the shell, just install packages and change settings in the webinterface).



  • Same problem again :( The WIFI interface was gone, not sure why, rebooted and it was available then.

    Since then I'm seeing the errors in the topicstart again and I'm unable to start the captive portal.

    Any clue on how to reset/reinstall captive portal?



  • you messing around with some crazy package that's doing weird stuff or something? Outside of this thread I've never seen nor heard of that happening to anyone. You can just apply the update for the version you're running to replace that.



  • Not at all, I think it has something to do with the buggy wireless interface (run0).

    Like i said it was "gone", had to reboot to get it to work again and then captive portal was broken (it showed errors that interface was missing etc) and now I'm unable to start it.

    It seems one-time interface errors causes it to break completely. How would I go about and fix this? The last time I had to do a complete reinstall :(

    The packages I'm running are : squid3, vnstat , lightsquid, nmap and mailreport. So nothing out of the ordinary.

    @cmb:

    You can just apply the update for the version you're running to replace that.

    What do you mean by applying a update? for the file?


Log in to reply