A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/estaticos.php

Line Number: 333

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 410

Database Error

OcurriĆ³ un error con la base de datos

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 2

SELECT DISTINCT(subcategoria) FROM productos, productos_secciones where subcategoria!=0 AND productos.id=productos_secciones.ref_producto AND (productos_secciones.ref_seccion=)

Filename: /home/citrosol/public_html/models/productos_model.php

Line Number: 517