I hope I don't get flamed for being an idiot, But I can't get the web interface to work.
database.cfg :
Code:
"tf2stats"
{
"driver" "mysql"
"host" "localhost"
"database" "tf2stats"
"user" "tf2stats"
"pass" "*********"
//"timeout" "0"
"port" "3306"
}
settings.php :
Code:
$mysql_server = "localhost";
$mysql_user = "tf2stats";
$mysql_password = "*********";
$mysql_database = "tf2stats";
The plugin run's fine, It tracks kills and after checking PHPmyAdmin the database is full of entries.
When I go to my site I get the following:
Code:
[Wed Jul 21 16:27:09 2010] [error] [client **.**.**.**] PHP Notice: Undefined variable: clanname in C:\\wamp\\www\\tf2stats\\index.php on line 12, referer: http://ukgamefurs.com/tf2stats/index.php
[Wed Jul 21 16:27:09 2010] [error] [client **.**.**.**] PHP Warning: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Access denied for user 'SYSTEM'@'localhost' (using password: NO) in C:\\wamp\\www\\tf2stats\\index.php on line 27, referer: http://ukgamefurs.com/tf2stats/index.php
[Wed Jul 21 16:27:09 2010] [error] [client **.**.**.**] PHP Warning: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: A link to the server could not be established in C:\\wamp\\www\\tf2stats\\index.php on line 27, referer: http://ukgamefurs.com/tf2stats/index.php
[Wed Jul 21 16:27:09 2010] [error] [client **.**.**.**] PHP Warning: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Access denied for user 'SYSTEM'@'localhost' (using password: NO) in C:\\wamp\\www\\tf2stats\\index.php on line 30, referer: http://ukgamefurs.com/tf2stats/index.php
[Wed Jul 21 16:27:09 2010] [error] [client **.**.**.**] PHP Warning: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: A link to the server could not be established in C:\\wamp\\www\\tf2stats\\index.php on line 30, referer: http://ukgamefurs.com/tf2stats/index.php
Any advice?