View Single Post
Author Message
Dtor
Member
Join Date: Nov 2015
Old 11-04-2017 , 04:13   General HLX Error
Reply With Quote #1

EDIT : Reinstall xampp-win32-5.5.19-0-VC11-installer.exe worked
A fresh install of hlx this is what i've got
From the console :
Code:
C:\Users\DTOR\Downloads\Maverick_of_UC-hlstatsx-community-edition-11cac08de8c0\Maverick_of_UC-hlstatsx-community-edition-11cac08de8c0\hlxstats_bridge>perl hlstats.pl
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^weapon { <-- HERE  steam_id: 'STEAM_\d+:(.+?)', weapon_id: (\d+), class: \d+, team: \d+, shots: \((\d+),(\d+)\), hits: \((\d+),(\d+)\), damage: \((\d+),(\d+)\), headshots: \((\d+),(\d+)\), kills: \(\d+,\d+\) }$/ at hlstats.pl line 3329.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^(?:join|change)_class { <-- HERE  steam_id: 'STEAM_\d+:(.+?)', .* (?:new_|)class: (\d+), .* }$/ at hlstats.pl line 3363.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^objective { <-- HERE  steam_id: 'STEAM_\d+:(.+?)', class: \d+, team: \d+, objective: '(.+?)', time: \d+ }$/ at hlstats.pl line 3382.
2017-11-04 15:01:04:                       - MYSQL: Connecting to MySQL database 'hlxstats' on '127.0.0.1' as user 'root' ... connected ok
2017-11-04 15:01:04:                       - CONFIG: Reading database config...
DBD::mysql::st execute failed: Table 'hlxstats.hlstats_servers' doesn't exist at .//HLstats.plib line 185.
Unable to execute query:
SELECT serverId,CONCAT(address,':',port) AS addr FROM hlstats_Servers
Table 'hlxstats.hlstats_servers' doesn't exist
From import phpmyadmin using install.sql
Code:
Static analysis:

4 errors were found during analysis.

Unexpected beginning of statement. (near "HLstatsX:" at position 0)
Unexpected beginning of statement. (near "CE" at position 10)
Unexpected beginning of statement. (near "Installation" at position 13)
Unrecognized statement type. (near "Database" at position 26)
SQL query:

HLstatsX: CE Installation Database file -- This file is only needed for new installations. SET @DBVERSION="78"

MySQL said: Documentation

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'HLstatsX: CE Installation Database file

-- This file is only needed for new ins' at line 1
When Accessing using localhost on http website
Code:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; DB_mysql has a deprecated constructor in C:\xampp\htdocs\includes\class_db.php on line 58

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Table has a deprecated constructor in C:\xampp\htdocs\includes\class_table.php on line 48

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; TableColumn has a deprecated constructor in C:\xampp\htdocs\includes\class_table.php on line 515

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\includes\class_db.php:87 Stack trace: #0 \hlstats.php(130): DB_mysql->DB_mysql('localhost', 'root', '', 'hlxstats', 0) #1 {main} thrown in \includes\class_db.php on line 87
I think maybe something wrong with my system or I just missed installing something ???
Thanks.

Last edited by Dtor; 11-04-2017 at 05:18.
Dtor is offline