Go to Profile
It is installed on a Synology NAS, DSM.
The hosting is me. I have the server hosted by myself (and I work at the ISP that serves me)
After uploading a torrent and other users downloading the content, the uploaded bytes do not increase in the count and the ratio is frozen at 0.00. The torrent file has been uploaded successfully and the url mysite.com/announce.php has been added in "tracker url" when creating the torrent. In my first tests it seemed to work correctly, but it seems to stop working over time. Rebooting the server seems to fix it for a few seconds, but it stops working again. What could be the problem?
When there are multiple lines of dialogue in the chat, the box for writing new messages does not appear on mobile browsers, but it does appear fine on desktop browsers. Is there a quick fix to correct this?
Guys, I have already solved the problem. The code posted above is wrong, I had to correct it. When you try to register on the page, it accesses the Captcha.php file but stays inside an "if" without getting anywhere. The solution has been to put all the code of Captcha.php inside the account-signup.php file and inside the if put a goto to the part of the code that performs the registration. I know it's not an elegant option, but at least it fixed it for me.
For that same reason I am trying to make the captcha work. Embedding an antibot in the registration form is one solution, but ideally the recaptcha should work, as the reason it's not working is probably some small bug in the code. Also, if I decide to use an antibot, I would have to find the code and figure out where to put it.
@STorrents2020
I'm sorry, I don't understand anything you're saying. I don't know what the images or the bots in this mod have to do with what happens to me. If you could explain it more easily it would help.
Ok, I have already found the error. There was a missing "?>" at the end of the Captcha.php code.
But still I have another problem. Now the captcha appears without problems, but when I fill out the form and press the register button, "account login.php redirection" appears on the screen and it redirects me to a url "
https://www.mydomain.com/<b>Please check the the captcha form.</b>"
I have reviewed the code 3 times and everything is perfect. I'm just trying to put it in the register, not in the login.
Indeed, when I test with the ubuntu torrent it works correctly. How can you switch to using "Local Torrents"?
When I upload a torrent, the health appears at 0 and when I hit the "update stats" button it gives the error "Tracker Timeout
Please retry later". I have tried to disable strict mode and give the appropriate permissions to the upload folder. Searching the forum I find different answers but they are very old and the links to the solutions do not work.
I have managed to make an effective solution to the problem by partially disabling the proxy. Thank you everyone for the help.
@Botanicar
Indeed, I have tried installing the script directly on a subdomain and it has worked. I'll tell you about my case to see if you can find a solution:
I am using cloudflare with a domain "example.com" in which I have a rule so that putting "example.com" redirects to "www.example.com" and then through cloudflare's internal proxy redirects to a subdomain DDNS pointing to your own server (subdomain.domain.com).
If I access "subdomain.domain.com" it works correctly, but if I access from www.example.com it doesn't. I don't really have a choice as I don't have a fixed IP address and it's impossible not to use a DDNS.
It really is the last step I have left to finish the project I've been working on since summer and I'd like to find a solution...
Storrents2020
I do not understand what you mean. I have literally tested with the script without modifications.
MicroMonkey
I have made those modifications and the problem persists.
I have done tests. I have reverted all the changes (torrent trader as it comes on github) and the problem is still the same. I'm talking about the admin account
The only modification I have made is the one in this post:
https://torrenttrader.uk/post?id=9769
But instead of using google recaptcha I'm using cloudflare's recaptcha (it's changing google script url only). But in the code there is nothing regarding the session time. Using default theme
I had already tried several browsers and deleting browsing data.
I don't understand what you mean in the config.php, I have already checked the whole file and there is no reference to the session time.
For the function.php the only thing referring to setcookie() is this:
function logincookie($id, $password, $secret, $updatedb = 1, $expires = 0x7fffffff) {
$hash = sha1($id.$secret.$password.getip().$secret);
setcookie("pass", $hash, $expires, "/");
setcookie("uid", $id, $expires, "/");
if ($updatedb)
SQL_Query_exec("UPDATE users SET last_login = '".get_date_time()."' WHERE id = $id");
}
function logoutcookie() {
setcookie("pass", null, time(), "/");
setcookie("uid", null, time(), "/");
When I log in, my session is disconnected in less than 1 minute. Is there any way to increase session time?
This mod doesn't work. after editing the files the login button disappears and if you try to login the page gives error 500.
Nobody can help me? I only have to solve this, and it seems strange to me that it does not work. It's like the code in mail.php failed.
@Botanicar
It's not the same, I need a user to be able to register from the Register button without an invitation from another user.
@M-jay
It doesn't work, I have that option set to True and no mail arrives. Sending emails through Pear works since I have configured the mail server correctly and added the welcome email (
https://torrenttrader.uk/post?id=10490&page=last#last ) and that is received without problems.