Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Torrent Trader (http://www.bvlist.com/forumdisplay.php?f=29)
-   -   µTorrent (3.4.1 build 30888) - Missing key: peer_id (http://www.bvlist.com/showthread.php?t=9876)

Pej4o 20th April 2014 18:19

µTorrent (3.4.1 build 30888) - Missing key: peer_id
 
I have a script TorrentTrader v2.0.8

I have a problem with newer versions of BitTorrent Stable (7.9.1) and µTorrent Stable (3.4.1).The older versions have no problem µTorrent Stable (3.3.2).

Here's the problem:

http://i750.photobucket.com/albums/x...psee0800a9.png

:sos:

mqxxou 22nd June 2014 23:55

Hi :)
Im' not sure it's your torrent client.

Try to search in announce.php :

Code:

foreach (array("passkey","info_hash","peer_id","port","downloaded","uploaded","left") as $x)
        if (!isset($$x)) // problem here, a $ is on more ...
                err("Missing key: $x");

replace by

Code:

foreach (array("passkey","info_hash","peer_id","port","downloaded","uploaded","left") as $x)
        if (!isset($x))  // now it's ok
                err("Missing key: $x");

Good luck.

joeroberts 23rd June 2014 00:05

Quote:

Originally Posted by mqxxou (Post 44674)
Hi :)
Im' not sure it's your torrent client.

Try to search in announce.php :

Code:

foreach (array("passkey","info_hash","peer_id","port","downloaded","uploaded","left") as $x)
    if (!isset($$x)) // problem here, a $ is on more ...
        err("Missing key: $x");

replace by

Code:

foreach (array("passkey","info_hash","peer_id","port","downloaded","uploaded","left") as $x)
    if (!isset($x))  // now it's ok
        err("Missing key: $x");

Good luck.

that well NEVER work Right

your looking for the $peer_id so if your tring to see if it is there you have to use $$x
$x well be the word(txt) peer_id so just using $peer_id all you well get is
peer_id
But $$x you well get
$peer_id


All times are GMT +2. The time now is 14:53.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.