A PHP Error was encountered

Severity: Notice

Message: Undefined index: na_lixeira

Filename: models/imovel_model.php

Line Number: 883

A PHP Error was encountered

Severity: Notice

Message: Undefined index: tipo_imovel_id_tipo

Filename: controllers/hotsite.php

Line Number: 505

A PHP Error was encountered

Severity: Notice

Message: Undefined index: id_imovel

Filename: models/imovel_model.php

Line Number: 802

A PHP Error was encountered

Severity: Notice

Message: Undefined index: id_imovel

Filename: models/imovel_model.php

Line Number: 804

A PHP Error was encountered

Severity: Notice

Message: Undefined index: id_imovel

Filename: controllers/hotsite.php

Line Number: 509

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 'and rel.do_immob=1) UNION select ci.nome from caracteristicas_imovel as ci i' at line 1

select cim.nome from caracteristicas_imovel_immob as cim inner join tipo_caracteristica as tc on tc.id_tipo=cim.tipo_caracteristica_id_tipo inner join imoveis_has_caracteristicas_imovel as rel on rel.caracteristicas_imovel_id_caracteristica=cim.id_caracteristica where (tc.id_tipo=1 and rel.imoveis_id_imovel= and rel.do_immob=1) UNION select ci.nome from caracteristicas_imovel as ci inner join tipo_caracteristica as tc on tc.id_tipo=ci.tipo_caracteristica_id_tipo inner join imoveis_has_caracteristicas_imovel as rel on rel.caracteristicas_imovel_id_caracteristica=ci.id_caracteristica where (tc.id_tipo=1 and rel.imoveis_id_imovel= and ci.imobiliarias_id_imobiliaria=2 and rel.do_immob=0);