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 21:47:03
[code][Tue Oct 25 21:21:34.103311 2022] [proxy_fcgi:error] [pid 16399:tid 139754308720384] [client ip:0] AH01071: Got error 'PHP message: PHP Warning:  mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /var/www/vhosts/hidden-palace.xyz/httpdocs/announce.php on line 252'
[Tue Oct 25 21:26:54.097978 2022] [proxy_fcgi:error] [pid 16399:tid 139754199615232] [client ip:0] AH01071: Got error 'PHP message: PHP Warning:  mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /var/www/vhosts/hidden-palace.xyz/httpdocs/announce.php on line 252'
[Tue Oct 25 21:30:31.427969 2022] [proxy_fcgi:error] [pid 16399:tid 139754233186048] [client ip:0] AH01071: Got error 'PHP message: PHP Warning:  mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /var/www/vhosts/hidden-palace.xyz/httpdocs/announce.php on line 252'
[Tue Oct 25 21:32:14.098294 2022] [proxy_fcgi:error] [pid 16399:tid 139754291934976] [client ip:0] AH01071: Got error 'PHP message: PHP Warning:  mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /var/www/vhosts/hidden-palace.xyz/httpdocs/announce.php on line 252'
[Tue Oct 25 21:37:34.189884 2022] [proxy_fcgi:error] [pid 16399:tid 139754291934976] [client ip:0] AH01071: Got error 'PHP message: PHP Warning:  mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /var/www/vhosts/hidden-palace.xyz/httpdocs/announce.php on line 252'
[Tue Oct 25 21:42:54.112533 2022] [proxy_fcgi:error] [pid 16399:tid 139754166044416] [client ip:0] AH01071: Got error 'PHP message: PHP Warning:  mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in /var/www/vhosts/hidden-palace.xyz/httpdocs/announce.php on line 252'


in error log
[/code]

in error log
Last edited by Lucifer on 2022-10-26 10:05:50
2022-10-26 11:00:27
could mysql strict mode be causing that?
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-26 11:05:54
ok will try that
2022-10-26 11:19:44
no joy those errors are back again
2022-10-26 14:02:21
I know that was problem before but can't find solution for that on forum:



every time when cleanup runs it coming a new empty torrent as on picture

😈  ðŸ˜ˆ  ðŸ¤¢  ðŸ¤¢


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-26 20:50:18
Im thinking it has something to do with datetime, which also is an issue with mysql strict mode. Have a look here https://www.linode.com/community/questions/17070/how-can-i-disable-mysql-strict-mode You want "NO ENGINE SUBSTITUTION"
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)
Last edited by MicroMonkey on 2022-10-26 20:57:20
2022-10-26 20:51:04
even on a fresh install of TT v3 I am getting the 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 = '-lt0D80-?g???x????'.


the database is reading utf8_general_ci so unsure where this is coming from
2022-10-26 20:52:57
this is the only line I changed in announce.php

	//check passkey isnt leaked
if ($MEMBERSONLY) {
$valid = @mysqli_fetch_row(@SQL_Query_exec("SELECT COUNT(*) FROM peers WHERE torrent=$torrentid AND passkey=" . sqlesc($passkey)));

if ($valid[0] >= 2 && $seeder == 'no')
err("Connection limit exceeded! You may only leech from one location at a time.");

if ($valid[0] >= 3 && $seeder == 'yes')
err("Connection limit exceeded!");
}

$res = SQL_Query_exec("SELECT $peerfields FROM peers WHERE $selfwhere");
$row = mysqli_fetch_assoc($res);
if ($row){
       $self = $row;
}
}
// END $SELF FILL


if ($valid[0] >= 2 && $seeder == 'no')

use to be:
if ($valid[0] >= 1 && $seeder == 'no')
2022-10-26 21:02:16
just tried what MM put, lets see if it works :)
2022-10-26 21:07:26
hmm, I recollated the ttv3 sql, try it
fasttrackertest(1).zip
Download

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-26 21:17:00
so no errors logged so means strict mode is off.. quick question regarding this if ya can help

2022-10-26 21:46:49
you talking about the out of alignment "manage seed bonus" link? just follow the same formatting in the admin cp as the other links, pretty simple. Do a max of 5 links, then start a new line
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)
Last edited by MicroMonkey on 2022-10-26 21:48:09
2022-10-26 21:49:13
<tr>
<td align="center"><a href="admincp.php?action=seedbonus"><img src="images/admin/seedbonus.png" border=0 width=118 height=80><br><?php echo T_("SEEDBONUS"); ?></a></td>
</tr>


this may not be your code, but should make sense
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)
Last edited by MicroMonkey on 2022-10-26 21:51:46
2022-10-26 21:56:37
I'm talking about the blocks down right side of the page
2022-10-26 22:07:27
I believe if you fix what I mentioned above, the rest will line up
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)
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: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728