Unfortunately a Programming Bug has been detected
-
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 -
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. -
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.