Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

  • error 500 after login

    Posted by Paul on diciembre 15, 2023 at 01:52

    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: <b style=”font-family: inherit; font-size: inherit; color: var(–bb-body-text-color);”>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 <b style=”font-family: inherit; font-size: inherit; color: var(–bb-body-text-color);”>/var/www/html/pandora_console/include/functions_config.php on line <b style=”font-family: inherit; font-size: inherit; color: var(–bb-body-text-color);”>4101

    Any HELP?

    Thank you.

    Sergio replied 11 months, 1 week ago 3 Members · 4 Replies
  • 4 Replies
  • vic

    Administrator
    diciembre 15, 2023 at 13:43
    1533 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    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.

    • Paul

      Member
      diciembre 15, 2023 at 13:56
      32 Karma points
      Community rank: tentacle-noob-1 Tentacle noob
      Like it
      Up
      0
      Down
      Drop it
      ::

      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

    • Paul

      Member
      diciembre 15, 2023 at 14:00
      32 Karma points
      Community rank: tentacle-noob-1 Tentacle noob
      Like it
      Up
      0
      Down
      Drop it
      ::

      I am having trouble locating the console log…

      can you help me out with a path ?

  • Sergio

    Member
    diciembre 15, 2023 at 16:55
    55 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello.

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

    Best regards.