Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP fatal errors and warnings in /var/www/html/pandora_console/pandora_console.log
#1
Not sure if you guys actually examine the contents of /var/www/html/pandora_console/pandora_console.log, but there a lot of PHP errors and warnings and logs there.  Here is a sample:

[14-Mar-2019 17:31:52 UTC] PHP Warning:  mysqli_connect(): (HY000/2002): No such file or directory in /var/www/html/pandora_console/include/db/mysql.php on line 46
[14-Mar-2019 17:31:53 UTC] PHP Warning:  require_once(/var/www/html/pandora_console/include//include/functions_ui.php): failed to open stream: No such file or directory in /var/www/html/pandora_console/general/login_page.php on line 22
[14-Mar-2019 17:31:53 UTC] PHP Fatal error:  require_once(): Failed opening required '/var/www/html/pandora_console/include//include/functions_ui.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/pandora_console/general/login_page.php on line 22
[15-Mar-2019 13:24:27 UTC] PHP Warning:  Creating default object from empty value in /var/www/html/pandora_console/godmode/modules/manage_network_components.php on line 635
[15-Mar-2019 11:01:50 UTC] PHP Warning:  Creating default object from empty value in /var/www/html/pandora_console/godmode/agentes/agent_conf_gis.php on line 62
[15-Mar-2019 11:29:27 UTC] PHP Warning:  array_merge(): Argument #1 is not an array in /var/www/html/pandora_console/godmode/menu.php on line 427
[18-Mar-2019 06:57:28 UTC] PHP Warning:  in_array() expects parameter 2 to be array, string given in /var/www/html/pandora_console/include/functions_api.php on line 270
[18-Mar-2019 06:57:28 UTC] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/pandora_console/include/functions_api.php on line 275


Running:
Pandora FMS v7.0NG.732 - Build PC190227 - MR 12

PHP version: 7.2.16-1.el7.remi
 Reply
#2
(03-18-2019, 02:56 PM)xyros Wrote:
Not sure if you guys actually examine the contents of /var/www/html/pandora_console/pandora_console.log, but there a lot of PHP errors and warnings and logs there.  Here is a sample:

[14-Mar-2019 17:31:52 UTC] PHP Warning:  mysqli_connect(): (HY000/2002): No such file or directory in /var/www/html/pandora_console/include/db/mysql.php on line 46
[14-Mar-2019 17:31:53 UTC] PHP Warning:  require_once(/var/www/html/pandora_console/include//include/functions_ui.php): failed to open stream: No such file or directory in /var/www/html/pandora_console/general/login_page.php on line 22
[14-Mar-2019 17:31:53 UTC] PHP Fatal error:  require_once(): Failed opening required '/var/www/html/pandora_console/include//include/functions_ui.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/pandora_console/general/login_page.php on line 22
[15-Mar-2019 13:24:27 UTC] PHP Warning:  Creating default object from empty value in /var/www/html/pandora_console/godmode/modules/manage_network_components.php on line 635
[15-Mar-2019 11:01:50 UTC] PHP Warning:  Creating default object from empty value in /var/www/html/pandora_console/godmode/agentes/agent_conf_gis.php on line 62
[15-Mar-2019 11:29:27 UTC] PHP Warning:  array_merge(): Argument #1 is not an array in /var/www/html/pandora_console/godmode/menu.php on line 427
[18-Mar-2019 06:57:28 UTC] PHP Warning:  in_array() expects parameter 2 to be array, string given in /var/www/html/pandora_console/include/functions_api.php on line 270
[18-Mar-2019 06:57:28 UTC] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/pandora_console/include/functions_api.php on line 275


Running:
Pandora FMS v7.0NG.732 - Build PC190227 - MR 12

PHP version: 7.2.16-1.el7.remi

Greetings, xyros

As I explained in your other post, please try to update your MR to prevent possible failures. 

Let us know when you've done it. 

Best regards, 

Eduardo.
 Reply
#3
I replied in the other post that I had already applied all of those .sql files, in order. The only step I had never done before is the "tconfig" step.

I did not know, till your post, that I had to do the "tconfig" step. I have now done it, but still have the error messages.

Alternately, is there a good way to transfer all my settings to a clean new server?
 Reply
#4
(03-19-2019, 02:15 PM)xyros Wrote: I replied in the other post that I had already applied all of those .sql files, in order.  The only step I had never done before is the "tconfig" step.

I did not know, till your post, that I had to do the "tconfig" step.  I have now done it, but still have the error messages.

Alternately, is there a good way to transfer all my settings to a clean new server?

Good morning, xyros

Can you please send us your config.php file? You can find it in /var/www/html/pandora_console/include

The values contained in that file should match to those related to the database parameters in pandora_server.conf. 

About the transference to another server, please do take a look to this article in the wiki: Migrating to another system

Best regards, 

Eduardo.
 Reply


Users browsing this thread: 1 Guest(s)


(c) 2006-2018 Artica Soluciones Tecnológicas. Contents of this wiki are under Create Common Attribution v3 licence. | pandorafms.com | pandorafms.org

Theme © MyBB Themes