Bravo List
Register
Go Back   > Bravo List > P2P > Forum > Community Cafe
Reply
  #1  
Old 02-10-09, 15:20
ajax's Avatar
ajax ajax is offline
Senior Member
 
Join Date: Apr 2009
United Kingdom
Posts: 165
Default Error when i upload a torrent!
Hy,when i try upload a torrent a got a blank page and an error but after torrent are added to tracker:

Code:
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\xampp\htdocs\include\functions_global.php on line 135

Warning: file_get_contents(Dupecheck Project neko netaisos mainоt..&opt=0) [function.file-get-contents]: failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\xampp\htdocs\include\functions_global.php on line 135

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\include\functions_global.php:135) in C:\xampp\htdocs\takeupload.php on line 178
PHP Code:
Error table:
function 
getpretime($name$type) {
$name trim($name);
$name substr($name 050);
$pre['regexp'] = '|<tr><td>(.*)<td>(.*)<td>(.*)|';
$pre['url'] = 'http://doopes.com/?cat=454647&lang=0&num=2&mode=0&from=&to=&exc=&inc='.$name.'&opt=0';
$pre['file'] = file_get_contents($pre['url']);
preg_match($pre['regexp'], $pre['file'], $pre['matches']);
$dtm $pre['matches'][$type];
if(!empty(
$dtm)) {
list(
$y$m$d$h$min$sec) = split('[: -]'$dtm);
$new_dtm date('Y-m-d H:i:s'mktime($h 1$min$sec$m$d$y));
return 
$new_dtm;
} else {
return 
'';
}

And line 135:
Code:
$pre['file'] = file_get_contents($pre['url']);
Reply With Quote
  #2  
Old 12-10-09, 09:29
dopeboy's Avatar
dopeboy dopeboy is offline
Senior Member
 
Join Date: Jan 2009
P2P
Posts: 45
Default
CHMOD 'torrents' folder to 0777
Reply With Quote
Reply

Tags
error , torrent , upload

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
When I Upload torrent, error occur benmhassoun Template Shares 6 30-01-15 16:59
Torrent Upload Naureenc YSE 1 05-01-10 14:36
Help Can't upload torrent Giusha phpMyBitTorrent (BT.Manager) 3 28-11-09 08:06
upload torrent tunad Template Shares 1 06-10-09 14:38
Upload error, Fatal error TKO Template Shares 5 14-02-09 02:23



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