Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   SZ Edition (http://www.bvlist.com/forumdisplay.php?f=24)
-   -   Error (http://www.bvlist.com/showthread.php?t=615)

VarcoAlex 13th July 2008 16:27

Error
 
I get this error when i download from someone...

Code:

Failure : Peer select error
What's the problem?

Nafania 13th July 2008 18:17

Re: Error
 
[hr:1i7h65u2]
http://tbdevsz.ru/viewtopic.php?f=16&t=97

Find folowing lines in announce.php (they meets 2 times):

Code:

if( !($result = $db->sql_query($sql)) ) {
  err('peer select error');
}

and replace with:

Code:

if( !($result = $db->sql_query($sql)) ) {
$error = $db->sql_error();
  err('peer select error ' . $error['message']);
}

Then run this queries in you database:

Code:

ALTER TABLE `peers` DROP INDEX `peer_id` ;
ALTER TABLE `peers` CHANGE `peer_id` `peer_id` BLOB NOT NULL ;
CREATE INDEX peer_id ON peers (`peer_id`(20));



All times are GMT +2. The time now is 08:35.

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