Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Fatal error: Call to undefined function captiveportal_configure()

    Scheduled Pinned Locked Moved Captive Portal
    6 Posts 2 Posters 3.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      AudiAddict
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

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

        1 Reply Last reply Reply Quote 0
        • A
          AudiAddict
          last edited by

          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).

          1 Reply Last reply Reply Quote 0
          • A
            AudiAddict
            last edited by

            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?

            1 Reply Last reply Reply Quote 0
            • C
              cmb
              last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • A
                AudiAddict
                last edited by

                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?

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.