Open announce.php and find:
Replace with
Execute SQL
Now just monitor that table. It will fill up fast, but at least you know whats going on now. I assume the error reports are consistent with common problems, but its a old file so it will require some long term observation.
function err($msg) {
return benc_resp_raw("d".benc_str("failure reason").benc_str($msg)."e");
}
Replace with
function err($msg) {
SQL_Query_exec("INSERT INTO announce_log (message, added) VALUES ('$msg', NOW())");
return benc_resp_raw("d".benc_str("failure reason").benc_str($msg)."e");
}
Execute SQL
CREATE TABLE `announce_log` (
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`message` VARCHAR(255) NULL DEFAULT NULL COLLATE 'latin1_swedish_ci',
`added` DATETIME NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
);
Now just monitor that table. It will fill up fast, but at least you know whats going on now. I assume the error reports are consistent with common problems, but its a old file so it will require some long term observation.
Last edited by STorrents2020 on 2023-01-04 23:28:57