:(

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 'LIMIT 1' at line 1 [ SQL语句 ] : SELECT `appellation_en` FROM `dw_productcate` WHERE id= LIMIT 1

错误位置

FILE: D:\wwwroot\oumer\wwwroot\ThinkPHP\Lib\Driver\Db\DbMysql.class.php  LINE: 320

TRACE

[24-03-29 03:29:03] D:\wwwroot\oumer\wwwroot\ThinkPHP\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 'LIMIT 1' at line 1
[ SQL语句 ] : SELECT `appellation_en` FROM `dw_productcate` WHERE id= LIMIT 1 , , ERR)
[24-03-29 03:29:03] D:\wwwroot\oumer\wwwroot\ThinkPHP\Lib\Driver\Db\DbMysql.class.php (107) DbMysql->error()
[24-03-29 03:29:03] D:\wwwroot\oumer\wwwroot\ThinkPHP\Lib\Core\Db.class.php (739) DbMysql->query(SELECT `appellation_en` FROM `dw_productcate` WHERE id= LIMIT 1 )
[24-03-29 03:29:03] D:\wwwroot\oumer\wwwroot\ThinkPHP\Lib\Core\Model.class.php (713) Db->select(Array)
[24-03-29 03:29:03] D:\wwwroot\oumer\wwwroot\Action\Home\ProductAction.class.php (119) Model->getField(appellation_en)
[24-03-29 03:29:03] () ProductAction->detail(1391)
[24-03-29 03:29:03] D:\wwwroot\oumer\wwwroot\ThinkPHP\Lib\Core\App.class.php (170) ReflectionMethod->invokeArgs(, Array)
[24-03-29 03:29:03] D:\wwwroot\oumer\wwwroot\ThinkPHP\Lib\Core\App.class.php (208) App::exec()
[24-03-29 03:29:03] D:\wwwroot\oumer\wwwroot\ThinkPHP\Lib\Core\Think.class.php (39) App::run()
[24-03-29 03:29:03] D:\wwwroot\oumer\wwwroot\ThinkPHP\Common\runtime.php (243) Think::start()
[24-03-29 03:29:03] D:\wwwroot\oumer\wwwroot\ThinkPHP\ThinkPHP.php (30) require(D:\wwwroot\oumer\wwwroot\ThinkPHP\Common\runtime.php)
[24-03-29 03:29:03] D:\wwwroot\oumer\wwwroot\index.php (11) require(D:\wwwroot\oumer\wwwroot\ThinkPHP\ThinkPHP.php)