PHP Errors in BIND Package

  • 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.

  • Banned

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

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

  • Banned

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

  • 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.

  • Banned

    (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… )

Log in to reply