10:12:42.444 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
10:12:42.444 | trace | yii\base\Module::getModule | Loading module: debug |
10:12:42.445 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
10:12:42.445 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
10:12:42.445 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
10:12:42.445 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:12:42.445 | trace | yii\base\Module::getModule | Loading module: gii |
10:12:42.445 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() |
10:12:42.445 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
10:12:42.445 | trace | yii\web\Application::handleRequest | Route requested: 'v2/approve/save-edit' |
10:12:42.445 | trace | yii\base\Module::getModule | Loading module: v2 |
10:12:42.446 | info | yii\web\Session::open | Session started |
10:12:42.446 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
10:12:42.448 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "access_token"='rpAaho7HBg3VJ1vNP7yVtm0Uw5j2xu-u' |
10:12:42.451 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:12:42.451 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:12:42.451 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:12:42.452 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:12:42.452 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
10:12:42.453 | trace | yii\base\Controller::runAction | Route to run: v2/approve/save-edit |
10:12:42.453 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:12:42.454 | trace | uranus\rbac\DbManager::checkAccessFromCache | Checking role: Admin |
10:12:42.454 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\v2\controllers\ApproveController::actionSaveEdit() |
10:12:42.454 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_approves" WHERE "id"='1731' |
10:12:42.455 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:12:42.455 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:12:42.455 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:12:42.456 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:12:42.457 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'attachmentFiles' in 'app\models\Approves'. |
10:12:42.457 | trace | yii\base\Model::onUnsafeAttribute | Failed to set unsafe attribute 'id' in 'app\models\Approves'. |
10:12:42.457 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815') |
10:12:42.457 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3805') |
10:12:42.458 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
10:12:42.458 | info | yii\db\Command::execute | |
10:12:42.459 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE "object_id"=1731 |
10:12:42.459 | 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:12:42.460 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:12:42.460 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:12:42.460 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_term_taxonomy_relationships" WHERE ("object_id"=1731) AND ("term_id"=17) |
10:12:42.461 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:12:42.461 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:12:42.461 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_term_taxonomies" WHERE "id"='317') |
10:12:42.461 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_terms" WHERE "id"=17) |
10:12:42.462 | 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:12:42.463 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:12:42.463 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:12:42.463 | 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', 118051, 'a:7:{s:2:"id";i:118051;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:12:42.464 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815') |
10:12:42.465 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3805') |
10:12:42.465 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000) |
10:12:42.466 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_approves" SET "client_id"=2815, "project_id"=3805 WHERE "id"=1731 |
10:12:42.466 | 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:12:42.467 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=28) AND ("object_id"=1731) |
10:12:42.469 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:12:42.469 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:12:42.469 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:12:42.469 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:12:42.469 | 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()', '[[]]', '[[24781,24782]]', '{"d1":"\u66f9\u6c38\u751f","d2":"\u66f4\u65b0\u4e86","d3":"\u56fe\u7247","d4":[""]}') |
10:12:42.470 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=28) AND ("object_id"=1731) |
10:12:42.472 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_approve_verify_rels" WHERE "approve_id"=1731 ORDER BY "id" |
10:12:42.472 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:12:42.472 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:12:42.473 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_approve_verify_rels" WHERE "approve_id"=1731 |
10:12:42.473 | info | yii\db\Command::execute | INSERT INTO "a57be577deb434"."tbl_approve_verify_rels" ("approve_id", "user_id", "status") VALUES (1731, 1000, 0) |
10:12:42.474 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_approve_carbon_copy_rels" WHERE "approve_id"=1731 |
10:12:42.475 | info | yii\db\Command::execute | DELETE FROM "a57be577deb434"."tbl_approve_carbon_copy_rels" WHERE "approve_id"=1731 |
10:12:42.476 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_approve_verify_rels" WHERE ("approve_id"=1731) AND ("status"=0) ORDER BY "id" |
10:12:42.476 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_approves" SET "updated_at"='now()' WHERE "id"=1731 |
10:12:42.477 | 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:12:42.478 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000 |
10:12:42.478 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_approve_verify_rels" WHERE ("status"=0) AND ("approve_id"=1731) ORDER BY "id" |
10:12:42.479 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:12:42.479 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:12:42.479 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"='2815' |
10:12:42.480 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_clients" SET "updated_at"='now()' WHERE "id"=2815 |
10:12:42.482 | 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:12:42.490 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:12:42.490 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:12:42.490 | 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:12:42.491 | 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', 165008, 'a:5:{s:2:"id";i:165008;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:12:42.492 | 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:12:42.493 | 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:12:42.494 | 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', 509607, 'a:13:{s:2:"id";i:509607;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:12:42.495 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:12:42.495 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:12:42.495 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3805' |
10:12:42.496 | info | yii\db\Command::execute | UPDATE "a57be577deb434"."tbl_projects" SET "updated_at"='now()' WHERE "id"=3805 |
10:12:42.497 | 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:12:42.499 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:12:42.499 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:12:42.499 | 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:12:42.500 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
10:12:42.500 | 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:12:42.501 | 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', 509608, 'a:13:{s:2:"id";i:509608;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:12:42.502 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_projects" WHERE "id"='3805' |
10:12:42.503 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_clients" WHERE "id"=2815 |
10:12:42.503 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:12:42.503 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:12:42.503 | 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:12:42.504 | 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', 136895, 'a:15:{s:2:"id";i:136895;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:12:42.505 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
10:12:42.505 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
10:12:42.505 | 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:12:42') RETURNING "id" |