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

Code:
Failure : Peer select error
What's the problem?
Reply With Quote
  #2  
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
[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));
Reply With Quote
Reply

Tags
error

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.