A PHP Error was encountered

Severity: Warning

Message: Missing argument 2 for Index::tabla_general()

Filename: controllers/Index.php

Line Number: 1035

Backtrace:

File: /home/fefusa/public_html/primera/application/controllers/Index.php
Line: 1035
Function: _error_handler

File: /home/fefusa/public_html/primera/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: id2

Filename: controllers/Index.php

Line Number: 1038

Backtrace:

File: /home/fefusa/public_html/primera/application/controllers/Index.php
Line: 1038
Function: _error_handler

File: /home/fefusa/public_html/primera/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: pg_query(): Query failed: ERROR: syntax error at or near ")" LINE 17: and v.id_fixture in(53,) ^

Filename: postgre/postgre_driver.php

Line Number: 242

Backtrace:

File: /home/fefusa/public_html/primera/application/models/Model_posiciones.php
Line: 71
Function: query

File: /home/fefusa/public_html/primera/application/controllers/Index.php
Line: 1038
Function: get_tabla_general

File: /home/fefusa/public_html/primera/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/fefusa/public_html/primera/system/core/Exceptions.php:272)

Filename: core/Common.php

Line Number: 568

Backtrace:

File: /home/fefusa/public_html/primera/application/models/Model_posiciones.php
Line: 71
Function: query

File: /home/fefusa/public_html/primera/application/controllers/Index.php
Line: 1038
Function: get_tabla_general

File: /home/fefusa/public_html/primera/index.php
Line: 315
Function: require_once

Database Error

A Database Error Occurred

Error Number:

ERROR: syntax error at or near ")" LINE 17: and v.id_fixture in(53,) ^

SELECT e.ruta_logo, e.equipo, sum(puntos) as puntos, sum( pj) as pj, sum(pg) as pg, sum(pe) as pe, sum(pp) as pp, sum(gf) as gf, sum(gc) as gc, sum(dg) as dg, g.grupo FROM public.v_posiciones_carro as v,equipos as e, grupos as g where v.id_equipo=e.id_equipo and g.id_grupo=v.grupo and v.id_fixture in(53,) group by e.ruta_logo,e.equipo, g.grupo order by 3 desc, 10 desc ;

Filename: models/Model_posiciones.php

Line Number: 71