1.
Check for writeability on a non existent file does not work on w2k3/IIS6.
Code:
$fhConfWeb = is_writeable("../hlstatsinc/hlstats.conf.inc.php");
2.
Code:
Use this file and move it to the location of your daemon folder and overwrite the existing configuration file.
There is no existing hlstats.conf. This could be misleading.
3.
Add new game (TF2)
Code:
Database Error
Error Diagnostic:
Bad query.
Server Error: (1265) Data truncated for column 'for_PlayerPlayerActions' at row 1
Last SQL Query:
INSERT INTO hlstats_Actions VALUES(NULL, 'tf2', 'flagevent_captured', 2, 0, '', 'Flagevent - Captured', '1', '', '', '');
This could be a my.ini - thing (mysql 5.1.31).
Ok...wait...
Mysql 5.1 does not like the empty fields in
Code:
'Flagevent - Captured', '1', '', '', '');
If I use
Code:
'Flagevent - Captured', '1', '0', '0', '0');
it works.
The fields are designed as "NOT NULL", so it leads to this error.
4.
Game Settings /servers
Code:
ERROR
Database Error
Error Diagnostic:
Bad query.
Server Error: (1054) Unknown column 'defaultMap' in 'field list'
Last SQL Query:
SELECT
serverId,
address,
port,
name,
publicaddress,
statusurl,
rcon_password,
defaultMap
FROM
hlstats_Servers
WHERE
game='tf2'
ORDER BY
address ASC,
port ASC
I guess this is because of the first db error...
Badi