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

    Gateway Settings can't be set in >Build 10.02.2011

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    5 Posts 3 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.
    • G Offline
      gosign
      last edited by

      i simply get a "Fatal error: Cannot unset string offsets in /usr/local/www/system_gateways_edit.php on line 230" if i want to change anything (?) in the System->Routing Page. Not able to change default Gateway (i got a 3 WAN setup here) or monitoring IP.

      i'm using 2.0-RC1 (i386) Mon Feb 14 02:12:45 EST 201 but my last install also had this Problem. (BETA-5 Build 10.02.2011)

      1 Reply Last reply Reply Quote 0
      • S Offline
        SeventhSon
        last edited by

        Not getting the same problem (2.0-RC1 (i386) Mon Feb 14 02:12:45 EST 201), only on single WAN though.

        It could be something weird (strange characters?) in your config/values you are entering?

        1 Reply Last reply Reply Quote 0
        • jimpJ Offline
          jimp Rebel Alliance Developer Netgate
          last edited by

          gosign,

          Were any of your gateways set to default?

          Can you edit /usr/local/www/system_gateways_edit.php and change the code on line 210 to instead read:

          				if (isset($config['gateways']['gateway_item'][$i]['defaultgw']))
          					unset($config['gateways']['gateway_item'][$i]['defaultgw']);
          
          

          Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • jimpJ Offline
            jimp Rebel Alliance Developer Netgate
            last edited by

            Also, if it's been a while since you have made any gateway changes, you may need to edit and save each gateway without changing anything first, to ensure they are all in the proper format.

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • G Offline
              gosign
              last edited by

              @jimp:

              gosign,

              Were any of your gateways set to default?

              Can you edit /usr/local/www/system_gateways_edit.php and change the code on line 210 to instead read:

              				if (isset($config['gateways']['gateway_item'][$i]['defaultgw']))
              					unset($config['gateways']['gateway_item'][$i]['defaultgw']);
              
              

              will do later today, i got my 1.2.3 Install back online at the moment. WAN1 was set as the default GW.

              Also, if it's been a while since you have made any gateway changes, you may need to edit and save each gateway without changing anything first, to ensure they are all in the proper format.

              It was a week old fresh 2.0 install and i never changed anything there. i only created a GW-Failover group to check 2.0 multi-WAN failover but never really used it.

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