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

Unknown parameter in Captive Portal

Scheduled Pinned Locked Moved 2.3.1 Snapshots Testing and Feedback - ARCHIVED
8 Posts 6 Posters 7.4k 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.
  • B
    brianc69
    last edited by Apr 25, 2016, 8:55 PM Apr 19, 2016, 11:29 PM

    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
    • G
      Gertjan
      last edited by Apr 25, 2016, 2:34 PM

      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 Apr 25, 2016, 2:58 PM

        you might be missing this in your portal page

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by Apr 26, 2016, 7:00 AM

          @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 Apr 26, 2016, 7:03 AM

            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 Apr 26, 2016, 2:28 PM

              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 Apr 26, 2016, 7:36 PM

                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
                • R
                  rbgarga Developer Netgate Administrator
                  last edited by May 12, 2016, 10:50 AM

                  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.
                    [[user:consent.lead]]
                    [[user:consent.not_received]]