Page blanche lors de la création d'un ticket

Installation & Configuration du logiciel
Répondre
yblis
Gsup LEVEL 0
Messages : 8
Enregistré le : mer. 16 déc. 2020 11:04

Bonjour,

Je suis tombé hier sur ce beau projet, j'ai mis en place un serveur apache via docker, cependant je n'arrive pas a créer mon premier ticket en admin,

lorsque j'active le mode débogage, j'ai le message suivant:
DEBUG MODE :
VAR: save= post_modify=modify post_quit= post_mail= post_upload= post_send= post_action= get_action=new post_category=2 post_subcat=4 post_technician=5 globalrow_technician=0 post_u_service=3 globalrow_u_service=0 post_u_agency= globalrow_u_agency=0 post_asset_id= globalrow[asset_id]=0 post_sender_service= globalrow_sender_service=0 post_priority=6 post_title=test post_date_hope=30/12/2020 post_type=

( ! ) Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'ticket' cannot be null in /var/www/html/core/ticket.php on line 402
( ! ) PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'ticket' cannot be null in /var/www/html/core/ticket.php on line 402
Call Stack
# Time Memory Function Location
1 0.0025 477472 {main}( ) .../index.php:0
2 0.0380 955400 require( '/var/www/html/main.php' ) .../index.php:295
3 0.1110 1360312 include( '/var/www/html/ticket.php' ) .../main.php:428
4 0.1159 1626080 include( '/var/www/html/core/ticket.php' ) .../ticket.php:91
5 0.1500 1660520 execute ( ) .../ticket.php:402
Pouvez-vous m'aider svp ?

Pour info:
OS : Linux 09665e1d6b4b 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64
Apache : 2.4.38 (HTTP/1.1)
MySQL : 8.0.21 (base : bsup 2MB)
PHP : 7.4.2
GestSup : 3.2.5 (3.2 patch 5)
Horloge : 2020-12-16 10:10:25
Fichiers chargés : 0MB
Avatar du membre
Flox
Administrateur du site
Messages : 8973
Enregistré le : jeu. 21 juin 2012 19:00

Bonjour,

pouvez-vous transmettre un impression écran de la page système ?

Pourrez-vous vous remplacer votre SGBDR par MariaDB, vous pouvez conserver votre version de PHP.

Cdt
GestSup: 3.2.47 | Debian: 12 | Apache: 2.4.58 | MariaDB: 11.3.2 | PHP: 8.3.4 | https://doc.gestsup.fr/
yblis
Gsup LEVEL 0
Messages : 8
Enregistré le : mer. 16 déc. 2020 11:04

Oui je peux passé sur du mariadb, j'utilise des conteneurs donc je vais tester ça cette après midi.

Voici les captures demandés:
Capture1.PNG
Capture1.PNG (98.19 Kio) Vu 1595 fois
Capture2.PNG
Capture2.PNG (102.96 Kio) Vu 1595 fois
yblis
Gsup LEVEL 0
Messages : 8
Enregistré le : mer. 16 déc. 2020 11:04

Résolution:

J'ai tout réinstaller mais en utilisant mariadb au lieu de mysql.

et la création a fonctionnée.
Répondre