Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
help needed
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Support

2022-10-25 15:20:28
so we got v3 on a test site as we are looking to move to it, just playing with it for now and we're getting this sql error

Database Error in announce.php on line 251: Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) for operation '='. Query was: SELECT seeder, UNIX_TIMESTAMP(last_action) AS ez, peer_id, ip, port, uploaded, downloaded, userid, passkey FROM peers WHERE torrent = 1 AND peer_id = '-UT2200-Z???>(?m%k'.

and also when downloading we're getting;
Tracker Status: Tracker: [Failure reason \"Connection limit exceeded! You may only leech from one location at a time.\"]
- solved simple edit of announce.php :)


any help would be grateful
Last edited by Lucifer on 2022-10-25 15:52:18
2022-10-25 15:43:23
If I try download torrent as a magnet get that error:



Same torrent downloading as torrent ticket:




www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2022-10-25 15:53:25
,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE

that is the collation from the sql file you will need to set in phpmyadmin i recommend utf8mb4_general_ci

for the second find in announce if ($valid[0] >= 1 && $seeder == 'no')
change to if ($valid[0] >= 2 && $seeder == 'no')
2022-10-25 15:56:46
can you help me understand why site keeps picking peers (seeders) up then dropping them it's really weird
2022-10-25 16:07:18
its difficult to debug on TT best way to check connection from clients
check the client - go to client - click torrent - at bottom select trackers - force re-announce - see if any error

with new site - look at peers table - are we missing peers eg 2 users 5 torrents would be 10 rows in peers table

noticed magnets - i have a look
Last edited by M-jay warn on 2022-10-25 16:22:23
2022-10-25 16:55:10
I will check this once I am home agaib
2022-10-25 18:11:20
@M-Jay mate I just report bug on it so no problems ... working on new theme for you so need that new source, but I wait a while


PS
As always it is on LIVE server


www.exyusubs.com
TorrentTrader V3.8.3 (SE)
OS: AlmaLinux 9.9 (BC)
Apache version: 2.4.71
PHP version: 8.5.13 (PHP-FPM)
MySQL version: 10.11.18-MariaDB
2022-10-25 18:25:53
OK just checked the peer table and it has 3 seeders show (sounds about right, 4th one was another admin testing it from home pc) - if this changes I will let you know

OK so now we're getting the following error in rutorrent for one client; Tracker Status: Tracker: [Could not parse bencoded data: Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /var/www/vhos]


and SQL error log on site is showing; Database Error in announce.php on line 251: Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) for operation '='. Query was: SELECT seeder, UNIX_TIMESTAMP(last_action) AS ez, peer_id, ip, port, uploaded, downloaded, userid, passkey FROM peers WHERE torrent = 1 AND peer_id = '-lt0D80-hO?+&??q??'.

Even though I've set it to utf8_general_ci in the database so unsure why that error keeps coming back
Last edited by Lucifer on 2022-10-25 18:32:34
2022-10-25 20:44:41
did you check columns as well in peers table
2022-10-25 20:57:47
I have added a pic of peer column for you in this reply
peer.png
peer.png
2022-10-25 21:07:38
try this https://torrenttrader.uk/post?id=10278
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
2022-10-25 21:11:16
OK ran the command, obviously I edited it with the database_name_here sector i'm not fully stupid yet lol
2022-10-25 21:33:53
I didnt think you were lol. Its the internet, we all know how people can get sometimes, just trying to be very clear as much as I can. I realized after reading that post that I should just add some clarity is all. :)
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
2022-10-25 21:38:48
honestly I knew you weren't, thank you for posting the link MM - just messing with TT v3 to be honest, looking to maybe move from unit3d to here
2022-10-25 21:43:23
even after running your sql query, it's still giving me those errors, it's weird
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 2
  • Members: 0
  • Guests online: 2
  • Comments: 3
  • Messages: 1,728