Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Error Token au lancement de la version 1.3 #1017

Open
RomainLegrand12 opened this issue May 12, 2022 · 0 comments
Open

Error Token au lancement de la version 1.3 #1017

RomainLegrand12 opened this issue May 12, 2022 · 0 comments

Comments

@RomainLegrand12
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant