Thread: HELP PLEASE
View Single Post
  #2  
Old 10th July 2008, 16:44
djlee's Avatar
djlee djlee is offline
Senior Member
 
Join Date: Mar 2008
Posts: 183
Default Re: HELP PLEASE
i know its a little old before the sarcastic comments but figured id go through a few threads and see if they were answered and this one is not :)

so for anyone else who has this problem (im guessing he fixed it by now lol) whenever you get

Code:
Warning: someFunction() has been disabled for security reasons'
this is a setting in php.ini. Most of the time if your on a shared server certain functions are disabled for the security of the other sites and the server as a whole. If you have access to php.ini then simply look through (or search) for the disabled functions list and remove that specific function from the list of disabled ones. save and reboot apache and your good to go

and the invalid announce is usually because of over-specific announce validation in some sources... make sure you either:

A. Use the announce echoed when it fails (that includes the http:// if the error has that in).
B. If the announce URL is an array you can add different urls to meet all possible URL formats i.e.

Code:
$announce_url[] = "http://www.example.com/announce.php";
$announce_url[] = "www.example.com/announce.php";
$announce_url[] = "http://example.com/announce.php";
$announce_url[] = "example.com/announce.php";
however its generally best to stick to the full http:// version as some torrent clients are pants :)
Reply With Quote