[libertempo] Impossible de se connecter après installation

[ Thread Index | Date Index | More lists.tuxfamily.org/libertempo Archives ]


Bonjour,

Je galère pour installer la version 1.12 de Libertempo.

J'ai installé php71 des softwares collections de CentOs 7 avec utilisation du module php-fpm (par défaut c'est la version 5.4 qui est fourni avec la version 7 de CentOS). Je suis débutant avec ce système car je travaille principalement avec Windows.

Après des péripéties, j'arrive à avoir la grille de saisie de login.
J'essaie avec les identifiants admin/responsable comme précisé sur votre site mais cela ne fonctionne pas. Après moult essaies et réinstall, cela ne marche toujours pas, je fouille et vois que le compte "admin" est supprimé par le script App/Patchs/Maj/1.12.0.sql...

Avec le compte admin hr "adminhr" créé lors de la création de la base, j'ai toujours le message : "ERREUR : Nom d'utilisateur et/ou mot de passe incorrect !!!" et redemande la resaisie du couple login/mot de passe.

Après débogage, je vois que ces identifiants sont bien reconnus avec la fonction "authentification_passwd_conges" du fichier index.php et cela coince avec "storeTokenApi".

Voici quelques points d'étapes :

index/php : authentification_passwd_conges (après) : $session_username = adminhr, $session_password = adminhr, $usernameAuth = adminhr
index/php : storeTokenApi (avant)
\App\Libraries\ApiClient : avant appel authentifyCommon
\App\Libraries\ApiClient : authentifyCommon (avant appel request) ; $login =adminhr, $password = adminhr, $options =
Array
(
    [headers] => Array
        (
            [Authorization] => Basic YWRtaW5ocjphZG1pbmhy
        )
)
1

\App\Libraries\ApiClient : request (avant $this->client->request) ; $method =GET, $uri = authentification, $options =
Array
(
    [headers] => Array
        (
            [Authorization] => Basic YWRtaW5ocjphZG1pbmhy
            [Content-Type] => application/json
            [Accept] => application/json
        )

)
1

Ensuite je crois que ça remonte au niveau du module Guzzle

Au niveau du log pour le mode rewrite

[Thu Feb 07 15:59:35.777852 2019] [rewrite:trace3] [pid 1096:tid 140105599649536] mod_rewrite.c(470): [client 55.195.23.136:50301] 55..195.23.136 - - [temporis/sid#5654f660b6d8][rid#7f6ccc012a70/initial] [perdir /var/www/temporis/] strip per-dir prefix: /var/www/temporis/ ->
[Thu Feb 07 15:59:35.777917 2019] [rewrite:trace3] [pid 1096:tid 140105599649536] mod_rewrite.c(470): [client 55..195.23.136:50301] 55.195.23.136 - - [temporis/sid#5654f660b6d8][rid#7f6ccc012a70/initial] [perdir /var/www/temporis/] applying pattern '^api/(.*)$' to uri ''
[Thu Feb 07 15:59:35.777926 2019] [rewrite:trace3] [pid 1096:tid 140105599649536] mod_rewrite.c(470): [client 55.195.23.136:50301] 55.195.23.136 - - [temporis/sid#5654f660b6d8][rid#7f6ccc012a70/initial] [perdir /var/www/temporis/] strip per-dir prefix: /var/www/temporis/ ->
[Thu Feb 07 15:59:35.777932 2019] [rewrite:trace3] [pid 1096:tid 140105599649536] mod_rewrite.c(470): [client 55.195.23.136:50301] 55.195.23.136 - - [temporis/sid#5654f660b6d8][rid#7f6ccc012a70/initial] [perdir /var/www/temporis/] applying pattern '^(.*)$' to uri ''
[Thu Feb 07 15:59:35.777951 2019] [rewrite:trace1] [pid 1096:tid 140105599649536] mod_rewrite.c(470): [client 55.195.23.136:50301] 55.195.23.136 - - [temporis/sid#5654f660b6d8][rid#7f6ccc012a70/initial] [perdir /var/www/temporis/] pass through /var/www/temporis/
[Thu Feb 07 15:59:35.777987 2019] [rewrite:trace3] [pid 1096:tid 140105599649536] mod_rewrite.c(470): [client 55.195.23.136:50301] 55.195.23.136 - - [temporis/sid#5654f660b6d8][rid#7f6ccc004980/subreq] [perdir /var/www/temporis/] strip per-dir prefix: /var/www/temporis/index.php -> index.php
[Thu Feb 07 15:59:35.777999 2019] [rewrite:trace3] [pid 1096:tid 140105599649536] mod_rewrite.c(470): [client 55.195.23.136:50301] 55.195.23.136 - - [temporis/sid#5654f660b6d8][rid#7f6ccc004980/subreq] [perdir /var/www/temporis/] applying pattern '^api/(.*)$' to uri 'index.php'
[Thu Feb 07 15:59:35.778005 2019] [rewrite:trace3] [pid 1096:tid 140105599649536] mod_rewrite.c(470): [client 55.195.23.136:50301] 55.195.23.136 - - [temporis/sid#5654f660b6d8][rid#7f6ccc004980/subreq] [perdir /var/www/temporis/] strip per-dir prefix: /var/www/temporis/index.php -> index.php
[Thu Feb 07 15:59:35.778011 2019] [rewrite:trace3] [pid 1096:tid 140105599649536] mod_rewrite.c(470): [client 55.195.23.136:50301] 55.195.23.136 - - [temporis/sid#5654f660b6d8][rid#7f6ccc004980/subreq] [perdir /var/www/temporis/] applying pattern '^(.*)$' to uri 'index.php'
[Thu Feb 07 15:59:35.778025 2019] [rewrite:trace1] [pid 1096:tid 140105599649536] mod_rewrite.c(470): [client 55.195.23.136:50301] 55.195.23.136 - - [temporis/sid#5654f660b6d8][rid#7f6ccc004980/subreq] [perdir /var/www/temporis/] pass through /var/www/temporis/index.php
[Thu Feb 07 15:59:46.509431 2019] [rewrite:trace3] [pid 1187:tid 140105658398464] mod_rewrite.c(470): [client 55.195.23.136:50308] 55.195.23.136 - - [temporis/sid#5654f660b6d8][rid#7f6ccc012a70/initial] [perdir /var/www/temporis/] strip per-dir prefix: /var/www/temporis/ -> , referer: http://temporis/
[Thu Feb 07 15:59:46.509467 2019] [rewrite:trace3] [pid 1187:tid 140105658398464] mod_rewrite.c(470): [client 55.195.23.136:50308] 55.195.23.136 - - [temporis/sid#5654f660b6d8][rid#7f6ccc012a70/initial] [perdir /var/www/temporis/] applying pattern '^api/(.*)$' to uri '', referer: http://temporis/
[Thu Feb 07 15:59:46.509475 2019] [rewrite:trace3] [pid 1187:tid 140105658398464] mod_rewrite.c(470): [client 55.195.23.136:50308] 55.195.23.136 - - [temporis/sid#5654f660b6d8][rid#7f6ccc012a70/initial] [perdir /var/www/temporis/] strip per-dir prefix: /var/www/temporis/ -> , referer: http://temporis/
[Thu Feb 07 15:59:46.509481 2019] [rewrite:trace3] [pid 1187:tid 140105658398464] mod_rewrite.c(470): [client 55.195.23.136:50308] 55.195.23.136 - - [temporis/sid#5654f660b6d8][rid#7f6ccc012a70/initial] [perdir /var/www/temporis/] applying pattern '^(.*)$' to uri '', referer: http://temporis/
[Thu Feb 07 15:59:46.509500 2019] [rewrite:trace1] [pid 1187:tid 140105658398464] mod_rewrite.c(470): [client 55.195.23.136:50308] 55.195.23.136 - - [temporis/sid#5654f660b6d8][rid#7f6ccc012a70/initial] [perdir /var/www/temporis/] pass through /var/www/temporis/, referer: http://temporis/
[Thu Feb 07 15:59:46.509536 2019] [rewrite:trace3] [pid 1187:tid 140105658398464] mod_rewrite.c(470): [client 55.195.23.136:50308] 55.195.23.136 - - [temporis/sid#5654f660b6d8][rid#7f6ccc004980/subreq] [perdir /var/www/temporis/] strip per-dir prefix: /var/www/temporis/index.php -> index.php, referer: http://temporis/
[Thu Feb 07 15:59:46.509544 2019] [rewrite:trace3] [pid 1187:tid 140105658398464] mod_rewrite.c(470): [client 55.195.23.136:50308] 55.195.23.136 - - [temporis/sid#5654f660b6d8][rid#7f6ccc004980/subreq] [perdir /var/www/temporis/] applying pattern '^api/(.*)$' to uri 'index.php', referer: http://temporis/
[Thu Feb 07 15:59:46.509550 2019] [rewrite:trace3] [pid 1187:tid 140105658398464] mod_rewrite.c(470): [client 55..195.23.136:50308] 55.195.23.136 - - [temporis/sid#5654f660b6d8][rid#7f6ccc004980/subreq] [perdir /var/www/temporis/] strip per-dir prefix: /var/www/temporis/index.php -> index.php, referer: http://temporis/
[Thu Feb 07 15:59:46.509556 2019] [rewrite:trace3] [pid 1187:tid 140105658398464] mod_rewrite.c(470): [client 55.195.23.136:50308] 55.195.23.136 - - [temporis/sid#5654f660b6d8][rid#7f6ccc004980/subreq] [perdir /var/www/temporis/] applying pattern '^(.*)$' to uri 'index.php', referer: http://temporis/
[Thu Feb 07 15:59:46.509566 2019] [rewrite:trace1] [pid 1187:tid 140105658398464] mod_rewrite.c(470): [client 55.195.23.136:50308] 55.195.23.136 - - [temporis/sid#5654f660b6d8][rid#7f6ccc004980/subreq] [perdir /var/www/temporis/] pass through /var/www/temporis/index.php, referer: http://temporis/

Je voudrais savoir où ça coince, car je ne vois pas si c'est un problème de configuration.

Je suis à disposition pour tout renseignement supplémentaire.

Toni


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/