• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 649 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 Sep 9, 2020, 12:03 AM Sep 8, 2020, 11:56 PM

    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 Sep 9, 2020, 8:00 AM Reply Quote 0
    • J
      JohnKap @Impatient
      last edited by Sep 9, 2020, 8:00 AM

      @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
      • K
        kiokoman LAYER 8
        last edited by Sep 9, 2020, 8:56 AM

        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
        • W
          w0w
          last edited by Sep 10, 2020, 8:00 AM

          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
          • K
            kiokoman LAYER 8
            last edited by Sep 10, 2020, 8:41 AM

            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.

            W 1 Reply Last reply Sep 10, 2020, 9:03 AM Reply Quote 1
            • W
              w0w @kiokoman
              last edited by Sep 10, 2020, 9:03 AM

              @kiokoman 👍 😁

              1 Reply Last reply Reply Quote 0
              1 out of 6
              • First post
                1/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received