A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/News.php

Line Number: 170

Backtrace:

File: /www/wwwroot/tpl.com/application/controllers/News.php
Line: 170
Function: _error_handler

File: /www/wwwroot/tpl.com/index.php
Line: 629
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 '' at line 1

select menu.* from menu where menuid=

Filename: models/Menu_model.php

Line Number: 362