:(

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 [ SQL语句 ] : SELECT `cid` FROM `app_category` WHERE lang="enus" and fid=

错误位置

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

TRACE

[18-07-16 12:40:07] /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 '' at line 1
[ SQL语句 ] : SELECT `cid` FROM `app_category` WHERE lang="enus" and fid= , , ERR)
[18-07-16 12:40:07] /wwwroot/geniceled.com/Web/Core/Lib/Driver/Db/DbMysql.class.php (107) DbMysql->error()
[18-07-16 12:40:07] /wwwroot/geniceled.com/Web/Core/Lib/Core/Db.class.php (739) DbMysql->query(SELECT `cid` FROM `app_category` WHERE lang="enus" and fid= )
[18-07-16 12:40:07] /wwwroot/geniceled.com/Web/Core/Lib/Core/Model.class.php (497) Db->select(Array)
[18-07-16 12:40:07] /wwwroot/geniceled.com/Web/App/Common/common.php (944) Model->select()
[18-07-16 12:40:07] /wwwroot/geniceled.com/Web/App/Lib/Action/HomeCommonAction.class.php (190) childstr()
[18-07-16 12:40:07] /wwwroot/geniceled.com/Web/App/Lib/Action/Home/ProductAction.class.php (28) HomeCommonAction->_index(, , , , )
[18-07-16 12:40:07] () ProductAction->index()
[18-07-16 12:40:07] /wwwroot/geniceled.com/Web/Core/Lib/Core/App.class.php (172) ReflectionMethod->invoke()
[18-07-16 12:40:07] /wwwroot/geniceled.com/Web/Core/Lib/Core/App.class.php (208) App::exec()
[18-07-16 12:40:07] /wwwroot/geniceled.com/Web/Core/Lib/Core/Think.class.php (39) App::run()
[18-07-16 12:40:07] /wwwroot/geniceled.com/Web/Core/Common/runtime.php (243) Think::start()
[18-07-16 12:40:07] /wwwroot/geniceled.com/Web/Core/ThinkPHP.php (30) require(/wwwroot/geniceled.com/Web/Core/Common/runtime.php)
[18-07-16 12:40:07] /wwwroot/geniceled.com/index.php (23) require(/wwwroot/geniceled.com/Web/Core/ThinkPHP.php)