:(

Table 'chenya_article' is read only [ SQL语句 ] : UPDATE `chenya_article` SET `hits`=hits+1 WHERE ( `id` = 982 ) AND ( `status` = 1 )

错误位置

FILE: /www/wwwroot/www.shanhe01.com/_core/Lib/Driver/Db/DbMysql.class.php  LINE: 320

TRACE

[20-01-17 23:56:01] /www/wwwroot/www.shanhe01.com/_core/Lib/Driver/Db/DbMysql.class.php (320) trace(Table 'chenya_article' is read only
[ SQL语句 ] : UPDATE `chenya_article` SET `hits`=hits+1 WHERE ( `id` = 982 ) AND ( `status` = 1 ), , ERR)
[20-01-17 23:56:01] /www/wwwroot/www.shanhe01.com/_core/Lib/Driver/Db/DbMysql.class.php (133) DbMysql->error()
[20-01-17 23:56:01] /www/wwwroot/www.shanhe01.com/_core/Lib/Core/Db.class.php (702) DbMysql->execute(UPDATE `chenya_article` SET `hits`=hits+1 WHERE ( `id` = 982 ) AND ( `status` = 1 ))
[20-01-17 23:56:01] /www/wwwroot/www.shanhe01.com/_core/Lib/Core/Model.class.php (420) Db->update(Array, Array)
[20-01-17 23:56:01] /www/wwwroot/www.shanhe01.com/_core/Lib/Core/Model.class.php (652) Model->save(Array)
[20-01-17 23:56:01] /www/wwwroot/www.shanhe01.com/_core/Lib/Core/Model.class.php (663) Model->setField(hits, Array)
[20-01-17 23:56:01] /www/wwwroot/www.shanhe01.com/app/Lib/Action/home/news_listAction.class.php (41) Model->setInc(hits)
[20-01-17 23:56:01] () news_listAction->news_content()
[20-01-17 23:56:01] /www/wwwroot/www.shanhe01.com/_core/Lib/Core/App.class.php (169) ReflectionMethod->invoke()
[20-01-17 23:56:01] /www/wwwroot/www.shanhe01.com/_core/Lib/Core/App.class.php (205) App::exec()
[20-01-17 23:56:01] /www/wwwroot/www.shanhe01.com/_core/Lib/Core/Think.class.php (39) App::run()
[20-01-17 23:56:01] /www/wwwroot/www.shanhe01.com/_core/Common/runtime.php (243) Think::start()
[20-01-17 23:56:01] /www/wwwroot/www.shanhe01.com/_core/chenya.php (30) require(/www/wwwroot/www.shanhe01.com/_core/Common/runtime.php)
[20-01-17 23:56:01] /www/wwwroot/www.shanhe01.com/index.php (22) require(/www/wwwroot/www.shanhe01.com/_core/chenya.php)