• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved [TFS 1.1] Znote AAC weird text

EvoSoft

Is Da Mapper
Joined
Mar 10, 2010
Messages
693
Reaction score
5
Location
Northen part of Sweden
Hi!

I just started using Znote AAC again, and this time there's some weird text at the bottom of the page..
Code:
Done Queries
Print: - Array
(
[0] => [1.0191] SELECT `id`, `name`, `password`, `email`, `premdays` FROM `accounts` WHERE `id` = 1 LIMIT 1;
[1] => [1.0201] SELECT `ip`, `created`, `points`, `cooldown` FROM `znote_accounts` WHERE `account_id` = 1 LIMIT 1;
[2] => [1.0241] SELECT `id`, `player_id` FROM `znote_forum_threads` WHERE `forum_id`='4' AND `closed`='0';
[3] => [1.0261] SELECT `name`, `level`, `experience` FROM `players` WHERE `group_id` < 2 ORDER BY `experience` DESC LIMIT 5;
[4] => [1.0281] SELECT COUNT(`player_id`) AS `value` FROM `players_online`;
[5] => [1.0281] SELECT COUNT(`id`) AS `id` from `accounts`;
[6] => [1.0291] SELECT id, name, posx, posy, posz, report_description, date, status FROM znote_player_reports ORDER BY id DESC;
)
 
Hi!

I just started using Znote AAC again, and this time there's some weird text at the bottom of the page..
Code:
Done Queries
Print: - Array
(
[0] => [1.0191] SELECT `id`, `name`, `password`, `email`, `premdays` FROM `accounts` WHERE `id` = 1 LIMIT 1;
[1] => [1.0201] SELECT `ip`, `created`, `points`, `cooldown` FROM `znote_accounts` WHERE `account_id` = 1 LIMIT 1;
[2] => [1.0241] SELECT `id`, `player_id` FROM `znote_forum_threads` WHERE `forum_id`='4' AND `closed`='0';
[3] => [1.0261] SELECT `name`, `level`, `experience` FROM `players` WHERE `group_id` < 2 ORDER BY `experience` DESC LIMIT 5;
[4] => [1.0281] SELECT COUNT(`player_id`) AS `value` FROM `players_online`;
[5] => [1.0281] SELECT COUNT(`id`) AS `id` from `accounts`;
[6] => [1.0291] SELECT id, name, posx, posy, posz, report_description, date, status FROM znote_player_reports ORDER BY id DESC;
)

Cute @Znote print out querys that have been executed probably. Look into config.php if there is a way to turn it of or just remove the lines that print this out.
 
Notice that your first query begins at render time 1 second. This happens because you most likely have configured hostname "localhost", which first attempts to connect to :::1 at IPv6, then after failing for a second does a fallback to 127.0.0.1 at IPv4.
Do yourself a favor and write 127.0.0.1 in config.php, your site will run at least 1 second faster. :)
 
Back
Top