A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /usr/share/nginx/html/best5_com/system/libraries/Phpanalysis.php:1138)

Filename: core/Public.php

Line Number: 588

Backtrace:

File: /usr/share/nginx/html/best5_com/bbs/bbs/models/bbs/Bbs_model.php
Line: 131
Function: get

File: /usr/share/nginx/html/best5_com/bbs/bbs/controllers/common/Header.php
Line: 65
Function: get_very_good

File: /usr/share/nginx/html/best5_com/bbs/bbs/controllers/Wecome.php
Line: 161
Function: top

File: /usr/share/nginx/html/best5_com/index.php
Line: 295
Function: require_once

Database Error

数据库发生错误。

Error Number: 3065

Expression #1 of ORDER BY clause is not in SELECT list, references column 'openant.bbs_posting.date_added' which is not in SELECT list; this is incompatible with DISTINCT

SELECT DISTINCT(posting_id) FROM `bbs_posting` WHERE `very_good` = '1' ORDER BY `date_added` DESC LIMIT 5

Filename: models/bbs/Bbs_model.php

Line Number: 131