Severity: Warning
Message: pg_query(): Query failed: ERROR: missing FROM-clause entry for table "index" LINE 5: where a.id_producto= index.php ^
Filename: postgre/postgre_driver.php
Line Number: 236
Backtrace:
File: /home/vademecumknop/public_html/application/models/Producto_model.php
Line: 693
Function: query
File: /home/vademecumknop/public_html/application/controllers/Articulo.php
Line: 570
Function: get_by_id
File: /home/vademecumknop/public_html/index.php
Line: 310
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/vademecumknop/public_html/system/core/Exceptions.php:283)
Filename: core/Common.php
Line Number: 563
Backtrace:
File: /home/vademecumknop/public_html/application/models/Producto_model.php
Line: 693
Function: query
File: /home/vademecumknop/public_html/application/controllers/Articulo.php
Line: 570
Function: get_by_id
File: /home/vademecumknop/public_html/index.php
Line: 310
Function: require_once
Error Number:
ERROR: missing FROM-clause entry for table "index" LINE 5: where a.id_producto= index.php ^
select a.*, b.id_categoria, id_tipo from t_productos as a left join t_productos_categoria as b on a.id_producto = b.id_producto left join t_producto_tipo as c on a.id_producto = c.id_producto where a.id_producto= index.php and a.activo='S' order by a.nombre_esp
Filename: models/Producto_model.php
Line Number: 693