A PHP Error was encountered

Severity: Warning

Message: A non-numeric value encountered

Filename: models/M_berita.php

Line Number: 55

Backtrace:

File: /home/ktkalimantanteng/public_html/application/models/M_berita.php
Line: 55
Function: _error_handler

File: /home/ktkalimantanteng/public_html/application/controllers/News.php
Line: 37
Function: getHal

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

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/ktkalimantanteng/public_html/application/models/M_berita.php
Line: 63
Function: query

File: /home/ktkalimantanteng/public_html/application/controllers/News.php
Line: 37
Function: getHal

File: /home/ktkalimantanteng/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 '-11,11' at line 6

select b.*,k.nmkategori,u.user_realname as editor from berita b INNER JOIN kategori k ON (k.idkategori = b.idkategori) INNER JOIN user u ON (u.user_id = b.user_id) WHERE b.tampil='1' order by b.date_created desc LIMIT -11,11

Filename: models/M_berita.php

Line Number: 63