Members   Search      Help    Register    Login    Home
Home » Support Forums for PMBT 1.X » Bug Reports » Can't download a torrent ?
Can't download a torrent ? [message #1870] Fri, 21 March 2008 20:00 Go to next message
Fabiolas is currently offline Fabiolas  Portugal
Messages: 2
Registered: March 2008
Location: Portugal
Leecher
When i try to download a torrent i get blank screen.. what is that?


thx in advance.
Re: Can't download a torrent ? [message #1871 is a reply to message #1870] Sat, 22 March 2008 00:44 Go to previous messageGo to next message
joeroberts is currently offline joeroberts  United States
Messages: 1971
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer
what version of pmbt?

http://a.imageshack.us/img831/5562/mybikes.png
Re: Can't download a torrent ? [message #1872 is a reply to message #1870] Sat, 22 March 2008 10:07 Go to previous messageGo to next message
Fabiolas is currently offline Fabiolas  Portugal
Messages: 2
Registered: March 2008
Location: Portugal
Leecher
phpMyBitTorrent V 1.2.2
Re: Can't download a torrent ? [message #1873 is a reply to message #1872] Sat, 22 March 2008 11:56 Go to previous messageGo to next message
joeroberts is currently offline joeroberts  United States
Messages: 1971
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer
Fabiolas wrote on Sat, 22 March 2008 06:07

phpMyBitTorrent V 1.2.2

sorry forgot to ask can I get some server specs
and can you show a copy of your download.php?


http://a.imageshack.us/img831/5562/mybikes.png
Re: Can't download a torrent ? [message #2197 is a reply to message #1870] Thu, 04 September 2008 09:21 Go to previous messageGo to next message
Tareek is currently offline Tareek  United States
Messages: 10
Registered: September 2008
Leecher
hi, i'm having the same/similar problem.
when i/users try to download they see only empty page.

i've setup with following config : only premium or above level users are allowed to downld/upld torrent file. password for each torrent. PMBT v1.2.2 Jul 10 2007.

i was having peoblem with passkey, but i found the location of passkey in database, and found out how to use that in the tracker list.

few spec of my srvr : hosting srvc acc . php 5.2.6 . PHP API: 20041225 . PHP Extension: 20060613 . CentOS . x86_64 . Zend . post_max_size : 8M . upload_max_filesize: 2M . DOM/XML: enabled . DOM/XML API Version: 20031129 . libxml Version: 2.6.32 . HTML Support: enabled . XPath Support: enabled . XPointer Support: enabled . Schema Support: enabled . RelaxNG Support: enabled . libXML support: active . libXML Version: 2.6.32 . hash . mhash . mcrypt. MySQL : 5.0.45 . SimpleXML support: enabled, rev: 1.151.2.22.2.39 . SourceGuardian . XML : XML Support: active . XML Namespace Support: active . EXPAT Version: expat_1.95.7 . XMLReader: enabled . xmlrpc : core library version: xmlrpc-epi v. 0.51 . php extension version: 0.51 . XMLWriter: enabled . XSL : enabled . libxslt Version: 1.1.24 . libxslt compiled against libxml Version: 2.6.32 . EXSLT: enabled . libexslt Version: 1.1.24 . zlib . ioncube . Apache/2.2.9 .

~Tareek.

[Updated on: Thu, 04 September 2008 09:48]

Report message to a moderator

Re: Can't download a torrent ? [message #2198 is a reply to message #2197] Thu, 04 September 2008 13:15 Go to previous messageGo to next message
joeroberts is currently offline joeroberts  United States
Messages: 1971
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer
replace your include/class.mail.php with
<?php

/*

*-------------------------------phpMyBitTorrent--------------------------------*

*--- The Ultimate BitTorrent Tracker and BMS (Bittorrent Management System) ---*

*--------------   Created By Antonio Anzivino (aka DJ Echelon)   --------------*

*-------------               http://www.p2pmania.it               -------------*

*------------ Based on the Bit Torrent Protocol made by Bram Cohen ------------*

*-------------              http://www.bittorrent.com             -------------*

*------------------------------------------------------------------------------*

*------------------------------------------------------------------------------*

*--   This program is free software; you can redistribute it and/or modify   --*

*--   it under the terms of the GNU General Public License as published by   --*

*--   the Free Software Foundation; either version 2 of the License, or      --*

*--   (at your option) any later version.                                    --*

*--                                                                          --*

*--   This program is distributed in the hope that it will be useful,        --*

*--   but WITHOUT ANY WARRANTY; without even the implied warranty of         --*

*--   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          --*

*--   GNU General Public License for more details.                           --*

*--                                                                          --*

*--   You should have received a copy of the GNU General Public License      --*

*--   along with this program; if not, write to the Free Software            --*

*-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA --*

*--                                                                          --*

*------------------------------------------------------------------------------*

*------              ©2005 phpMyBitTorrent Development Team              ------*

*-----------               http://phpmybittorrent.com               -----------*

*------------------------------------------------------------------------------*

*/

if (eregi("class.email.php", $_SERVER['PHP_SELF'])) die ("You can't access this file directly...");



class eMail {

        var $sender;

        var $recipient = Array();

        var $subject;

        var $body;



        function eMail() {

                global $admin_email;

                $this->sender = $admin_email;

        }



        function Send() {

                //if (!isset($this->recipient,$this->subject,$this->body)) return false;

                foreach ($this->recipient as $rec) {

                        mail($rec,$this->subject,$this->body,"From: ".$this->sender."\nX-Mailer: PHP/" . phpversion());

                }

                return true;

        }

        function Add($email) {

                if (is_email($email)) $this->recipient[] = $email;

        }

}



class MailingList {

                var $mails = Array();

                function Insert($mail) {

                        $this->mails[] = $mail;

                }

                function Sendmail() {

                        if (count($this->mails) <1 ) return;

                        foreach ($this->mails as $mail) {

                                $mail->Send();

                        }

                }



}

?>


make sure you leave no blanks before <?php or after ?>


http://a.imageshack.us/img831/5562/mybikes.png

[Updated on: Thu, 04 September 2008 13:17]

Report message to a moderator

Re: Can't download a torrent ? [message #2200 is a reply to message #1870] Fri, 05 September 2008 00:51 Go to previous messageGo to next message
Tareek is currently offline Tareek  United States
Messages: 10
Registered: September 2008
Leecher
hi Joe, thanks for the code.
I guess u meant the "class.email.php", as i see no "class.mail.php" in my installation, i implemented ur code, but downloading page is still empty & no download pops up !
is this file responsible for empty download page ?
i tried to use both "Download" & "Export" button/link, none worked !
Re: Can't download a torrent ? [message #2201 is a reply to message #2200] Fri, 05 September 2008 05:41 Go to previous messageGo to next message
joeroberts is currently offline joeroberts  United States
Messages: 1971
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer
I need to go to your site for testing please pm me link!

http://a.imageshack.us/img831/5562/mybikes.png
Re: Can't download a torrent ? [message #2206 is a reply to message #1870] Sun, 07 September 2008 02:33 Go to previous message
Tareek is currently offline Tareek  United States
Messages: 10
Registered: September 2008
Leecher
Joe thanks very much.
For solving the empty download page.
I guess it has risen because of old version of "download.php".
Correct version was here :
http://www.phpmybittorrent.com/forum/index.php/m/1239/6/?src h=download.php#msg_num_11
~Tareek.
Previous Topic:I'm not seeder !
Next Topic:no passkey added in "downlad torrent with passkey"
Goto Forum:
  


Current Time: Thu Feb 09 05:23:27 GMT 2012

Total time taken to generate the page: 0.00800 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software