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

    PHP Errors in BIND Package

    Scheduled Pinned Locked Moved pfSense Packages
    6 Posts 2 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.
    • C
      CaptainElmo
      last edited by

      The following error occurs (and is repeated) every time a zone is edited/saved in the BIND package. The package version says 0.4.0.

      Crash report details:
      
      PHP Errors:
      [17-Sep-2015 10:24:51 America/Denver] PHP Parse error:  syntax error, unexpected ')' in /usr/local/www/pkg_edit.php(147) : eval()'d code on line 2
      

      I've tried removing and re-adding the package and that hasn't helped. The error seems to occur on every zone regardless of specific zone config.

      Is there a way to either fix this or roll the package back to a previous version? I don't recall having this problem in the past, but I don't know which versions those were nor do I know how to install a previous version of the package anyway.

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        No, there is no rollback anywhere and never was, and the error is completely useless as well.

        1 Reply Last reply Reply Quote 0
        • C
          CaptainElmo
          last edited by

          Well sorry doktornotor - that's the crash report as it exists. It is repeatable and persistent. What do you suggest?

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            No idea. Make it spit out something useful pointing to actual errors somewhere in some bind package file.. Like, enable debug or god knows…

            1 Reply Last reply Reply Quote 0
            • C
              CaptainElmo
              last edited by

              I'm just a user - not a developer. I'm willing to follow instructions to help get to the bottom of this if you have any to provide. I have no idea how to "make it spit out something useful" or how to enable debug. I also don't know what god knows.

              Keep in mind this is a production installation.

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned
                last edited by

                https://github.com/pfsense/pfsense-packages/pull/1072

                (If all of this got eval()-ed on install and the install aborted due to buggy code, we'd get a useful error and quick fix. Not a stupid bug hidden in the code for months… )

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