libertempo / web

Application web de gestion des congés en ligne
GNU General Public License v2.0
68 stars 63 forks source link

Error Token au lancement de la version 1.3 #1017

Open RomainLegrand12 opened 2 years ago

RomainLegrand12 commented 2 years ago

Bonjour,

Après installation de la version 1.3 je tombe sur l'erreur ci-dessous et j'ai une page blanche.

Si je supprime la partie qui vérifie les tokens dans define.php, j'arrive à me connecter à libertempo mais impossible d'utiliser l'authentification CAS.

Avez-vous une idée de ce qu'il peut se passer ?

[Thu May 12 10:31:26.848889 2022] [php7:warn] [pid 75943] [client 10.20.104.130:56048] PHP Warning: Use of undefined constant LOGGER_TOKEN - assumed 'LOGGER_TOKEN' (this will throw an Error in a future version of PHP) in /var/www/conges13/includes/define.php on line 59 [Thu May 12 10:31:26.852216 2022] [php7:warn] [pid 75943] [client 10.20.104.130:56048] PHP Warning: Use of undefined constant LOGGER_TOKEN - assumed 'LOGGER_TOKEN' (this will throw an Error in a future version of PHP) in /var/www/conges13/includes/define.php on line 69 [Thu May 12 10:31:26.852851 2022] [php7:error] [pid 75943] [client 10.20.104.130:56048] PHP Fatal error: Uncaught InvalidArgumentException: $config['access_token'] must be 32 characters long, was 'LOGGER_TOKEN' in /var/www/conges13/vendor/rollbar/rollbar/src/Utilities.php:34\nStack trace:\n#0 /var/www/conges13/vendor/rollbar/rollbar/src/Config.php(254): Rollbar\Utilities::validateString()\n#1 /var/www/conges13/vendor/rollbar/rollbar/src/Config.php(209): Rollbar\Config->setAccessToken()\n#2 /var/www/conges13/vendor/rollbar/rollbar/src/Config.php(156): Rollbar\Config->updateConfig()\n#3 /var/www/conges13/vendor/rollbar/rollbar/src/RollbarLogger.php(21): Rollbar\Config->construct()\n#4 /var/www/conges13/vendor/rollbar/rollbar/src/Rollbar.php(54): Rollbar\RollbarLogger->construct()\n#5 /var/www/conges13/vendor/rollbar/rollbar/src/Rollbar.php(26): Rollbar\Rollbar::setLogger()\n#6 /var/www/conges13/includes/define.php(69): Rollbar\Rollbar::init()\n#7 /var/www/conges13/index.php(4): require_once('/var/www/conges...')\n#8 {main}\n thrown in /var/www/conges13/vendor/rollbar/rollbar/src/Utilities.php on line 34

Merci à vous, Romain Legrand