Thread: Announce Error
View Single Post
  #3  
Old 6th August 2021, 08:44
xblade's Avatar
xblade xblade is offline
Cod3r
 
Join Date: Nov 2020
P2P
Posts: 239
Default
yes the bigint signed 20
ive looked at github for fix in the announce.php took it and its the same as ive got i checked the update set it to the announce.php and all torrents went dead

From

Code:
            die();
        }
        if ($self["seconds"] != 0){
                $upload_speed = round(($self["uploaded"] - $uploaded) / $self["seconds"]);
                $download_speed = round(($self["downloaded"] - $downloaded) / $self["seconds"] );
                $updateset[] = "speed = speed - '".$self["upload_speed"]."' + '".$upload_speed."'";
        } else {
                $upload_speed = 0;
                $download_speed = 0;
        }
To

Code:
            die();
        }
        if ($self["seconds"] != 0){
                $upload_speed = round(($uploaded - $self["uploaded"]) / $self["seconds"]);
                $download_speed = round(($downloaded - $self["downloaded"]) / $self["seconds"] );
                $upload_speed = round(($self["uploaded"] - $uploaded) / $self["seconds"]);
                $download_speed = round(($self["downloaded"] - $downloaded) / $self["seconds"] );
                $updateset[] = "speed = speed - '".$self["upload_speed"]."' + '".$upload_speed."'";
        } else {
                $upload_speed = 0;
        }
Bump: its the same for every user on site who downloads a torrent get this error in there utorrent or what ever users are using

Bump: its the same for every user on site who downloads a torrent get this error in there utorrent or what ever users are using

Bump: ive fixed it seeding ok now no errors
Reply With Quote