Bravo List
Go Back   > Bravo List > Source Code > Archived Trackers > SZ Edition
Old 13th July 2008, 16:27
VarcoAlex's Avatar
VarcoAlex VarcoAlex is offline
Join Date: Jun 2008
Posts: 9
Default Error
I get this error when i download from someone...

Failure : Peer select error
What's the problem?
Reply With Quote
Old 13th July 2008, 18:17
Nafania's Avatar
Nafania Nafania is offline
TB Dev SZ Developer
Join Date: Feb 2008
Posts: 31
Default Re: Error

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

if( !($result = $db->sql_query($sql)) ) {
   err('peer select error');
and replace with:

if( !($result = $db->sql_query($sql)) ) {
$error = $db->sql_error();
   err('peer select error ' . $error['message']);
Then run this queries in you database:

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));
Reply With Quote


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
help error, http error and invalid passkey thereal Torrent Strike 0 9th April 2009 02:07
URGENT !! Parse error: syntax error sharpe Torrent Strike 8 24th September 2008 15:10

All times are GMT +2. The time now is 04:04. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2021, vBulletin Solutions Inc.