j'ai lancé la commande sur le serveur et voici le retour de la commande :
Code : Tout sélectionner
php /var/www/html/core/azure_ad.php
php.ini location : /etc/php/8.2/cli/php.ini
<div class="page-header position-relative">
<h1 class="page-title text-primary-m2">
<i class="fa fa-sync"></i>
Synchronisation : Entra ID > GestSup
</h1>
</div>
<button onclick='window.location.href="index.php?page=admin&subpage=user&azure_ad=1&action=simul"' type="submit" class="btn btn-success">
<i class="fa fa-flask"></i>
Lancer une simulation
</button>
<button onclick='window.location.href="index.php?page=admin&subpage=user&azure_ad=1&action=run"' type="submit" class="btn btn-warning">
<i class="fa fa-bolt text-white"></i>
<span class="text-white">Lancer la synchronisation</span>
</button>
<button onclick='window.location.href="index.php?page=admin&subpage=user"' type="submit" class="btn btn-primary btn-danger">
<i class="fa fa-reply"></i>
Retour
</button>
<div class="mt-4"></div><h5><i class="fa fa-book text-success"></i> Vérification des annuaires :</h5><ul><li>ID locataire 1 : opacoise</li><li>Nombre d'utilisateurs trouvés dans Entra ID : 1381</li><li>Nombre d'utilisateurs trouvés dans GestSup : 1781</li><li>Date : 18/12/2025 14:14:53</li></ul><h5><i class="fa fa-edit text-warning"></i> Modifications à apporter dans GestSup : </h5><div class="ml-4"><i class="fa fa-sync text-warning"></i> <i class="fa fa-user text-warning"></i> Mise à jour du mail pour marimany@opacoise.fr <br /><i class="fa fa-sync text-warning"></i> <i class="fa fa-users text-warning"></i> Mise à jour du service DSI - Développement pour marimany@opacoise.fr<br />PHP Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'user_id' cannot be null in /var/www/html/core/azure_ad.php:639
Stack trace:
#0 /var/www/html/core/azure_ad.php(639): PDOStatement->execute()
#1 {main}
