A PHP Error was encountered

Severity: Warning

Message: Missing argument 1 for Home::news()

Filename: controllers/Home.php

Line Number: 359

Backtrace:

File: /var/www/html/application/controllers/Home.php
Line: 359
Function: _error_handler

File: /var/www/html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined variable: nid

Filename: controllers/Home.php

Line Number: 363

Backtrace:

File: /var/www/html/application/controllers/Home.php
Line: 363
Function: _error_handler

File: /var/www/html/index.php
Line: 292
Function: require_once

Database Error

数据库发生错误。

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 n.id = nml.nid AND nml.lang = 'cn'' at line 1

SELECT * FROM l_news n,l_news_multi_lang nml WHERE n.id = AND n.id = nml.nid AND nml.lang = 'cn'

Filename: models/News.php

Line Number: 22