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

    Unfortunately a Programming Bug has been detected

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 3 Posters 434 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.
    • S
      sada23qwe
      last edited by

      Hi guys im having problems installing ntopng package and cant find any solutions online so im posting this here

      PHP Fatal error: Call to undefined function init_config_arr() in /usr/local/pkg/ntopng.inc on line 81
      PHP Fatal error: Call to undefined function init_config_arr() in /usr/local/pkg/ntopng.inc on line 81

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        Hi,

        What about posting [there](link url) ? ;)

        But, on the other hand, something is wrong somewhere.
        The file "/usr/local/pkg/ntopng.inc" is using the fucntion init_config_arr() on line 81.
        PHP can't find it. That's bad.

        But your problem is a little bit special.
        When this /usr/local/pkg/ntopng.inc file is loaded and executed, the first thing it does is :
        require_once("config.inc");

        config.inc will include config.lib.inc require_once('config.lib.inc');

        And now, have a look at the bottom of the file config.lib.inc : the function init_config_arr() is defined and exists !! This function is part of pfSense, and heavly used by pfSense itself.

        So, what up ?
        I advise you to remove the package, and install it again.
        I just installed the ntopng package (latest version) on my pfSense (latest version). Didn't encounter any problems.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          Remove the package. Upgrade to pfSense 2.4.4-p2. Reinstall the package.

          If you don't have that function, you are not on a current version of pfSense.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

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