Navigation

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

    PHP syntax error when editing VPN Tunnel

    2.0-RC Snapshot Feedback and Problems - RETIRED
    3
    3
    1573
    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.
    • H
      hshardy3 last edited by

      VPN:IPsec/Tunnels - When clicking on a currently disabled vpn tunnel's edit button. Beta4, 12/12/10, i386

      Parse error: syntax error, unexpected '=' in /usr/local/www/vpn_ipsec_phase1.php on line 515

      1 Reply Last reply Reply Quote 0
      • P
        pungsnurr last edited by

        Yeah, I got that too.. in 2.0-BETA4  (i386) built on Sat Dec 11 18:55:28 EST 2010.

        I commented that whole line, and the foreach-line before that. Seems to work anyway (since I was able to set up a tunnel after this was done) until this get properly fixed :)

        Edit:

        Those lines I commented looks something like:

        foreach ($aliaslist as $aliasip => $aliasif)
        $interfaces[$aliasip] = $aliasip." (".get_vip_descr($aliasip).")" = $aliasip." (".get_vip_descr($aliasip).")" = $aliasip." (".get_vip_descr($aliasip).")";
        
        1 Reply Last reply Reply Quote 0
        • P
          ppomes last edited by

          Hi,

          Yes, sorry about this :-(

          I already fixed it, so it should be available on next snapshots.

          Sorry again,
          Pierre

          1 Reply Last reply Reply Quote 0
          • First post
            Last post