A PHP Error was encountered

Severity: Notice

Message: Undefined variable: select_fields

Filename: models/Property_model.php

Line Number: 313

Backtrace:

File: /home/wwwaqarmgt/public_html/application/models/Property_model.php
Line: 313
Function: _error_handler

File: /home/wwwaqarmgt/public_html/application/controllers/Propertytypes.php
Line: 29
Function: getPropertyDetail

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

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/wwwaqarmgt/public_html/application/models/Property_model.php
Line: 324
Function: query

File: /home/wwwaqarmgt/public_html/application/controllers/Propertytypes.php
Line: 29
Function: getPropertyDetail

File: /home/wwwaqarmgt/public_html/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 ' propertysubtypes.name AS propertysubtype_name, cities.Name as city_name, users.' at line 1

select , propertysubtypes.name AS propertysubtype_name, cities.Name as city_name, users.first_name, users.last_name, users.email, users.phone, users.profile_image, owner_city.Name as owner_city_name, owner_country.name as owner_country_name, countries.name as country_name from left join propertysubtypes ON = propertysubtypes.id left join cities ON cities.ID = .city left join countries ON .country = countries.id left join users ON users.id = .owner_id left join cities as owner_city ON users.city_id = owner_city.ID left join countries as owner_country ON users.country_id = owner_country.id where .id = 71 AND .property_type_id = index.html

Filename: models/Property_model.php

Line Number: 324