Multiple Captive Portals after upgrade



  • 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?



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



  • 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



  • 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> 
    

Log in to reply