Pandora FMS Community

error 500 after login

Paul · 15 dic 2023, 1:52 · 5 mensajes · 149 visitas

  1. Inicio del debate

    Hello,

    I get an error 500 after I log in.

    I am running a VM and it was offline for about 1 month. Still testing the product.

    Output: Fatal error: Uncaught ValueError: setcookie(): "expires" option cannot have a year greater than 9999 in /var/www/html/pandora_console/include/functions_config.php:4101 Stack trace: #0 /var/www/html/pandora_console/include/functions_config.php(4101): setcookie() #1 /var/www/html/pandora_console/include/config_process.php(185): config_prepare_session() #2 /var/www/html/pandora_console/include/config.php(11): include('...') #3 /var/www/html/pandora_console/include/global_config.php(7): require_once('...') #4 /var/www/html/pandora_console/vendor/composer/autoload_real.php(41): require('...') #5 /var/www/html/pandora_console/vendor/composer/autoload_real.php(45): {closure}() #6 /var/www/html/pandora_console/vendor/autoload.php(25): ComposerAutoloaderInit94a17e624d873685991e8ae888e00eb9::getLoader() #7 /var/www/html/pandora_console/index.php(135): require('...') #8 {main} thrown in /var/www/html/pandora_console/include/functions_config.php on line 4101

    Any HELP?

    Thank you.

  2. Hi Paul,

    You don't see any errors in the logs, could you send us the console log and the apache server logs to see if we can see the cause?

    Did you update the environment or make any changes to the machine?

    Best regards,
    Víc.

  3. hi Vic,

    the only error in the apache log is:

    Fatal error: Uncaught ValueError: setcookie(): "expires" option cannot have a year greater than 9999 in /var/www/html/pandora_console/include/functions_config.php:4101 Stack trace: #0 /var/www/html/pandora_console/include/functions_config.php(4101): setcookie() #1 /var/www/html/pandora_console/include/config_process.php(185): config_prepare_session() #2 /var/www/html/pandora_console/include/config.php(11): include('...') #3 /var/www/html/pandora_console/include/global_config.php(7): require_once('...') #4 /var/www/html/pandora_console/vendor/composer/autoload_real.php(41): require('...') #5 /var/www/html/pandora_console/vendor/composer/autoload_real.php(45): {closure}() #6 /var/www/html/pandora_console/vendor/autoload.php(25): ComposerAutoloaderInit94a17e624d873685991e8ae888e00eb9::getLoader() #7 /var/www/html/pandora_console/index.php(135): require('...') #8 {main} thrown in /var/www/html/pandora_console/include/functions_config.php on line 4101

  4. I am having trouble locating the console log...

    can you help me out with a path ?

  5. Hello.

    You can find it in /var/www/html/pandora_console/log/console.log

    Best regards.

Entra en tu cuenta para publicar.