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

    2.6.0 20210715 devel-12-n226655-5bff64636ea certs.inc bug

    Scheduled Pinned Locked Moved CE 2.6.0 Development Snapshots (Retired)
    4 Posts 4 Posters 1.1k 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.
    • J
      junnu
      last edited by

      If you upgrade 2.6.0-dev to 20210715-version, it does not work, just boots, but gives error from /etc/inc/certs.inc at row 1451

      Looks like latest editor does not have syntax checker on his editor, there is missing one ending )

      buuttivika_syntax_error_1.jpg

      After adding one ) on if statement, it works ok.

      L Sergei_ShablovskyS 2 Replies Last reply Reply Quote 0
      • L
        LostInIgnorance @junnu
        last edited by LostInIgnorance

        @junnu Where are you adding the extra )?

        I have added the extra ) to the end of the line and it is working as well for me.

        (count($package['certificatelist'][$crlref]) > 0) )

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Yes, this is fixed:
          https://github.com/pfsense/pfsense/commit/cfec2190ac4570f3e6332a8b85049a637be0c65e

          Steve

          1 Reply Last reply Reply Quote 0
          • Sergei_ShablovskyS
            Sergei_Shablovsky @junnu
            last edited by

            @junnu said in 2.6.0 20210715 devel-12-n226655-5bff64636ea certs.inc bug:

            If you upgrade 2.6.0-dev to 20210715-version, it does not work, just boots, but gives error from /etc/inc/certs.inc at row 1451

            Looks like latest editor does not have syntax checker on his editor, there is missing one ending )

            buuttivika_syntax_error_1.jpg

            After adding one ) on if statement, it works ok.

            How this able to happened ???? In 2021 dozens of IDE and standalone code editors with syntax checking and even suggestions to resolving....

            —
            CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
            Help Ukraine to resist, save civilians people’s lives !
            (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

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