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

    Unknown parameter in Captive Portal

    2.3.1 Snapshots Testing and Feedback - ARCHIVED
    6
    8
    7.4k
    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.
    • B
      brianc69
      last edited by

      This error was first noticed in 2.3. What is the proper fix for this? I'm on 2.3.1

      
      Apr 19 17:50:18	php-fpm	49110	/index.php: Submission to captiveportal with unknown parameter zone: WiFi
      Apr 19 17:50:12	logportalauth	49110	
      
      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        I can only think of 2 possibilities :

        1. Is this "Wifi" parameter hard coded into your "login html page" ?
        2. Users (visitors) can make their own URL like  http://your-portal.tld//index.php&cpzone=Hello&tes=again&another=whatisthis

        In your case, the parameter "cpzone" is to to "Wifi" (The navigator of the visitor is using an URL with ….&cpzone=Wifi.......
        and
        The captive portal zone named "Wifi" does not exists in pfSense - Captive Portal's settings.

        Thus, it is flagged as an error - and not a 'pfSense (any version)' bug or issue.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • H
          heper
          last edited by

          you might be missing this in your portal page

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

            @heper:

            you might be missing this in your portal page

            I believe this is the case. It's not strictly required normally, but I think there is an issue with mixed case zone names and the automatic redirect for the lacking PORTAL_ZONE.

            1 Reply Last reply Reply Quote 0
            • H
              heper
              last edited by

              Yea there is an 'issue' with it on 2.3. Ive had to add that line to one of my CPs
              Ive come across some posts that marked that as a possible fix.

              1 Reply Last reply Reply Quote 0
              • B
                brianc69
                last edited by

                I just recompiled the form as listed in the captive portal configuration screen. I don't know if that fixed it yet. Will keep an eye on it.

                1 Reply Last reply Reply Quote 0
                • T
                  tguldener
                  last edited by

                  Looks like a Bug. The zone needs to be all lower case.

                  Insert in your cutom login site:

                  and not:

                  g.
                  thomas

                  @brianc69:

                  This error was first noticed in 2.3. What is the proper fix for this? I'm on 2.3.1

                  
                  Apr 19 17:50:18	php-fpm	49110	/index.php: Submission to captiveportal with unknown parameter zone: WiFi
                  Apr 19 17:50:12	logportalauth	49110	
                  
                  1 Reply Last reply Reply Quote 0
                  • rbgargaR
                    rbgarga Developer Netgate Administrator
                    last edited by

                    I've pushed a fix

                    Renato Botelho

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