A PHP Error was encountered

Severity: Notice

Message: Undefined index: category_id

Filename: controllers/News.php

Line Number: 148

Backtrace:

File: /data/home/qxu1194030080/htdocs/en/application/client/controllers/News.php
Line: 148
Function: _error_handler

File: /data/home/qxu1194030080/htdocs/en/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: category_id

Filename: controllers/News.php

Line Number: 151

Backtrace:

File: /data/home/qxu1194030080/htdocs/en/application/client/controllers/News.php
Line: 151
Function: _error_handler

File: /data/home/qxu1194030080/htdocs/en/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: category_id

Filename: controllers/News.php

Line Number: 152

Backtrace:

File: /data/home/qxu1194030080/htdocs/en/application/client/controllers/News.php
Line: 152
Function: _error_handler

File: /data/home/qxu1194030080/htdocs/en/index.php
Line: 316
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /data/home/qxu1194030080/htdocs/en/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 564

Backtrace:

File: /data/home/qxu1194030080/htdocs/en/application/client/models/News_model.php
Line: 73
Function: get_where

File: /data/home/qxu1194030080/htdocs/en/application/client/controllers/News.php
Line: 154
Function: getPrv

File: /data/home/qxu1194030080/htdocs/en/index.php
Line: 316
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 ') and `en_news`.`display` = 1 ORDER BY `en_news`.`id` ASC' at line 4

SELECT `en_news`.`id`, `en_news`.`title`, `en_menu`.`html_path` FROM `en_news` JOIN `en_menu` ON `en_news`.`category_id` = `en_menu`.`id` WHERE `en_news`.`id` > 86 and `en_news`.`category_id` in () and `en_news`.`display` = 1 ORDER BY `en_news`.`id` ASC

Filename: models/News_model.php

Line Number: 73