| 18:14:04.940 | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
| 18:14:04.940 | trace | yii\base\Module::getModule | Loading module: debug |
| 18:14:04.941 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() |
| 18:14:04.941 | trace | yii\redis\Connection::open | Opening redis DB connection: redis.server.local:6379, database=1 |
| 18:14:04.941 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT |
| 18:14:04.941 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:14:04.942 | info | time tracing start | 1784196844942306048 |
| 18:14:04.942 | trace | yii\web\UrlManager::parseRequest | No matching URL rules. Using default URL parsing logic. |
| 18:14:04.942 | trace | yii\web\Application::handleRequest | Route requested: 'ledger/settings/save-new-account-caption-auxiliary-opening' |
| 18:14:04.942 | trace | yii\base\Module::getModule | Loading module: ledger |
| 18:14:04.943 | info | yii\web\Session::open | Session started |
| 18:14:04.944 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "id"=1013 |
| 18:14:04.944 | info | yii\db\Connection::open | Opening DB connection: pgsql:host=postgresql.server.local;port=5432;dbname=beta |
| 18:14:04.947 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:14:04.947 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:14:04.948 | info | yii\db\Command::query | SELECT * FROM "global"."vw_user_login" WHERE "ledger_access_token"='fm5QrMzndTK8qE2wxJ4UQJeJaYto4p5c' |
| 18:14:04.949 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:14:04.949 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:14:04.949 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001 |
| 18:14:04.950 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_ledgers" WHERE "id"='1' |
| 18:14:04.951 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:14:04.951 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:14:04.951 | trace | yii\base\Controller::runAction | Route to run: ledger/settings/save-new-account-caption-auxiliary-opening |
| 18:14:04.952 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\ledger\controllers\SettingsController::actionSaveNewAccountCaptionAuxiliaryOpening() |
| 18:14:04.952 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_settles" WHERE ("ledger_id"='1') AND ("is_settle"=TRUE)) |
| 18:14:04.954 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:14:04.954 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:14:04.954 | info | yii\db\Command::query | SELECT COALESCE(max("sort"), 0) + 1 FROM "a57be577deb434"."tbl_ledger_auxiliary_opening_balances" WHERE ("ledger_id"='1') AND ("ledger_account_caption_id"='32') |
| 18:14:04.956 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledgers" WHERE "id"='1') |
| 18:14:04.956 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE "id"='32') |
| 18:14:04.957 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_auxiliary_items" WHERE "id"='1') |
| 18:14:04.958 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1001) |
| 18:14:04.958 | info | yii\db\Command::query | SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("id"='32') AND ("ledger_id"='1') |
| 18:14:04.959 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("ledger_id"='1') AND ("parent_id"='32')) |
| 18:14:04.959 | info | yii\db\Command::query | SELECT "id", "type" FROM "a57be577deb434"."tbl_ledger_auxiliary_items" WHERE ("id"='1') AND ("ledger_id"='1') |
| 18:14:04.960 | info | yii\db\Command::query | SELECT "id", "is_auxiliary_customer", "is_auxiliary_supplier" FROM "a57be577deb434"."tbl_ledger_account_captions" WHERE ("id"='32') AND ("ledger_id"='1') |
| 18:14:04.960 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM "a57be577deb434"."tbl_ledger_auxiliary_opening_balances" WHERE ("ledger_id"='1') AND ("ledger_account_caption_id"='32') AND ("auxiliary_item_id"='1')) |
| 18:14:04.961 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:14:04.961 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: MGET |
| 18:14:04.962 | info | yii\db\Command::query | INSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "url", "request", "response", "php_error", "time", "duration") VALUES (200, 'a57be577deb434', 1001, 6, 'ledger/settings/save-new-account-caption-auxiliary-opening', '{"access_token":"fm5QrMzndTK8qE2wxJ4UQJeJaYto4p5c","ledger_id":"1","LedgerAuxiliaryOpeningBalances":{"ledger_account_caption_id":"32","auxiliary_item_id":"1","amount":"5","opening_debit_amount":"5","opening_credit_amount":"5"},"web_access_token":"fm5QrMzndTK8qE2wxJ4UQJeJaYto4p5c"}', '{"code":500,"result":{},"status":0,"msg":[{"name":"auxiliary_item_id","success":"","error":"\u8be5\u8f85\u52a9\u6838\u7b97\u660e\u7ec6\u5df2\u5b58\u5728"}],"mod":0,"ip":"114.244.130.25","ua":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10.15; rv:152.0) Gecko\/20100101 Firefox\/152.0"}', FALSE, '2026-07-16 18:14:04', 19593984) RETURNING "id" |
| 18:14:04.964 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET |
| 18:14:04.964 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |