Enregistrement d'un utilisateur impossible

Installation & Configuration du logiciel
Avatar du membre
Flox
Administrateur du site
Messages : 8973
Enregistré le : jeu. 21 juin 2012 19:00

Pouvez-vous essayer de passer en version 3.2.20 et re-essayer
GestSup: 3.2.47 | Debian: 12 | Apache: 2.4.58 | MariaDB: 11.3.2 | PHP: 8.3.4 | https://doc.gestsup.fr/
baptiste.borde
Gsup LEVEL 1
Messages : 19
Enregistré le : mar. 12 avr. 2022 08:19

Je viens de tester, le problème reste identique.

Voici le fichier error.log

Code : Tout sélectionner

[Tue Apr 12 00:00:19.400648 2022] [mpm_prefork:notice] [pid 742] AH00163: Apache/2.4.53 (Debian) configured -- resuming normal operations
[Tue Apr 12 00:00:19.400701 2022] [core:notice] [pid 742] AH00094: Command line: '/usr/sbin/apache2'
[Tue Apr 12 08:47:38.455331 2022] [php7:warn] [pid 7503] [client 10.0.100.30:9577] PHP Warning:  ftp_get(/var/www/html/admin/../download/patch_3.2.16.zip): failed to open stream: Permission denied in /var/www/html/admin/update.php on line 299, referer: http://10.99.99.114/index.php?page=admin&subpage=update
[Tue Apr 12 08:47:38.455427 2022] [php7:warn] [pid 7503] [client 10.0.100.30:9577] PHP Warning:  ftp_get(): Error opening /var/www/html/admin/../download/patch_3.2.16.zip in /var/www/html/admin/update.php on line 299, referer: http://10.99.99.114/index.php?page=admin&subpage=update
[Tue Apr 12 08:50:55.082840 2022] [php7:warn] [pid 8617] [client 10.0.100.30:9642] PHP Warning:  ftp_get(/var/www/html/admin/../download/patch_3.2.16.zip): failed to open stream: Permission denied in /var/www/html/admin/update.php on line 299, referer: http://10.99.99.114/index.php?page=admin&subpage=update
[Tue Apr 12 08:50:55.082944 2022] [php7:warn] [pid 8617] [client 10.0.100.30:9642] PHP Warning:  ftp_get(): Error opening /var/www/html/admin/../download/patch_3.2.16.zip in /var/www/html/admin/update.php on line 299, referer: http://10.99.99.114/index.php?page=admin&subpage=update
[Tue Apr 12 08:54:29.461540 2022] [php7:warn] [pid 8615] [client 10.0.100.30:9688] PHP Warning:  ftp_get(/var/www/html/admin/../download/patch_3.2.16.zip): failed to open stream: Permission denied in /var/www/html/admin/update.php on line 299, referer: http://10.99.99.114/index.php?page=admin&subpage=update
[Tue Apr 12 08:54:29.461667 2022] [php7:warn] [pid 8615] [client 10.0.100.30:9688] PHP Warning:  ftp_get(): Error opening /var/www/html/admin/../download/patch_3.2.16.zip in /var/www/html/admin/update.php on line 299, referer: http://10.99.99.114/index.php?page=admin&subpage=update
[Tue Apr 12 09:06:43.932910 2022] [mpm_prefork:notice] [pid 742] AH00170: caught SIGWINCH, shutting down gracefully
[Tue Apr 12 09:06:44.165801 2022] [mpm_prefork:notice] [pid 9667] AH00163: Apache/2.4.53 (Debian) configured -- resuming normal operations
[Tue Apr 12 09:06:44.165947 2022] [core:notice] [pid 9667] AH00094: Command line: '/usr/sbin/apache2'
[Tue Apr 12 09:06:46.992272 2022] [autoindex:error] [pid 9669] [client 10.99.99.114:37542] AH01276: Cannot serve directory /var/www/html/components/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
[Tue Apr 12 09:14:18.440783 2022] [autoindex:error] [pid 9668] [client 10.99.99.114:37552] AH01276: Cannot serve directory /var/www/html/components/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
[Tue Apr 12 09:15:07.769377 2022] [autoindex:error] [pid 9669] [client 10.99.99.114:37554] AH01276: Cannot serve directory /var/www/html/components/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
[Tue Apr 12 09:15:59.024226 2022] [autoindex:error] [pid 9668] [client 10.99.99.114:37556] AH01276: Cannot serve directory /var/www/html/components/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
[Tue Apr 12 09:16:23.428321 2022] [autoindex:error] [pid 9671] [client 10.99.99.114:37558] AH01276: Cannot serve directory /var/www/html/components/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
[Tue Apr 12 09:20:42.786193 2022] [autoindex:error] [pid 9678] [client 10.99.99.114:37560] AH01276: Cannot serve directory /var/www/html/components/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
[Tue Apr 12 09:27:25.842251 2022] [php7:notice] [pid 9672] [client 10.0.100.30:10348] PHP Notice:  Undefined index: observer1 in /var/www/html/core/auto_mail.php on line 152, referer: http://10.99.99.114/index.php?page=ticket&action=new&userid=1&state=&view=&date_start=&date_end=
[Tue Apr 12 09:27:25.842323 2022] [php7:notice] [pid 9672] [client 10.0.100.30:10348] PHP Notice:  Undefined index: observer2 in /var/www/html/core/auto_mail.php on line 162, referer: http://10.99.99.114/index.php?page=ticket&action=new&userid=1&state=&view=&date_start=&date_end=
[Tue Apr 12 09:27:25.842339 2022] [php7:notice] [pid 9672] [client 10.0.100.30:10348] PHP Notice:  Undefined index: observer3 in /var/www/html/core/auto_mail.php on line 171, referer: http://10.99.99.114/index.php?page=ticket&action=new&userid=1&state=&view=&date_start=&date_end=
[Tue Apr 12 14:29:06.971619 2022] [autoindex:error] [pid 9671] [client 10.99.99.114:37646] AH01276: Cannot serve directory /var/www/html/components/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
[Tue Apr 12 14:29:06.974032 2022] [autoindex:error] [pid 9669] [client 10.99.99.114:37648] AH01276: Cannot serve directory /var/www/html/components/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
GestSup: 3.2.20 | Debian: 11 | Apache: 2.4.53 | MariaDB : 10.5.15| PHP: 7.4.28
Avatar du membre
Flox
Administrateur du site
Messages : 8973
Enregistré le : jeu. 21 juin 2012 19:00

Merci de me transmettre l'ensemble des fichiers de l'application ainsi que votre base de données en MP.

Cdt
GestSup: 3.2.47 | Debian: 12 | Apache: 2.4.58 | MariaDB: 11.3.2 | PHP: 8.3.4 | https://doc.gestsup.fr/
baptiste.borde
Gsup LEVEL 1
Messages : 19
Enregistré le : mar. 12 avr. 2022 08:19

Pouvez-vous me confirmer la réception de mon message privé ?
GestSup: 3.2.20 | Debian: 11 | Apache: 2.4.53 | MariaDB : 10.5.15| PHP: 7.4.28
Avatar du membre
Flox
Administrateur du site
Messages : 8973
Enregistré le : jeu. 21 juin 2012 19:00

Bonjour,

le fichier à bien été récupéré l'analyse est en cours.

Cdt
GestSup: 3.2.47 | Debian: 12 | Apache: 2.4.58 | MariaDB: 11.3.2 | PHP: 8.3.4 | https://doc.gestsup.fr/
Avatar du membre
Flox
Administrateur du site
Messages : 8973
Enregistré le : jeu. 21 juin 2012 19:00

Je ne reproduis pas le soucis de mon côté avec votre base de données et vos fichiers :
2022-04-13 14_31_25_screenshot_gestsup.png
2022-04-13 14_31_25_screenshot_gestsup.png (40.17 Kio) Vu 1009 fois
Pouvez-vous transmettre le code source de la page d'enregistrement avec le mode debug ?

Cdt
GestSup: 3.2.47 | Debian: 12 | Apache: 2.4.58 | MariaDB: 11.3.2 | PHP: 8.3.4 | https://doc.gestsup.fr/
baptiste.borde
Gsup LEVEL 1
Messages : 19
Enregistré le : mar. 12 avr. 2022 08:19

Bizarre...

Je viens de tester sous Google Chrome et la page charge sans arrêt.
Sous Mozilla Fireofx, la page charge puis perd la connexion.

Voici le code source la page :

Code : Tout sélectionner

<!doctype html>
<html lang="fr" style="--scrollbar-width:17px; --moz-scrollbar-thin:17px; font-size: 0.925rem;">
	<head>
	    		<meta charset="utf-8" />
		<meta name="theme-color" content="#4aa0df">	
				<title>GestSup | Gestion de Support</title>
		
		<link rel="shortcut icon" type="image/png" href="images/favicon_ticket.png">		<meta name="description" content="gestsup" />
		<meta name="robots" content="noindex, nofollow">
		<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1">
		
		<!-- bootstrap styles -->
		<link rel="stylesheet" href="./components/bootstrap/dist/css/bootstrap.min.css" />
		
		<!-- fontawesome styles -->
		<link rel="stylesheet" type="text/css" href="./components/fontawesome/css/fontawesome.min.css">
		<link rel="stylesheet" type="text/css" href="./components/fontawesome/css/solid.min.css">
		
				<!-- ace styles -->
		<link rel="stylesheet" type="text/css" href="./template/ace/dist/css/ace-font.min.css" />
		<link rel="stylesheet" type="text/css" href="./template/ace/dist/css/ace.min.css" />
		<link rel="stylesheet" type="text/css" href="./template/ace/dist/css/ace-themes.min.css" />
		
		<!-- fix pasting data from MS soft -->
		<style> .MsoPlainText {line-height: 0.50;}</style>
		
				
		<!-- JQuery script -->
		<script type="text/javascript" src="./components/jquery/jquery.min.js"></script>
		
	</head>
	<body>
	
	<b>DEBUG MODE</b> : user validation <br /> check date : 2021-05-10<br />
		<div class="body-container" style=" background-image: linear-gradient(#6baace, #264783); background-attachment: fixed; background-repeat: no-repeat;" >
			<div class="main-container container bgc-transparent">
				<div role="main" class="main-content ">
					<div class="justify-content-center pb-2">
						
						<div class="d-flex flex-column align-items-center justify-content-start">
							<h1 class="mt-5">
								<img title="GestSup" width="45" src="images/logo_gestsup_white.svg" />
								<span class="text-90 text-white">GestSup</span>
							</h1>
						</div>
						<div class="d-flex flex-column align-items-center justify-content-start">
							
							<h5 class="text-dark-lt3">
								DataSys 
							</h5>
						</div>
						<div class="d-flex flex-column align-items-center justify-content-start">
							<img style="border-style: none" alt="logo" width="150" src="./upload/logo/logo_et_typo_couleur-remov

--------

Et voici le message qui apparait sur la page d'accueil :

DEBUG MODE : user validation
check date : 2021-05-07

--------

Puis sur la page une fois connecté en admin :

SELECT DISTINCT tincidents.id, tincidents.type, tincidents.technician, tincidents.t_group, tincidents.title, tincidents.user, tincidents.u_group, tincidents.u_service, tincidents.u_agency, tincidents.sender_service, tincidents.techread_date, tincidents.date_create, tincidents.date_hope, tincidents.date_res, tincidents.date_modif, tincidents.time, tincidents.billable, tincidents.state, tincidents.priority, tincidents.criticality, tincidents.category, tincidents.subcat, tincidents.techread, tincidents.userread, tincidents.place, tincidents.asset_id
LEFT JOIN tstates ON tincidents.state=tstates.id
WHERE
tincidents.disable='0' AND
tincidents.user LIKE '%' AND
tincidents.technician LIKE '1' AND
tincidents.place LIKE '%'
ORDER BY tstates.number,tincidents.priority,tincidents.criticality,tincidents.date_create DESC
LIMIT 0,14
VAR: POST_keywords= GET_keywords='' | POST_state=% GET_state=% state=AND tincidents.state LIKE '%' | POST_date_create=% GET_date_create= | cnt_service= | GET_view= | POST_date_start= | POST_date_end= | cnt_agency=





Si besoin, je peux vous fournir une connexion VPN vers la VM qui héberge GESTUP.
GestSup: 3.2.20 | Debian: 11 | Apache: 2.4.53 | MariaDB : 10.5.15| PHP: 7.4.28
Avatar du membre
Flox
Administrateur du site
Messages : 8973
Enregistré le : jeu. 21 juin 2012 19:00

pouvez vous tester de désactiver la fonctionnalité de validation utilisateur, via les paramètres généraux ?

Cdt
GestSup: 3.2.47 | Debian: 12 | Apache: 2.4.58 | MariaDB: 11.3.2 | PHP: 8.3.4 | https://doc.gestsup.fr/
baptiste.borde
Gsup LEVEL 1
Messages : 19
Enregistré le : mar. 12 avr. 2022 08:19

Je ne trouve pas validation utilisateur, mais " Validation demandeur".
GestSup: 3.2.20 | Debian: 11 | Apache: 2.4.53 | MariaDB : 10.5.15| PHP: 7.4.28
Avatar du membre
Flox
Administrateur du site
Messages : 8973
Enregistré le : jeu. 21 juin 2012 19:00

En décochant validation demandeur est ce que le problème est toujours présent ?

Cs'dt
GestSup: 3.2.47 | Debian: 12 | Apache: 2.4.58 | MariaDB: 11.3.2 | PHP: 8.3.4 | https://doc.gestsup.fr/
Répondre