A PHP Error was encountered

Severity: Warning

Message: Undefined variable $idVisite

Filename: controllers/Fr.php

Line Number: 550

Backtrace:

File: /home1/sidmates/public_html/application/controllers/Fr.php
Line: 550
Function: _error_handler

File: /home1/sidmates/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home1/sidmates/public_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home1/sidmates/public_html/application/models/Visite_model.php
Line: 145
Function: insert

File: /home1/sidmates/public_html/application/controllers/Fr.php
Line: 550
Function: addVisitePiece

File: /home1/sidmates/public_html/index.php
Line: 315
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1048

Column 'idVisite' cannot be null

INSERT INTO `visitepiece` (`idVisitePiece`, `dateVisitePiece`, `idVisite`, `idPiece`) VALUES (NULL, '2024-11-21 06:42:02', NULL, '22')

Filename: models/Visite_model.php

Line Number: 145