A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/Allo_medecins_model.php

Line Number: 65

Backtrace:

File: /home/dentsmar/public_html/subdomains/zinguisim/application/models/Allo_medecins_model.php
Line: 65
Function: _error_handler

File: /home/dentsmar/public_html/subdomains/zinguisim/application/controllers/Blog.php
Line: 22
Function: getMedBySite

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

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/dentsmar/public_html/subdomains/zinguisim/application/models/Allo_medecins_model.php
Line: 25
Function: query

File: /home/dentsmar/public_html/subdomains/zinguisim/application/controllers/Blog.php
Line: 23
Function: getpic

File: /home/dentsmar/public_html/subdomains/zinguisim/index.php
Line: 315
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 '' at line 1

select * FROM images AS pic WHERE pic.dentiste_id =

Filename: models/Allo_medecins_model.php

Line Number: 25