A PHP Error was encountered

Severity: Notice

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

Filename: controllers/Faaliyetler.php

Line Number: 14

Backtrace:

File: /home/bay32/public_html/application/controllers/Faaliyetler.php
Line: 14
Function: _error_handler

File: /home/bay32/public_html/index.php
Line: 173
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/bay32/public_html/application/models/G_model.php
Line: 82
Function: query

File: /home/bay32/public_html/application/controllers/Faaliyetler.php
Line: 14
Function: gresult

File: /home/bay32/public_html/index.php
Line: 173
Function: require_once

Database Error

A Database Error Occurred

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 'ORDER BY projects.sira ASC' at line 1

SELECT projects.*,depobaslik.icerik as baslik,depoaciklama.icerik as aciklama FROM projects LEFT JOIN depobaslik ON projects.id = depobaslik.elemanid and 4=depobaslik.elemantur and depobaslik.dilid=1 LEFT JOIN depoaciklama ON projects.id = depoaciklama.elemanid and 4=depoaciklama.elemantur and depoaciklama.dilid=1 WHERE projects.ustid= ORDER BY projects.sira ASC

Filename: models/G_model.php

Line Number: 82