Bravo List

Bravo List (https://www.bvlist.com/index.php)
-   Downloads (https://www.bvlist.com/forumdisplay.php?f=16)
-   -   TBDev 2008 (https://www.bvlist.com/showthread.php?t=317)

sammygo 20th July 2009 15:00

sith =))
 
Quote:

Originally Posted by Morbidawn (Post 13543)
Does anyone get these errors when they try to upload a torrent ?


Code:

Warning: move_uploaded_file(/var/tb/torrents/4.torrent) [function.move-uploaded-file]: failed to open stream: No such file or directory in C:\xampp\htdocs\takeupload.php on line 173

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\xampp\tmp\php101.tmp' to '/var/tb/torrents/4.torrent' in C:\xampp\htdocs\takeupload.php on line 173

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\takeupload.php:173) in C:\xampp\htdocs\takeupload.php on line 267


I have that error to ! and when u download the PAGE DOESN'T EXISTS..please help ;)

Bigjoos 20th July 2009 17:29

Torrents
 
First checks are if Linux then ensure torrents folder is writable ie = chmod 777 - Then once thats done i suggest you use a phpinfo.php file in root - point to it then establish your relative path to torrent folder

Code:

phpinfo();
?>

^^ Save that as phpinfo.php and upload to root - point to it http:// yoursite / phpinfo.php
then look at say apache environment and you'll see a filepath which ends in phpinfo.php - That will look like

Code:

/home/domainname/public_html/phpinfo.php
so that becomes on bittorrent for fileapth :

Code:

/home/domainname/public_html/torrents
or

Code:

/var/www/httpdocs/phpinfo.php
to

Code:

/var/www/httpdocs/torrents
Once thats done your all set

Morbidawn 20th July 2009 19:56

And if it`s on windows XAMPP ?

sammygo 20th July 2009 20:05

Thanks Bigjoos...that was for linux like you said...
Now can you give us for windows ?

The problem with download and

Quote:

Warning: move_uploaded_file(/var/tb/torrents/4.torrent) [function.move-uploaded-file]: failed to open stream: No such file or directory in C:\xampp\htdocs\takeupload.php on line 173

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\xampp\tmp\php101.tmp' to '/var/tb/torrents/4.torrent' in C:\xampp\htdocs\takeupload.php on line 173

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\takeupload.php:173) in C:\xampp\htdocs\takeupload.php on line 267
this problem when you upload a torrent

3v0 20th July 2009 20:22

In windows right click your torrents folder and choose properties and you'll find the path to put in your bittorrent.php/config.php for the torrent directory :)

sammygo 20th July 2009 21:15

Quote:

Originally Posted by 3v0 (Post 13567)
In windows right click your torrents folder and choose properties and you'll find the path to put in your bittorrent.php/config.php for the torrent directory :)

Yes hmm...
my bittorrents.php
Code:

//$torrent_dir = "C:/xampp/htdocs/torrents";
My "torrents" folder is writeble..
WHen i upload it gives me errors in takeupload.php and when i refresh page : torrent already updated...

when i am in browse.php searching for dead torrents..i see it..i click on it when i download it goes t ..and page don't exist !

pdq 20th July 2009 21:28

look at your error message:
Code:

Warning: move_uploaded_file(/var/tb/torrents/4.torrent) [function.move-uploaded-file]: failed to open stream: No such file or directory in C:\xampp\htdocs\takeupload.php on line 173

it is looking for a file here:
Code:

/var/tb/torrents/4.torrent
which that path does not exist on your server/PC.

then it says:
Code:

No such file or directory in C:\xampp\htdocs\takeupload.php
which is the path of the files for your tracker.

what this is saying that your $torrent_dir is still:
PHP Code:

$torrent_dir = "/var/tb/torrents"; 

when it should be:
PHP Code:

$torrent_dir = "C:/xampp/htdocs/torrents"; 

also this should work for either linux or windows:
PHP Code:

$torrent_dir = 'torrents'; 

=]

sammygo 20th July 2009 21:32

Replace
Quote:

$torrent_dir = "var/user/home"; # FOR UNIX ONLY - must be writable for httpd user
//$torrent_dir = "C:/xampp/htdocs/torrents"; # FOR WINDOWS ONLY - must be writable for httpd user
With
Quote:

$torrent_dir = "C:/xampp/htdocs/torrents"; # by sAmmy !

Click on Thank you ;) thanks !!


Now...someone have a Tbdev 08 PASSKEY mod ?!?!?!? working 100% !!! Thanks !!

Like my tracker :D ? Still more to do

http://img65.imageshack.us/img65/1999/65334272.jpg

Morbidawn 21st July 2009 03:31

ok the torrent uploads, downloads correct, now when i try to seed it, tracker sending invalid data : what is it now?

sammygo 21st July 2009 10:50

Quote:

Originally Posted by Morbidawn (Post 13580)
ok the torrent uploads, downloads correct, now when i try to seed it, tracker sending invalid data : what is it now?

When i will see what's the problem i will post here...now i need a passkey mod 100% good with no errors...:D


All times are GMT +2. The time now is 00:06.

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