:(

Table 'jh_special_topic' is read only [ SQL语句 ] : UPDATE IGNORE `jh_special_topic` SET `read_count`=read_count+1 WHERE id=2

错误位置

FILE: /www/web/32833_com/public_html/core/ThinkPHP/Lib/Driver/Db/DbMysql.class.php  LINE: 320

TRACE

[18-01-19 21:20:01] /www/web/32833_com/public_html/core/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (320) trace(Table 'jh_special_topic' is read only
[ SQL语句 ] : UPDATE IGNORE `jh_special_topic` SET `read_count`=read_count+1 WHERE id=2, , ERR)
[18-01-19 21:20:01] /www/web/32833_com/public_html/core/ThinkPHP/Lib/Driver/Db/DbMysql.class.php (133) DbMysql->error()
[18-01-19 21:20:01] /www/web/32833_com/public_html/core/ThinkPHP/Lib/Core/Db.class.php (702) DbMysql->execute(UPDATE IGNORE `jh_special_topic` SET `read_count`=read_count+1 WHERE id=2)
[18-01-19 21:20:01] /www/web/32833_com/public_html/core/ThinkPHP/Lib/Core/Model.class.php (420) Db->update(Array, Array)
[18-01-19 21:20:01] /www/web/32833_com/public_html/core/ThinkPHP/Lib/Core/Model.class.php (652) Model->save(Array)
[18-01-19 21:20:01] /www/web/32833_com/public_html/core/ThinkPHP/Lib/Core/Model.class.php (663) Model->setField(read_count, Array)
[18-01-19 21:20:01] /www/web/32833_com/public_html/home/Common/common.php (164) Model->setInc(read_count, 1)
[18-01-19 21:20:01] /www/web/32833_com/public_html/home/Lib/Action/IndexAction.class.php (22) one_get_special_topic(pinyin=wulinwaizhuansifu)
[18-01-19 21:20:01] () IndexAction->special_topic()
[18-01-19 21:20:01] /www/web/32833_com/public_html/core/ThinkPHP/Lib/Core/App.class.php (172) ReflectionMethod->invoke()
[18-01-19 21:20:01] /www/web/32833_com/public_html/core/ThinkPHP/Lib/Core/App.class.php (208) App::exec()
[18-01-19 21:20:01] /www/web/32833_com/public_html/core/ThinkPHP/Lib/Core/Think.class.php (39) App::run()
[18-01-19 21:20:01] /www/web/32833_com/public_html/core/ThinkPHP/Common/runtime.php (243) Think::start()
[18-01-19 21:20:01] /www/web/32833_com/public_html/core/ThinkPHP/ThinkPHP.php (30) require(/www/web/32833_com/public_html/core/ThinkPHP/Common/runtime.php)
[18-01-19 21:20:01] /www/web/32833_com/public_html/index.php (9) require(/www/web/32833_com/public_html/core/ThinkPHP/ThinkPHP.php)