Gateway Settings can't be set in >Build 10.02.2011



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



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


  • Rebel Alliance Developer Netgate

    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']);
    
    

  • Rebel Alliance Developer Netgate

    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.



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


Log in to reply