:(

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语句 ] : UPDATE smi_travel SET click = click + 1 where id =

错误位置

FILE: /home/silver/public_html/source/Lib/Driver/Db/DbMysql.class.php  LINE: 320

TRACE

[19-03-23 07:40:03] /home/silver/public_html/source/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语句 ] : UPDATE smi_travel SET click = click + 1 where id = , , ERR)
[19-03-23 07:40:03] /home/silver/public_html/source/Lib/Driver/Db/DbMysql.class.php (133) DbMysql->error()
[19-03-23 07:40:03] /home/silver/public_html/source/Lib/Core/Model.class.php (1094) DbMysql->execute(UPDATE smi_travel SET click = click + 1 where id = )
[19-03-23 07:40:03] /home/silver/public_html/apps/Lib/Action/En/TravelAction.class.php (49) Model->execute(UPDATE __TABLE__ SET click = click + 1 where id = )
[19-03-23 07:40:03] () TravelAction->traveldetail()
[19-03-23 07:40:03] /home/silver/public_html/source/Lib/Core/App.class.php (169) ReflectionMethod->invoke()
[19-03-23 07:40:03] /home/silver/public_html/source/Lib/Core/App.class.php (205) App::exec()
[19-03-23 07:40:03] /home/silver/public_html/source/Lib/Core/Think.class.php (39) App::run()
[19-03-23 07:40:03] /home/silver/public_html/source/Common/runtime.php (243) Think::start()
[19-03-23 07:40:03] /home/silver/public_html/source/ThinkPHP.php (30) require(/home/silver/public_html/source/Common/runtime.php)
[19-03-23 07:40:03] /home/silver/public_html/index.php (20) require(/home/silver/public_html/source/ThinkPHP.php)