Version 3.1.47 association catégorie à un groupe de tech

Installation & Configuration du logiciel
sofianekaniber
Gsup LEVEL 4
Messages : 126
Enregistré le : jeu. 31 janv. 2019 15:56

Bonjour Flox,

Suite à la mise à jour de l'application vers 3.1.47, il m'est impossible d'associer une catégorie à un groupe de technciens. Lors de la validation ( ciquer sur modifier) rien ne se passe ( cf le screen ci-joint)
Je n'ai pas pu reproduire le bug sur la webdemo
Screenshot_2019-12-11 GestSup Gestion de Support(1).png
Screenshot_2019-12-11 GestSup Gestion de Support(1).png (29.8 Kio) Vu 9123 fois
GestSup: 3.2.4 | Windows 2012 | Apache: 2.4.37 | MariaDB: 10.3.12 | PHP: 7.3.1
Avatar du membre
Flox
Administrateur du site
Messages : 8972
Enregistré le : jeu. 21 juin 2012 19:00

Bonjour,

Surement un autre défaut sur la base de données.
Pouvez vous faire un impression écran de la page système et transmettre le log d'erreur php.

Cdt
GestSup: 3.2.47 | Debian: 12 | Apache: 2.4.58 | MariaDB: 11.3.2 | PHP: 8.3.4 | https://doc.gestsup.fr/
sofianekaniber
Gsup LEVEL 4
Messages : 126
Enregistré le : jeu. 31 janv. 2019 15:56

Ci-dessous les log erreur php
[11-Dec-2019 06:34:55 Europe/Paris] PHP Notice: Undefined variable: ruser in C:\wamp64\www\ticket\index.php on line 975
[11-Dec-2019 06:34:56 Europe/Paris] PHP Notice: Undefined index: token in C:\wamp64\www\ticket\ticket.php on line 196
[11-Dec-2019 06:34:56 Europe/Paris] PHP Notice: Undefined index: token in C:\wamp64\www\ticket\ticket.php on line 1560
[11-Dec-2019 06:48:29 Europe/Paris] PHP Notice: Undefined variable: ruser in C:\wamp64\www\ticket\index.php on line 975
[11-Dec-2019 08:01:52 Europe/Paris] PHP Notice: Undefined variable: ruser in C:\wamp64\www\ticket\index.php on line 975
[11-Dec-2019 08:01:52 Europe/Paris] PHP Notice: Undefined variable: user_id in C:\wamp64\www\ticket\index.php on line 983
[11-Dec-2019 08:04:10 Europe/Paris] PHP Notice: Undefined variable: ruser in C:\wamp64\www\ticket\index.php on line 975
[11-Dec-2019 08:04:11 Europe/Paris] PHP Notice: Undefined index: token in C:\wamp64\www\ticket\ticket.php on line 196
[11-Dec-2019 08:04:11 Europe/Paris] PHP Notice: Undefined index: token in C:\wamp64\www\ticket\ticket.php on line 1560
[11-Dec-2019 08:05:31 Europe/Paris] PHP Notice: Undefined variable: ruser in C:\wamp64\www\ticket\index.php on line 975
[11-Dec-2019 08:05:31 Europe/Paris] PHP Notice: Undefined variable: user_id in C:\wamp64\www\ticket\index.php on line 983
[11-Dec-2019 08:15:24 Europe/Paris] PHP Notice: Undefined variable: ruser in C:\wamp64\www\ticket\index.php on line 975
[11-Dec-2019 08:15:24 Europe/Paris] PHP Notice: Undefined variable: user_id in C:\wamp64\www\ticket\index.php on line 983
[11-Dec-2019 08:15:35 Europe/Paris] PHP Notice: Undefined variable: ruser in C:\wamp64\www\ticket\index.php on line 975
[11-Dec-2019 08:15:35 Europe/Paris] PHP Notice: Undefined variable: user_id in C:\wamp64\www\ticket\index.php on line 983
[11-Dec-2019 08:19:01 Europe/Paris] PHP Notice: Undefined variable: ruser in C:\wamp64\www\ticket\index.php on line 975
[11-Dec-2019 08:19:01 Europe/Paris] PHP Notice: Undefined variable: user_id in C:\wamp64\www\ticket\index.php on line 983
[11-Dec-2019 08:21:04 Europe/Paris] PHP Notice: Undefined variable: ruser in C:\wamp64\www\ticket\index.php on line 975
[11-Dec-2019 08:21:04 Europe/Paris] PHP Notice: Undefined variable: user_id in C:\wamp64\www\ticket\index.php on line 983
[11-Dec-2019 08:40:07 Europe/Paris] PHP Notice: Undefined variable: ruser in C:\wamp64\www\ticket\index.php on line 975
[11-Dec-2019 08:40:07 Europe/Paris] PHP Notice: Undefined variable: user_id in C:\wamp64\www\ticket\index.php on line 983
[11-Dec-2019 08:52:43 Europe/Paris] PHP Notice: Undefined variable: ruser in C:\wamp64\www\ticket\index.php on line 975
[11-Dec-2019 08:52:43 Europe/Paris] PHP Notice: Undefined variable: user_id in C:\wamp64\www\ticket\index.php on line 983
[11-Dec-2019 08:59:33 Europe/Paris] PHP Notice: Undefined variable: ruser in C:\wamp64\www\ticket\index.php on line 975
[11-Dec-2019 08:59:33 Europe/Paris] PHP Notice: Undefined variable: user_id in C:\wamp64\www\ticket\index.php on line 983
[11-Dec-2019 09:07:11 Europe/Paris] PHP Notice: Undefined variable: ruser in C:\wamp64\www\ticket\index.php on line 975
[11-Dec-2019 09:07:11 Europe/Paris] PHP Notice: Undefined variable: user_id in C:\wamp64\www\ticket\index.php on line 983
[11-Dec-2019 09:13:13 Europe/Paris] PHP Notice: Undefined variable: ruser in C:\wamp64\www\ticket\index.php on line 975
[11-Dec-2019 09:13:13 Europe/Paris] PHP Notice: Undefined variable: user_id in C:\wamp64\www\ticket\index.php on line 983
[11-Dec-2019 09:21:02 Europe/Paris] PHP Fatal error: Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Champ 'ip' inconnu dans field list in C:\wamp64\www\ticket-informatique\login.php:185
Stack trace:
#0 C:\wamp64\www\ticket-informatique\login.php(185): PDOStatement->execute(Array)
#1 C:\wamp64\www\ticket-informatique\index.php(1057): require('C:\\wamp64\\www\\t...')
#2 {main}
thrown in C:\wamp64\www\ticket-informatique\login.php on line 185
Fichiers joints
Screenshot_2019-12-11 GestSup Gestion de Support(2).png
Screenshot_2019-12-11 GestSup Gestion de Support(2).png (159.44 Kio) Vu 9120 fois
GestSup: 3.2.4 | Windows 2012 | Apache: 2.4.37 | MariaDB: 10.3.12 | PHP: 7.3.1
Avatar du membre
Flox
Administrateur du site
Messages : 8972
Enregistré le : jeu. 21 juin 2012 19:00

A priori la mise à jour SQL patch_3.1.39 n'a pas été installé, ce qui explique votre problème d'hier.

executer cette requete pour corriger ce probleme :

Code : Tout sélectionner

ALTER TABLE `tusers` ADD `ip` VARCHAR(20) NOT NULL AFTER `last_login`;
En espérant qu'il n'y en ai pas d'autres.

A noter: activer l'extension ftp de php pour pouvoir faire les mises à jour automatique
GestSup: 3.2.47 | Debian: 12 | Apache: 2.4.58 | MariaDB: 11.3.2 | PHP: 8.3.4 | https://doc.gestsup.fr/
sofianekaniber
Gsup LEVEL 4
Messages : 126
Enregistré le : jeu. 31 janv. 2019 15:56

Merci..
La requête a bien été exxcutée.
Le problème persiste.
PS : je viens d'activer le FTP php
GestSup: 3.2.4 | Windows 2012 | Apache: 2.4.37 | MariaDB: 10.3.12 | PHP: 7.3.1
Avatar du membre
Flox
Administrateur du site
Messages : 8972
Enregistré le : jeu. 21 juin 2012 19:00

Vous devez avoir d'autres erreurs sur votre base de données, transmettez a nouveau votre fichier de log.

Cdt
GestSup: 3.2.47 | Debian: 12 | Apache: 2.4.58 | MariaDB: 11.3.2 | PHP: 8.3.4 | https://doc.gestsup.fr/
sofianekaniber
Gsup LEVEL 4
Messages : 126
Enregistré le : jeu. 31 janv. 2019 15:56

Voic les log erreur php :
[11-Dec-2019 10:15:05 Europe/Paris] PHP Notice: Undefined variable: ruser in C:\wamp64\www\ticket\index.php on line 975
[11-Dec-2019 10:15:05 Europe/Paris] PHP Notice: Undefined variable: user_id in C:\wamp64\www\ticket\index.php on line 983
GestSup: 3.2.4 | Windows 2012 | Apache: 2.4.37 | MariaDB: 10.3.12 | PHP: 7.3.1
Avatar du membre
Flox
Administrateur du site
Messages : 8972
Enregistré le : jeu. 21 juin 2012 19:00

pouvez-vous ouvrir le fichier index.php depuis votre serveur et indiquer la version affiché dans l'entête ?
GestSup: 3.2.47 | Debian: 12 | Apache: 2.4.58 | MariaDB: 11.3.2 | PHP: 8.3.4 | https://doc.gestsup.fr/
sofianekaniber
Gsup LEVEL 4
Messages : 126
Enregistré le : jeu. 31 janv. 2019 15:56

Flox,
Il y a peut être un truc qui 'échappe.

Sur mon serveur Wamp, j'ai installé la prod qui " C:\wamp64\www\ticket\" et recette "C:\wamp64\www\ticket-informatique\
Parcontre dans les logs php, je n'ai que ceux de prod.
GestSup: 3.2.4 | Windows 2012 | Apache: 2.4.37 | MariaDB: 10.3.12 | PHP: 7.3.1
Avatar du membre
Flox
Administrateur du site
Messages : 8972
Enregistré le : jeu. 21 juin 2012 19:00

C'est qu'il n'y as pas d'erreur sur la recette
GestSup: 3.2.47 | Debian: 12 | Apache: 2.4.58 | MariaDB: 11.3.2 | PHP: 8.3.4 | https://doc.gestsup.fr/
Répondre