mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
some more bugfixes
This commit is contained in:
parent
b92d4ecff2
commit
a295a0b399
@ -3,7 +3,7 @@ CREATE TABLE `transaction_creations` (
|
|||||||
`transaction_id` int(10) unsigned NOT NULL,
|
`transaction_id` int(10) unsigned NOT NULL,
|
||||||
`state_user_id` int(10) unsigned NOT NULL,
|
`state_user_id` int(10) unsigned NOT NULL,
|
||||||
`amount` bigint(20) NOT NULL,
|
`amount` bigint(20) NOT NULL,
|
||||||
`ident_hash` binary(32) NOT NULL,
|
`ident_hash` binary(32) NULL,
|
||||||
`target_date` timestamp NULL DEFAULT NULL,
|
`target_date` timestamp NULL DEFAULT NULL,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||||
|
|||||||
@ -427,6 +427,6 @@ return [
|
|||||||
],
|
],
|
||||||
'ServerAdminEmail' => 'info@gradido.net',
|
'ServerAdminEmail' => 'info@gradido.net',
|
||||||
'noReplyEmail' => 'no-reply@gradido.net',
|
'noReplyEmail' => 'no-reply@gradido.net',
|
||||||
'disableEmail' => false
|
'disableEmail' => true
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
INSERT INTO `groups` (`id`, `alias`, `name`, `url`, `host`, `home`, `description`) VALUES
|
INSERT INTO `groups` (`id`, `alias`, `name`, `url`, `host`, `home`, `description`) VALUES
|
||||||
(2, 'docker', 'docker gradido group', 'localhost', 'nginx', '/', 'gradido test group for docker and stage2 with blockchain db');
|
(1, 'docker', 'docker gradido group', 'localhost', 'nginx', '/', 'gradido test group for docker and stage2 with blockchain db');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
INSERT INTO `groups` (`id`, `alias`, `name`, `url`, `home`, `description`) VALUES
|
INSERT INTO `groups` (`id`, `alias`, `name`, `url`, `host`, `home`, `description`) VALUES
|
||||||
(1, 'dockerStage2', 'docker stage2 gradido group', 'localhost', '/', 'gradido test group for docker and stage2');
|
(2, 'dockerStage2', 'docker stage2 gradido group', 'localhost', 'nginx', '/', 'gradido test group for docker and stage2');
|
||||||
|
|
||||||
INSERT INTO `hedera_ids` (`id`, `shardNum`, `realmNum`, `num`) VALUES
|
INSERT INTO `hedera_ids` (`id`, `shardNum`, `realmNum`, `num`) VALUES
|
||||||
(1, 0, 0, 3),
|
(1, 0, 0, 3),
|
||||||
@ -7,7 +7,7 @@ INSERT INTO `hedera_ids` (`id`, `shardNum`, `realmNum`, `num`) VALUES
|
|||||||
(3, 0, 0, 413151);
|
(3, 0, 0, 413151);
|
||||||
|
|
||||||
INSERT INTO `node_servers` (`id`, `url`, `port`, `group_id`, `server_type`, `node_hedera_id`, `last_live_sign`) VALUES
|
INSERT INTO `node_servers` (`id`, `url`, `port`, `group_id`, `server_type`, `node_hedera_id`, `last_live_sign`) VALUES
|
||||||
(1, 'http://0.testnet.hedera.com', 50211, 0, 4, 1, '2000-01-01 00:00:00');
|
(1, 'http://0.testnet.hedera.com', 50211, 0, 4, 2, '2000-01-01 00:00:00');
|
||||||
|
|
||||||
INSERT INTO `hedera_accounts` (`id`, `user_id`, `account_hedera_id`, `account_key_id`, `balance`, `network_type`, `updated`) VALUES
|
INSERT INTO `hedera_accounts` (`id`, `user_id`, `account_hedera_id`, `account_key_id`, `balance`, `network_type`, `updated`) VALUES
|
||||||
(1, 1, 2, 1, 1000000000000, 1, '2021-01-07 10:22:52');
|
(1, 1, 2, 1, 1000000000000, 1, '2021-01-07 10:22:52');
|
||||||
|
|||||||
@ -136,6 +136,8 @@ JsonRequestReturn JsonRequest::request(const char* methodName, const Poco::JSON:
|
|||||||
}
|
}
|
||||||
catch (Poco::Exception& e) {
|
catch (Poco::Exception& e) {
|
||||||
addError(new ParamError(functionName, "connect error to php server", e.displayText().data()));
|
addError(new ParamError(functionName, "connect error to php server", e.displayText().data()));
|
||||||
|
addError(new ParamError(functionName, "host", mServerHost));
|
||||||
|
addError(new ParamError(functionName, "port", mServerPort));
|
||||||
sendErrorsAsEmail();
|
sendErrorsAsEmail();
|
||||||
return JSON_REQUEST_CONNECT_ERROR;
|
return JSON_REQUEST_CONNECT_ERROR;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user