View Single Post
jonthekiller
New Member
Join Date: Jan 2010
Old 01-28-2010 , 07:01   Re: [L4D & L4D2] Custom Player Stats v1.4B61
Reply With Quote #87

hi,

Thanks for your plugin.

I use left 4 dead 2 and I have a problem with web stats. I have this message on my web site :

Code:
Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 100

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 110

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 100

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 100

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 110

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 100

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 100

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 110

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 100

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 100

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 110

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 100

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 100

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 110

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 100

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 100

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 110

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 100

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 100

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 110

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 100

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 110

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 100

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 110

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 100

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 110

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 100

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 110

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 100

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 110

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 100

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 110

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 160

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 100

Notice:  Undefined variable: game_version in C:\Program  Files\EasyPHP 2.0b1\www\l4d_stats_web\common.php on line 110
Here my config file :

PHP Code:
<?php
/*
================================================
LEFT 4 DEAD PLAYER RANK
Copyright (c) 2009 Mitchell Sleeper
Originally developed for WWW.F7LANS.COM
================================================
Configuration file - "config.php"
================================================
*/

// MySQL information for L4D Stats DB
$mysql_server "127.0.0.1";
$mysql_db "l4d2";
$mysql_user "****";
$mysql_password "****";

// Heading for the stats page.
$site_name "****";

// Game server address (adds a Steam connection link over the site name)
// Leave empty if no link is added
// Usage: "l4d2.mysite.net:27016" or "123.0.0.234"
$site_address "****";

// Supported game versions
// 0 = Support both L4D1 and L4D2
// 1 = Left 4 Dead 1 (default)
// 2 = Left 4 Dead 2
$game_version 2;

// Award definitions file
$award_file "awards.en.php";
$award_l4d2_file "awards.l4d2.en.php";

// Minimum playtime and points required to be eligible for any awards, in minutes
$award_minplaytime 60;
$award_minpointstotal 0;

// Minimum kills, headshots and points to be eligible for "Headshot Ratio" award
$award_minkills 1000;
$award_minheadshots 1000;
$award_minpoints 1000;

// Amount of time in minutes between Awards page cache updates.
// 0 to disable cacheing
$award_cache_refresh 60;

// Database time modifier (hours)
// 0 if the db time is the same as the websites
$dbtimemod 0;

// Date format for player last online time
// http://www.php.net/manual/en/function.date.php
$lastonlineformat "M d, Y g:ia";

/*
Population CSV file. This is taken from the United States Census Bureau, you
can download a (possibly) more up-to-date file from this URL:

http://www.census.gov/popest/datasets.html

The file will be about half way down, under "Metropolitan, micropolitan, and
combined statistical area datasets", the CSV file under "Combined
statistical area population and estimated components of change". Or, check
the release thread and I can provide an exact URL for the download.

Keep in mind that the file has been drastically altered from it's original
state, including adding individual States as well as the entire US. If you
want to create your own CSV file, message me on Allied Modders and I will
help and possibly include it in a next release.
*/

$population_file "population.usa.csv";

/*
Only display City results, and not Counties. Note: This will drastically
reduce the uniqueness of the results, cities only make up about 1/3rd of
the list. Set to True to enable. Default is False.

Also note, the minimum kills if you are using only citites needs to be
14000 or else you will get erroneous results! Default is 3000.
*/

$population_minkills 3000;
$population_cities False;
?>
Thanks for your help.
jonthekiller is offline