A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Ama.php

Line Number: 142

Backtrace:

File: /home/lesamaco/public_html/application/controllers/Ama.php
Line: 142
Function: _error_handler

File: /home/lesamaco/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'id' of non-object

Filename: controllers/Ama.php

Line Number: 142

Backtrace:

File: /home/lesamaco/public_html/application/controllers/Ama.php
Line: 142
Function: _error_handler

File: /home/lesamaco/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 /home/lesamaco/public_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/lesamaco/public_html/application/models/Adminmod.php
Line: 761
Function: query

File: /home/lesamaco/public_html/application/controllers/Ama.php
Line: 149
Function: getProjetSelected

File: /home/lesamaco/public_html/index.php
Line: 315
Function: require_once

Database Error

Une erreur de la base de données s'est produite.

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 7

SELECT PRJ.id AS id, PRJ.title AS titleprj, PRJ.libelle AS libprj, PRJ.description AS descprj, PRJ.acteurid AS actid, PRJ.propo AS propo, PRJ.content AS content, PRJ.categorieid AS prjcatid, PRJ.souscategorieid AS prjscatid, PRJ.sectionid AS prjsectid, PRJ.keyword AS prjkey, PRJ.tag AS prjtag, PRJ.link AS prjlink, CAT.id AS catid, CAT.libelle AS libcat, SCAT.id AS idscat, SCAT.libelle AS libscat, SECT.id AS sectid, SECT.libelle AS libsect, ACT.id AS actid, ACT.libelle AS libact FROM projet PRJ LEFT JOIN categorie CAT ON CAT.id = PRJ.categorieid LEFT JOIN souscategorie SCAT ON SCAT.id = PRJ.souscategorieid LEFT JOIN section SECT ON SECT.id = PRJ.sectionid LEFT JOIN acteur ACT ON ACT.id = PRJ.acteurid WHERE PRJ.id =

Filename: models/Adminmod.php

Line Number: 761