A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/lakeybanget/public_html/mobile/application/models/User_model.php:1)

Filename: core/Common.php

Line Number: 568


File: /home/lakeybanget/public_html/mobile/application/models/User_model.php
Line: 599
Function: query

File: /home/lakeybanget/public_html/mobile/application/controllers/Welcome.php
Line: 263
Function: get_berita_detail_page

File: /home/lakeybanget/public_html/mobile/index.php
Line: 292
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 '-1,1' at line 1

select * from tbl_berita_page where id_berita=6671 order by id asc LIMIT -1,1

Filename: models/User_model.php

Line Number: 599