10:13:17.575 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
10:13:17.575 | trace | yii\base\Module::getModule | Loading module: debug |
10:13:17.575 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
10:13:17.575 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
10:13:17.575 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
10:13:17.575 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:13:17.575 | trace | yii\base\Module::getModule | Loading module: gii |
10:13:17.576 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
10:13:17.576 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
10:13:17.576 | trace | yii\web\Application::handleRequest | Route requested: 'v2/approve/save-edit' |
10:13:17.576 | trace | yii\base\Module::getModule | Loading module: v2 |
10:13:17.576 | info | yii\web\Session::open | Session started |
10:13:17.577 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
10:13:17.578 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='rpAaho7HBg3VJ1vNP7yVtm0Uw5j2xu-u' |
10:13:17.581 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:13:17.582 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:13:17.582 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:13:17.582 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:13:17.582 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
10:13:17.583 | trace | yii\base\Controller::runAction | Route to run: v2/approve/save-edit |
10:13:17.583 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:13:17.584 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
10:13:17.584 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ApproveController::actionSaveEdit() |
10:13:17.584 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_approves" WHERE "id"='1731' |
10:13:17.585 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:13:17.585 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:13:17.585 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:13:17.586 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:13:17.587 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'attachmentFiles' in 'app\models\Approves'. |
10:13:17.587 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\Approves'. |
10:13:17.587 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815') |
10:13:17.588 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3805') |
10:13:17.588 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
10:13:17.589 | info | yii\db\Command::execute | |
10:13:17.589 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=1731 |
10:13:17.589 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE ("term_id"=17) AND ("id" IN (231, 213, 128, 179, 181, 166, 184, 200, 317, 374)) |
10:13:17.590 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:13:17.590 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:13:17.590 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=1731) AND ("term_id"=17) |
10:13:17.591 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:13:17.591 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:13:17.591 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='317') |
10:13:17.591 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_terms" WHERE "id"=17) |
10:13:17.592 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_term_taxonomy_relationships" ("term_id", "taxonomy_id", "object_id") VALUES (17, 317, 1731) RETURNING "id" |
10:13:17.593 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:13:17.593 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:13:17.593 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\TermTaxonomyRelationships', 118053, 'a:7:{s:2:"id";i:118053;s:9:"object_id";i:1731;s:11:"taxonomy_id";s:3:"317";s:7:"term_id";i:17;s:5:"value";N;s:11:"object_type";N;s:9:"extra_int";N;}', '', 1000, '223.104.41.148') |
10:13:17.594 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815') |
10:13:17.595 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3805') |
10:13:17.595 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
10:13:17.596 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_approves" SET "client_id"=2815, "project_id"=3805 WHERE "id"=1731 |
10:13:17.596 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Approves', 1731, 'a:0:{}', '', 1000, '223.104.41.148') |
10:13:17.597 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=28) AND ("object_id"=1731) |
10:13:17.599 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:13:17.599 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:13:17.599 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:13:17.599 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:13:17.599 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "created_by", "created_at", "new_value", "old_value", "description") VALUES (2, 'AttachmentRelationships', 1731, 37, 1000, 'now()', '[[]]', '"24783"', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u56fe\u7247","d4":[""]}') |
10:13:17.600 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=28) AND ("object_id"=1731) |
10:13:17.602 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_approve_verify_rels" WHERE "approve_id"=1731 ORDER BY "id" |
10:13:17.602 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:13:17.602 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:13:17.603 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_approve_verify_rels" WHERE "approve_id"=1731 |
10:13:17.603 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_approve_verify_rels" ("approve_id", "user_id", "status") VALUES (1731, 1000, 0) |
10:13:17.605 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_approve_carbon_copy_rels" WHERE "approve_id"=1731 |
10:13:17.605 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_approve_carbon_copy_rels" WHERE "approve_id"=1731 |
10:13:17.606 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_approve_verify_rels" WHERE ("approve_id"=1731) AND ("status"=0) ORDER BY "id" |
10:13:17.606 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_approves" SET "updated_at"='now()' WHERE "id"=1731 |
10:13:17.607 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Approves', 1731, 'a:0:{}', '', 1000, '223.104.41.148') |
10:13:17.608 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
10:13:17.608 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_approve_verify_rels" WHERE ("status"=0) AND ("approve_id"=1731) ORDER BY "id" |
10:13:17.609 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:13:17.609 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:13:17.609 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
10:13:17.610 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=2815 |
10:13:17.612 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_client_am_change_logs" WHERE ("client_id"=2815) AND ("sales_rep" IS NULL) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
10:13:17.620 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:13:17.620 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:13:17.620 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_client_am_change_logs" ("client_id", "sales_rep", "start_from", "end_at") VALUES (2815, 1004, 'now()', NULL) RETURNING "id" |
10:13:17.621 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ClientAmChangeLogs', 165010, 'a:5:{s:2:"id";i:165010;s:9:"client_id";i:2815;s:9:"sales_rep";i:1004;s:10:"start_from";s:5:"now()";s:6:"end_at";N;}', '', 1000, '223.104.41.148') |
10:13:17.622 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Clients', 2815, 'a:0:{}', '', 1000, '223.104.41.148') |
10:13:17.623 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (2, 'update', 2815, 10, 1731, 37, 1000, '1731', '1731', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5ba1\u6279\u7533\u8bf7","d4":["\u5176\u4ed6"]}') RETURNING "id" |
10:13:17.624 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 509613, 'a:13:{s:2:"id";i:509613;s:9:"object_id";s:4:"2815";s:11:"object_type";i:10;s:9:"target_id";i:1731;s:18:"target_object_type";i:37;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:4:"1731";s:9:"new_value";s:4:"1731";s:11:"description";s:107:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5ba1\u6279\u7533\u8bf7","d4":["\u5176\u4ed6"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '223.104.41.148') |
10:13:17.625 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:13:17.625 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:13:17.625 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3805' |
10:13:17.626 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=3805 |
10:13:17.627 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_project_change_logs" WHERE ("project_id"=3805) AND ("end_at" IS NULL) ORDER BY "id" DESC LIMIT 1 |
10:13:17.629 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:13:17.629 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:13:17.629 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('UPDATE', 'app\models\Projects', 3805, 'a:0:{}', '', 1000, '223.104.41.148') |
10:13:17.630 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
10:13:17.630 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_object_change_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "description") VALUES (2, 'update', 3805, 1, 1731, 37, 1000, '1731', '1731', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5ba1\u6279\u7533\u8bf7","d4":["\u5176\u4ed6"]}') RETURNING "id" |
10:13:17.631 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\ObjectChangeLogs', 509614, 'a:13:{s:2:"id";i:509614;s:9:"object_id";s:4:"3805";s:11:"object_type";i:1;s:9:"target_id";i:1731;s:18:"target_object_type";i:37;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:4:"1731";s:9:"new_value";s:4:"1731";s:11:"description";s:107:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5ba1\u6279\u7533\u8bf7","d4":["\u5176\u4ed6"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;}', '', 1000, '223.104.41.148') |
10:13:17.632 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3805' |
10:13:17.632 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
10:13:17.633 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:13:17.633 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:13:17.633 | info | yii\db\Command::query | INSERT INTO "a57be577deb434"."tbl_user_action_logs" ("act", "attribute", "object_id", "object_type", "target_id", "target_object_type", "created_by", "new_value", "old_value", "users", "description") VALUES (2, 'update', 3805, 1, 1731, 37, 1000, '1731', '1731', array[1004], '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5ba1\u6279\u7533\u8bf7","d4":["\u5176\u4ed6"]}') RETURNING "id" |
10:13:17.634 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_action_logs" ("action", "object_type", "object_id", "new_value", "old_value", "created_by", "ip_address") VALUES ('INSERT', 'app\models\UserActionLogs', 136897, 'a:15:{s:2:"id";i:136897;s:9:"object_id";s:4:"3805";s:11:"object_type";i:1;s:9:"target_id";i:1731;s:18:"target_object_type";i:37;s:3:"act";i:2;s:9:"attribute";s:6:"update";s:9:"old_value";s:4:"1731";s:9:"new_value";s:4:"1731";s:5:"users";O:17:"yii\db\Expression":2:{s:10:"expression";s:11:"array[1004]";s:6:"params";a:0:{}}s:11:"description";s:107:"{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u5ba1\u6279\u7533\u8bf7","d4":["\u5176\u4ed6"]}";s:10:"created_by";i:1000;s:10:"created_at";N;s:9:"is_delete";N;s:9:"parent_id";N;}', '', 1000, '223.104.41.148') |
10:13:17.635 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:13:17.635 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:13:17.635 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 2, 1141, 'v2/approve/save-edit', '{"Approves":{"attachmentFiles":"","client_id":"2815","description":"\u51cf\u80a5\u5c31\u51cf\u80a5","form_approveVerifyRels":["1000"],"form_type":"317","id":"1731","project_id":"3805","title":"\u4e0d\u65b9\u4fbf\u5403\u5427"},"access_token":"rpAaho7HBg3VJ1vNP7yVtm0Uw5j2xu-u","device_type":"2","posttime":"1751249536","token":"45824c5e509f79165ed4a2b5ca83b6a5","version_code":"1141"}', '{"code":200,"data":"","status":1,"msg":[{"name":"success","success":"\u5ba1\u6279\u5df2\u88ab\u6210\u529f\u4fee\u6539","error":""}]}', FALSE, '2025-06-30 10:13:17') RETURNING "id" |