A PHP Error was encountered

Severity: Notice

Message: Undefined index: category_id

Filename: controllers/News.php

Line Number: 97

Backtrace:

File: /data/user/htdocs/application/client/controllers/News.php
Line: 97
Function: _error_handler

File: /data/user/htdocs/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: 100

Backtrace:

File: /data/user/htdocs/application/client/controllers/News.php
Line: 100
Function: _error_handler

File: /data/user/htdocs/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: 101

Backtrace:

File: /data/user/htdocs/application/client/controllers/News.php
Line: 101
Function: _error_handler

File: /data/user/htdocs/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/user/htdocs/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /data/user/htdocs/application/client/models/News_model.php
Line: 66
Function: get_where

File: /data/user/htdocs/application/client/controllers/News.php
Line: 103
Function: getPrv

File: /data/user/htdocs/index.php
Line: 316
Function: require_once

开云app官方登录入口(中国)开云有限公司

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 `news`.`display` = 1 ORDER BY `news`.`id` ASC' at line 4

SELECT `news`.`id`, `news`.`title`, `menu`.`html_path` FROM `news` JOIN `menu` ON `news`.`category_id` = `menu`.`id` WHERE `news`.`id` > `index`.`php` and `news`.`category_id` in () and `news`.`display` = 1 ORDER BY `news`.`id` ASC

Filename: models/News_model.php

Line Number: 66