Hi muukis,
Do you have any ideas for following:
Error log is growing in seconds and this is what´s poping up:
[23-Nov-2014 20:15:08 UTC] PHP Notice: Undefined variable: game_version in /*******/*******/*******/stats/common.php on line 239
[23-Nov-2014 20:15:08 UTC] PHP Notice: Undefined variable: game_version in /*******/*******/*******/stats/common.php on line 127
[23-Nov-2014 20:15:08 UTC] PHP Notice: Undefined variable: game_version in /*******/*******/*******/stats/common.php on line 142
It generates about 200 error lines per second so i am running out of server space pretty fast(about 20 MB/h.)
EDIT: Correction, I think that it generates errorline when someone visits STATS page.
And the lines that error refers to in common.php:
LINE 127
if ($game_version != 1)
LINE 142
if ($game_version != 1)
LINE 239
return "<tr onmouseover=\"showtip('<b>Coop: " . $points_coop . " (PPM: " . $ppm_coop . ")<br>" . ($game_version != 1 ? "Realism: " . $points_realism . " (PPM: " . $ppm_realism . ")<br>Mutations: " . $points_mutations . " (PPM: " . $ppm_mutations . ")<br>" : "") . "Survival: " . $points_survival . " (PPM: " . $ppm_survival . ")<br>Versus: " . $points_versus . " (PPM: " . $ppm_versus . ")</b><br> Survivors: " . $points_versus_sur . "<br> Infected: " . $points_versus_inf . "<br>" . ($game_version != 1 ? "<b>Scavenge: " . $points_scavenge . " (PPM: " . $ppm_scavenge . ")</b><br> Survivors: " . $points_scavenge_sur . "<br> Infected: " . $points_scavenge_inf . "<br><b>Realism Versus: " . $points_realismversus . " (PPM: " . $ppm_realismversus . ")</b><br> Survivors: " . $points_realismversus_sur . "<br> Infected: " . $points_realismversus_inf . "<br>" : "") . "<b>Playtime: " . $totalplaytime . "</b><br> Coop: " . $playtime_coop . "<br>" . ($game_version != 1 ? " Realism: " . $playtime_realism . "<br>" : "") . " Survival: " . $playtime_survival . "<br> Versus: " . $playtime_versus . ($game_version != 1 ? "<br> Scavenge: " . $playtime_scavenge . "<br> Realism Versus: " . $playtime_realismversus . "<br> Mutations: " . $playtime_mutations : "") . "');\" onmouseout=\"hidetip();\"" . (($i & 1) ? ">" : " class=\"alt\">");
Everything seems working OK on gameserver side and on webserver side.
If there is no way to fix those errors then i would be very thankful if i could get tips how to turn error logging OFF
Thanks !