Raised This Month: $32 Target: $400
 8% 

Error: hlstatsx.hlstats_Servers


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
r3v
Senior Member
Join Date: Feb 2016
Location: Lithuania, Vilnius
Old 07-07-2019 , 02:00   Error: hlstatsx.hlstats_Servers
Reply With Quote #1

On NomisCZ latest release, getting this error in scripts/logs/hlstats_27500_2019... How to fix what?

PHP Code:
DBD::mysql::st execute failedTable 'hlstatsx.hlstats_Servers' doesn't exist at .//HLstats.plib line 213.
Unable to execute query (get_server_player_info):
SELECT
                kills,
                headshots,
                suicides,
                rounds,
                ct_shots+ts_shots as shots,
                ct_hits+ts_hits as hits
            FROM
                hlstats_Servers
            WHERE
                serverId=?
Table '
hlstatsx.hlstats_Servers' doesn't exist at .//HLstats.plib line 213. 
hlstats.php?mode=playerinfo&player=3

PHP Code:
Database Error

Server Address
localhost
Server Username
root

Error Diagnostic
:
Bad query.

Server Error: (1055Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'hlstats.hlstats_Weapons.name' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

Last SQL Query:

    
hlstats_Events_Frags.weapon,
                                    
hlstats_Weapons.name,
                                    
COUNT(hlstats_Events_Frags.weapon) AS kills,
                                    
SUM(hlstats_Events_Frags.headshot=1) as headshots
                                FROM
                                    hlstats_Events_Frags
                                LEFT JOIN
                                    hlstats_Weapons
                                ON
                                    hlstats_Weapons
.code hlstats_Events_Frags.weapon
                                WHERE
                                    hlstats_Events_Frags
.killerId=3
                                GROUP BY
                                    hlstats_Events_Frags
.weapon
                                ORDER BY
                                    kills desc
headshots desc
                                LIMIT
                                    1 

Last edited by r3v; 07-07-2019 at 02:03.
r3v is offline
CrazyHackGUT
AlliedModders Donor
Join Date: Feb 2016
Location: Izhevsk, Russia
Old 07-07-2019 , 02:56   Re: Error: hlstatsx.hlstats_Servers
Reply With Quote #2

1. Table doesn't exists.
__________________
My english is very bad. I am live in Russia. Learning english language - very hard task for me...
CrazyHackGUT is offline
Send a message via ICQ to CrazyHackGUT Send a message via Skype™ to CrazyHackGUT
r3v
Senior Member
Join Date: Feb 2016
Location: Lithuania, Vilnius
Old 07-07-2019 , 03:46   Re: Error: hlstatsx.hlstats_Servers
Reply With Quote #3

Quote:
Originally Posted by CrazyHackGUT View Post
1. Table doesn't exists.
A couple of months ago, everything was fine until I updated hlstatsx to latest...
r3v is offline
r3v
Senior Member
Join Date: Feb 2016
Location: Lithuania, Vilnius
Old 07-07-2019 , 04:05   Re: Error: hlstatsx.hlstats_Servers
Reply With Quote #4

Solved: https://i-mscp.net/thread/19026-how-...full-group-by/
r3v is offline
NomisCZ
AlliedModders Donor
Join Date: Mar 2014
Location: Czech_Republic
Old 07-07-2019 , 15:30   Re: Error: hlstatsx.hlstats_Servers
Reply With Quote #5

Quote:
Originally Posted by r3v View Post
It's a problem with MySQL servers 5.7 and newer. Older MySQL servers have this option enabled by default. HLStatsX website is old, so some things aren't according to the new standards.
__________________

Last edited by NomisCZ; 07-07-2019 at 15:31.
NomisCZ is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:26.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode