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

    Multiple Captive Portals after upgrade

    Scheduled Pinned Locked Moved Captive Portal
    4 Posts 2 Posters 1.8k 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.
    • N
      nihplod
      last edited by

      Hi, i upgrade from 2.0 to 2.1 and suddenly i had multiple captive portals for some reason. I can't get rid of them.

      When i click Captive portal in Services it is empty.
      But when i check services i have multiple ones.

      If i click the options for the fake captive portals i get "Fatal error: Cannot use string offset as an array in /usr/local/www/services_captiveportal.php on line 139"

      Any way to solve this without reinstalling the firewall?
      pfsense.png
      pfsense.png_thumb

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

        Hi !

        What about : Diagnostics => Backup/Restore
        Select for "backup Area" "Captive portal"

        Hit Download configuration

        Edit the file - remove everything between <captiveportal>and</captiveportal>
        Save file.
        Import file.

        This will reset all your captiveportal settings.

        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
        • N
          nihplod
          last edited by

          Hi

          When i do that i get

          The following input errors were detected:
          
          You have selected to restore an area but we could not locate the correct xml tag.
          

          The file just contains
          <captiveportal></captiveportal> and nothing more

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

            Humm.
            Right.

            I looked it up in the manual (the PHP source ).

            @Gertjan:

            Edit the file - remove everything between <captiveportal>and</captiveportal>

            didn't work for me neither. Had the same message as you.

            This time I tried it out myself before replying …:
            This works: all was reset when importing this:

             <captiveportal></captiveportal> 
            

            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
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.