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

    Parse error: syntax error, unexpected '.', expecting ';' or ',' in /etc/inc/alias-utils.inc on line 150

    Scheduled Pinned Locked Moved 2.5 Development Snapshots (Retired)
    6 Posts 4 Posters 650 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.
    • I
      Impatient
      last edited by Impatient

      New snap shot 2.5.0.a.20200908.1250 has that error when you click on alias in the web GUI.

      This is the Crash Report

      Crash report begins. Anonymous machine information:

      amd64
      12.2-PRERELEASE
      FreeBSD 12.2-PRERELEASE e8a228fe328(devel-12) pfSense

      Crash report details:

      PHP Errors:
      [08-Sep-2020 18:52:40 America/Chicago] PHP Parse error: syntax error, unexpected '.', expecting ';' or ',' in /etc/inc/alias-utils.inc on line 150

      No FreeBSD crash data found.

      J 1 Reply Last reply Reply Quote 0
      • J
        JohnKap @Impatient
        last edited by

        @Impatient edit the file /etc/inc/alias-utils.inc, row 150.

        replace the . with a , and issue resolved.

        1 Reply Last reply Reply Quote 1
        • kiokomanK
          kiokoman LAYER 8
          last edited by

          function saveAlias($post, $id) {
          global $config, $pf_reserved_keywords, $reserved_table_names. $pconfig;

          function saveAlias($post, $id) {
          global $config, $pf_reserved_keywords, $reserved_table_names, $pconfig;

          ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
          Please do not use chat/PM to ask for help
          we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
          Don't forget to Upvote with the 👍 button for any post you find to be helpful.

          1 Reply Last reply Reply Quote 1
          • w0wW
            w0w
            last edited by

            Interesting, in general, do someone checks updates, commits before merging? How do elementary syntax errors go to the final assembly?
            I am sorry, but even any online and pfSense built in php checker detects this error without any problem.

            1 Reply Last reply Reply Quote 0
            • kiokomanK
              kiokoman LAYER 8
              last edited by

              they do it on purpose to see if you're paying attention 😂

              ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
              Please do not use chat/PM to ask for help
              we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
              Don't forget to Upvote with the 👍 button for any post you find to be helpful.

              w0wW 1 Reply Last reply Reply Quote 1
              • w0wW
                w0w @kiokoman
                last edited by

                @kiokoman 👍 😁

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