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

    Captive Portal Error

    Scheduled Pinned Locked Moved Captive Portal
    11 Posts 4 Posters 1.9k 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
      alirazafaisal
      last edited by

      Hi All,

      I am facing the below error on my PFsense 2.2.1-RELEASE (i386). Can anyone help me to resolve this error at earliest.

      PHP Parse error:  syntax error, unexpected '4' (T_LNUMBER) in /var/etc/captiveportal-allow-error.html on line 397

      Many Thanks,
      Ali

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        That's an error in your uploaded page code.  No way for anyone here to know what you've done wrong.

        And don't crosspost.

        https://forum.pfsense.org/index.php?topic=93340.0

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

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

          Dear Experts, I am still unable to find the result how to get out of this error. Can anyone help me please?

          I need urgent response please help.

          thanks.

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            URGENT RESPONSE: Your custom code that you have written is broken. Fix it or reset the page to default.

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

              Can you please let me know how to fix it or reset it to default?

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned
                last edited by

                How on earth can anyone tell you how to fix code you never bothered to post?  :o

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

                  Will you please share the full page or details how/where to access this

                  1 Reply Last reply Reply Quote 0
                  • D
                    doktornotor Banned
                    last edited by

                    Exactly the SAME place where you uploaded your broken code.

                    1 Reply Last reply Reply Quote 0
                    • GertjanG
                      Gertjan
                      last edited by

                      Was the "restore default xx page" already present back in the "2.2.1" days ?

                      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
                      • D
                        doktornotor Banned
                        last edited by

                        @Gertjan:

                        Was the "restore default xx page" already present back in the "2.2.1" days ?

                        Been there ever since 2.2. https://doc.pfsense.org/index.php/2.2_New_Features_and_Changes#Captive_Portal

                        1 Reply Last reply Reply Quote 0
                        • DerelictD
                          Derelict LAYER 8 Netgate
                          last edited by

                          You used to have to upload a null file to clear it.

                          cp /dev/null portal_reset.html

                          Then upload that.

                          Chattanooga, Tennessee, USA
                          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                          Do Not Chat For Help! NO_WAN_EGRESS(TM)

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