Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correction modification de session suite au changement de bdd #1570

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

agallou
Copy link
Member

@agallou agallou commented Dec 12, 2024

Depuis le passage de mariadb 10.0.28-MariaDB-1~jessie à MySQL 5.7, la modification de session ne fonctionne plus, il y a une erreur 500.

Voici le message d'erreur :

Uncaught PHP Exception RuntimeException: "Incorrect integer value: '' for column 'joindin' at row 1" at /home/bas/app_ee619ef6-05d2-4b4c-978f-d8f85e5a49da/sources/Afup/Utils/Base_De_Donnees.php line 238

On corrige la requête de modification afin de ne pas mettre une chaine dans un champ en INT NULLABLE et ainsi éviter une erreur 500.

Depuis le passage de mariadb `10.0.28-MariaDB-1~jessie` à MySQL 5.7,
la modification de session ne fonctionne plus, il y a une erreur 500.

Voici le message d'erreur :
```
Uncaught PHP Exception RuntimeException: "Incorrect integer value: '' for column 'joindin' at row 1" at /home/bas/app_ee619ef6-05d2-4b4c-978f-d8f85e5a49da/sources/Afup/Utils/Base_De_Donnees.php line 238
```

On corrige la requête de modification afin de ne pas mettre une chaine
dans un champ en INT NULLABLE et ainsi éviter une erreur 500.
@agallou agallou merged commit 6d0c040 into master Dec 13, 2024
8 checks passed
@agallou agallou deleted the fix_session_modification_joindin branch December 13, 2024 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants