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

PHP syntax error when editing VPN Tunnel

Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
3 Posts 3 Posters 1.7k 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.
  • H
    hshardy3
    last edited by Dec 12, 2010, 5:10 PM

    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 Dec 12, 2010, 8:02 PM Dec 12, 2010, 7:59 PM

      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 Dec 12, 2010, 9:32 PM

        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
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received