:(

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 lang="jp" LIMIT 1' at line 1 [ SQL语句 ] : SELECT * FROM `app_article` WHERE lid= and lang="jp" LIMIT 1

错误位置

FILE: /wwwroot/geniceled.com/Web/Core/Lib/Driver/Db/DbMysql.class.php  LINE: 320

TRACE

[18-10-20 06:20:10] /wwwroot/geniceled.com/Web/Core/Lib/Driver/Db/DbMysql.class.php (320) trace(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 lang="jp" LIMIT 1' at line 1
[ SQL语句 ] : SELECT * FROM `app_article` WHERE lid= and lang="jp" LIMIT 1 , , ERR)
[18-10-20 06:20:10] /wwwroot/geniceled.com/Web/Core/Lib/Driver/Db/DbMysql.class.php (107) DbMysql->error()
[18-10-20 06:20:10] /wwwroot/geniceled.com/Web/Core/Lib/Core/Db.class.php (739) DbMysql->query(SELECT * FROM `app_article` WHERE lid= and lang="jp" LIMIT 1 )
[18-10-20 06:20:10] /wwwroot/geniceled.com/Web/Core/Lib/Core/Model.class.php (597) Db->select(Array)
[18-10-20 06:20:10] /wwwroot/geniceled.com/Web/App/Lib/Action/HomeCommonAction.class.php (267) Model->find()
[18-10-20 06:20:10] /wwwroot/geniceled.com/Web/App/Lib/Action/Home/ArticleAction.class.php (11) HomeCommonAction->_detail()
[18-10-20 06:20:10] () ArticleAction->detail()
[18-10-20 06:20:10] /wwwroot/geniceled.com/Web/Core/Lib/Core/App.class.php (172) ReflectionMethod->invoke()
[18-10-20 06:20:10] /wwwroot/geniceled.com/Web/Core/Lib/Core/App.class.php (208) App::exec()
[18-10-20 06:20:10] /wwwroot/geniceled.com/Web/Core/Lib/Core/Think.class.php (39) App::run()
[18-10-20 06:20:10] /wwwroot/geniceled.com/Web/Core/Common/runtime.php (243) Think::start()
[18-10-20 06:20:10] /wwwroot/geniceled.com/Web/Core/ThinkPHP.php (30) require(/wwwroot/geniceled.com/Web/Core/Common/runtime.php)
[18-10-20 06:20:10] /wwwroot/geniceled.com/index.php (23) require(/wwwroot/geniceled.com/Web/Core/ThinkPHP.php)