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

    [Resolved] Dashboard and Dyn DNS Status Widget

    Scheduled Pinned Locked Moved 2.3-RC Snapshot Feedback and Issues - ARCHIVED
    5 Posts 5 Posters 1.3k 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.
    • P Offline
      phil.davis
      last edited by

      Recent changes to index.php use a loop var $i. The same $i is used in dyn_dns_status.widget.php as a counter. In the dashboard code both these uses of $i end up in the same name space and it screws up.

      PRs:
      https://github.com/pfsense/pfsense/pull/2265
      https://github.com/pfsense/pfsense/pull/2267

      Do not gitsync to the current master and have dyn_dns_status widget open - you will crash your dashboard and menus.

      As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
      If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

      1 Reply Last reply Reply Quote 0
      • S Offline
        Steve_B Netgate
        last edited by

        This has now been resolved. Thanks Phil.

        Als ik kan

        1 Reply Last reply Reply Quote 0
        • jdillardJ Offline
          jdillard
          last edited by

          My bad Phil I meant to go back and rename the $i variable.

          We should probably make gitsync easily have the ability to sync to a previous commit hash so you can get back to a working system…

          1 Reply Last reply Reply Quote 0
          • N Offline
            NOYB
            last edited by

            @jdillard:

            We should probably make gitsync easily have the ability to sync to a previous commit hash so you can get back to a working system…

            I currently do that with a VM snapshot.

            1 Reply Last reply Reply Quote 0
            • C Offline
              cmb
              last edited by

              You can gitsync to "build_commit", which is the commit ID in /etc/version.lastcommit. You could hack it to have that end result by putting whatever commit ID you want in version.lastcommit then gitsync build_commit.

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