A PHP Error was encountered

Severity: Notice

Message: Undefined index: articleID

Filename: controllers/Noticias.php

Line Number: 103

Backtrace:

File: /home/perupymes/public_html/application/controllers/Noticias.php
Line: 103
Function: _error_handler

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

Filename: core/Common.php

Line Number: 571

Backtrace:

File: /home/perupymes/public_html/application/models/Modelo_noticias.php
Line: 350
Function: query

File: /home/perupymes/public_html/application/controllers/Noticias.php
Line: 104
Function: detalle_redirecciona2

File: /home/perupymes/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 'as hometext, bodytext, teaser, uid, submit, datesub, counter, weight, html, smi' at line 1

SELECT articleID, columnID, headline as title, lead as hometext, bodytext, teaser, uid, submit, datesub, counter, weight, html, smiley, xcodes, breaks, block, artimage, votes, rating, commentable, offline, notifypub, title_noticia FROM py_sbarticles where articleID=''

Filename: models/Modelo_noticias.php

Line Number: 350