Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Logpart: 1
Log: { "structure_cost": 10, "id": 2542, "gametime": 0.050009485334158, "time": "2013-08-31 20:06:41", "builder_name": "", "structure_y": "0.5588", "team": 1, "structure_x": "-43.3324", "structure_name": "Extractor", "action": "structure_built", "steamId": -1, "structure_z": "-4.0640" }
{ "structure_cost": 15, "id": 1736, "gametime": 0.050009485334158, "time": "2013-08-31 20:06:41", "builder_name": "", "structure_y": "-0.7620", "team": 1, "structure_x": "-29.2862", "structure_name": "CommandStation", "action": "structure_built", "steamId": -1, "structure_z": "-4.0640" }
{ "structure_cost": 20, "id": 2584, "gametime": 0.050009485334158, "time": "2013-08-31 20:06:41", "builder_name": "", "structure_y": "-0.7774", "team": 1, "structure_x": "-35.4581", "structure_name": "InfantryPortal", "action": "structure_built", "steamId": -1, "structure_z": "-5.8999" }
{ "structure_cost": 8, "id": 2149, "gametime": 0.050009485334158, "time": "2013-08-31 20:06:41", "builder_name": "", "structure_y": "-3.2512", "team": 2, "structure_x": "47.4218", "structure_name": "Harvester", "action": "structure_built", "steamId": -1, "structure_z": "94.1070" }
{ "structure_cost": 40, "id": 2585, "gametime": 0.050009485334158, "time": "2013-08-31 20:06:41", "builder_name": "", "structure_y": "-4.0084", "team": 2, "structure_x": "59.1312", "structure_name": "Hive", "action": "structure_built", "steamId": -1, "structure_z": "86.1568" }
{ "structure_cost": 1, "id": 585, "gametime": 0.050009485334158, "time": "2013-08-31 20:06:41", "builder_name": "", "structure_y": "-6.5024", "team": 2, "structure_x": "64.4398", "structure_name": "Cyst", "action": "structure_built", "steamId": -1, "structure_z": "88.1888" }
{ "structure_cost": 1, "id": 950, "gametime": 0.050009485334158, "time": "2013-08-31 20:06:41", "builder_name": "", "structure_y": "-3.2512", "team": 2, "structure_x": "56.8198", "structure_name": "Cyst", "action": "structure_built", "steamId": -1, "structure_z": "96.7317" }
{ "structure_cost": 1, "id": 2177, "gametime": 0.050009485334158, "time": "2013-08-31 20:06:41", "builder_name": "", "structure_y": "-3.2512", "team": 2, "structure_x": "49.3776", "structure_name": "Cyst", "action": "structure_built", "steamId": -1, "structure_z": "96.5793" }
{ "structure_cost": 1, "id": 620, "gametime": 0.050009485334158, "time": "2013-08-31 20:06:41", "builder_name": "", "structure_y": "-5.0800", "team": 2, "structure_x": "64.4398", "structure_name": "Cyst", "action": "structure_built", "steamId": -1, "structure_z": "96.2491" }
{ "structure_cost": 0, "id": 635, "gametime": 0.050009485334158, "time": "2013-08-31 20:06:41", "builder_name": "", "structure_y": "1.2700", "team": 1, "structure_x": "-9.5758", "structure_name": "PowerPoint", "action": "structure_built", "steamId": -1, "structure_z": "-4.0640" }
{ "lifeform": "skulk", "gametime": 89.512657165527, "steamId": 49071975, "action": "lifeform_change", "name": "Ghoul", "time": "2013-08-31 20:08:10" }
{ "gametime": 89.512657165527, "time": "2013-08-31 20:08:10", "team": 2, "steamId": 49071975, "action": "player_join_team", "name": "Ghoul", "score": 0 }
{ "structure_cost": 10, "id": 3057, "gametime": 103.96140289307, "time": "2013-08-31 20:08:25", "builder_name": "", "structure_y": "0.5588", "team": 1, "structure_x": "-43.3324", "structure_name": "Extractor", "action": "structure_built", "steamId": -1, "structure_z": "-4.0640" }
{ "structure_cost": 15, "id": 3352, "gametime": 103.96140289307, "time": "2013-08-31 20:08:25", "builder_name": "", "structure_y": "-0.7620", "team": 1, "structure_x": "-29.2862", "structure_name": "CommandStation", "action": "structure_built", "steamId": -1, "structure_z": "-4.0640" }
{ "structure_cost": 20, "id": 1578, "gametime": 103.96140289307, "time": "2013-08-31 20:08:25", "builder_name": "", "structure_y": "-0.7520", "team": 1, "structure_x": "-27.6241", "structure_name": "InfantryPortal", "action": "structure_built", "steamId": -1, "structure_z": "-9.5656" }
{ "structure_cost": 8, "id": 2375, "gametime": 103.96140289307, "time": "2013-08-31 20:08:25", "builder_name": "", "structure_y": "-0.1016", "team": 2, "structure_x": "45.3465", "structure_name": "Harvester", "action": "structure_built", "steamId": -1, "structure_z": "-103.9368" }
{ "structure_cost": 40, "id": 3811, "gametime": 103.96140289307, "time": "2013-08-31 20:08:25", "builder_name": "", "structure_y": "2.1892", "team": 2, "structure_x": "45.3136", "structure_name": "Hive", "action": "structure_built", "steamId": -1, "structure_z": "-82.7024" }
{ "structure_cost": 1, "id": 2381, "gametime": 103.96140289307, "time": "2013-08-31 20:08:25", "builder_name": "", "structure_y": "-1.1176", "team": 2, "structure_x": "43.7642", "structure_name": "Cyst", "action": "structure_built", "steamId": -1, "structure_z": "-92.2528" }
{ "structure_cost": 1, "id": 1754, "gametime": 103.96140289307, "time": "2013-08-31 20:08:25", "builder_name": "", "structure_y": "-2.0320", "team": 2, "structure_x": "37.2618", "structure_name": "Cyst", "action": "structure_built", "steamId": -1, "structure_z": "-94.2848" }
{ "structure_cost": 1, "id": 2484, "gametime": 103.96140289307, "time": "2013-08-31 20:08:25", "builder_name": "", "structure_y": "-1.3208", "team": 2, "structure_x": "33.6042", "structure_name": "Cyst", "action": "structure_built", "steamId": -1, "structure_z": "-97.7392" }
{ "structure_cost": 1, "id": 451, "gametime": 103.96140289307, "time": "2013-08-31 20:08:25", "builder_name": "", "structure_y": "0.2032", "team": 2, "structure_x": "39.2176", "structure_name": "Cyst", "action": "structure_built", "steamId": -1, "structure_z": "-101.7016" }
{ "structure_cost": 1, "id": 231, "gametime": 103.96140289307, "time": "2013-08-31 20:08:25", "builder_name": "", "structure_y": "-0.1016", "team": 2, "structure_x": "44.0944", "structure_name": "Cyst", "action": "structure_built", "steamId": -1, "structure_z": "-101.8032" }
{ "structure_cost": 0, "id": 1894, "gametime": 103.96140289307, "time": "2013-08-31 20:08:25", "builder_name": "", "structure_y": "1.2700", "team": 1, "structure_x": "-9.5758", "structure_name": "PowerPoint", "action": "structure_built", "steamId": -1, "structure_z": "-4.0640" }
{ "gametime": 0, "time": "2013-08-31 20:08:26", "action": "game_start" }
{ "gametime": 0, "action": "player_list_start", "list": [ { "playerLevel": 0, "assists": 0, "lx": 0, "playerSkill": 76, "ly": 0, "lifeform": "skulk", "unstuckCounter": 0, "lz": 0, "teamnumber": 2, "highestKillstreak": 0, "afkCount": 0, "killstreak": 0, "damageTaken": [ ], "hasVoted": false, "jumps": 1, "weapons": [ { "structure_damage": 0, "structure_hit": 0, "player_hit": 0, "miss": 0, "time": 2, "name": "none", "player_damage": 0 }, { "structure_damage": 0, "structure_hit": 0, "player_hit": 0, "miss": 0, "time": 1, "name": "bite", "player_damage": 0 } ], "x": 0, "totalAssists": 0, "ipaddress": "127.0.0.1", "y": 0, "totalDeaths": 0, "votedMap": 0, "marine_commander_ELO": 0, "marine_ELO": 0, "alien_ELO": 0, "isCommander": false, "walked": 0, "totalKills": 0, "totalPlayTime": 672, "z": 0, "score": 0, "totalScore": 20, "isbot": false, "code": 0, "lastCoords": 0, "ping": 36, "unstuck": false, "kills": 0, "dc": false, "lastCommand": 0, "weapon": "bite", "deaths": 0, "index": 0, "steamId": 49071975, "total_constructed": 0, "name": "Ghoul", "alien_commander_ELO": 0 } ], "time": "2013-08-31 20:08:26" }
{ "amount": 1, "team": 2, "gametime": 6.040412902832, "action": "resources_gathered", "time": "2013-08-31 20:08:32" }
{ "amount": 1, "team": 1, "gametime": 6.040412902832, "action": "resources_gathered", "time": "2013-08-31 20:08:32" }
{ "amount": 1, "team": 2, "gametime": 12.048950195313, "action": "resources_gathered", "time": "2013-08-31 20:08:38" }
{ "amount": 1, "team": 1, "gametime": 12.048950195313, "action": "resources_gathered", "time": "2013-08-31 20:08:38" }
{ "amount": 1, "team": 2, "gametime": 18.077186584473, "action": "resources_gathered", "time": "2013-08-31 20:08:44" }
{ "amount": 1, "team": 1, "gametime": 18.077186584473, "action": "resources_gathered", "time": "2013-08-31 20:08:44" }
{ "amount": 1, "team": 2, "gametime": 24.106636047363, "action": "resources_gathered", "time": "2013-08-31 20:08:50" }
{ "amount": 1, "team": 1, "gametime": 24.106636047363, "action": "resources_gathered", "time": "2013-08-31 20:08:50" }
{ "amount": 1, "team": 2, "gametime": 30.113059997559, "action": "resources_gathered", "time": "2013-08-31 20:08:56" }
{ "amount": 1, "team": 1, "gametime": 30.113059997559, "action": "resources_gathered", "time": "2013-08-31 20:08:56" }
{ "amount": 1, "team": 2, "gametime": 36.142463684082, "action": "resources_gathered", "time": "2013-08-31 20:09:02" }
{ "amount": 1, "team": 1, "gametime": 36.142463684082, "action": "resources_gathered", "time": "2013-08-31 20:09:02" }
{ "amount": 1, "team": 2, "gametime": 42.173896789551, "action": "resources_gathered", "time": "2013-08-31 20:09:08" }
{ "amount": 1, "team": 1, "gametime": 42.173896789551, "action": "resources_gathered", "time": "2013-08-31 20:09:08" }
{ "amount": 1, "team": 2, "gametime": 48.211555480957, "action": "resources_gathered", "time": "2013-08-31 20:09:14" }
{ "amount": 1, "team": 1, "gametime": 48.211555480957, "action": "resources_gathered", "time": "2013-08-31 20:09:14" }
{ "gametime": 50.009574890137, "action": "player_list_end", "list": [ { "playerLevel": 0, "assists": 0, "lx": 0, "playerSkill": 76, "ly": 0, "lifeform": "skulk", "unstuckCounter": 0, "lz": 0, "teamnumber": 2, "highestKillstreak": 0, "afkCount": 0, "killstreak": 0, "damageTaken": [ ], "hasVoted": false, "jumps": 1, "weapons": [ { "structure_damage": 0, "structure_hit": 0, "player_hit": 0, "miss": 0, "time": 2, "name": "none", "player_damage": 0 }, { "structure_damage": 0, "structure_hit": 0, "player_hit": 0, "miss": 0, "time": 59, "name": "bite", "player_damage": 0 } ], "x": 0, "totalAssists": 0, "ipaddress": "127.0.0.1", "y": 0, "totalDeaths": 0, "votedMap": 0, "marine_commander_ELO": 0, "marine_ELO": 0, "alien_ELO": 0, "isCommander": false, "walked": 0, "totalKills": 0, "totalPlayTime": 672, "z": 0, "score": 0, "totalScore": 20, "isbot": false, "code": 0, "lastCoords": 0, "ping": 13, "unstuck": false, "kills": 0, "dc": false, "lastCommand": 0, "weapon": "bite", "deaths": 0, "index": 0, "steamId": 49071975, "total_constructed": 0, "name": "Ghoul", "alien_commander_ELO": 0 } ], "time": "2013-08-31 20:09:16" }
{ "autoarrange": false, "version": "254", "mods": "", "winner": 2, "length": "50.01", "statsVersion": "0.42", "private": false, "successfulSends": 0, "tags": [ ], "action": "game_ended", "serverName": "Ghouls Test Server", "awards": [ { "steamId": 49071975, "message": "Ghoul is jump maniac with 1 jumps!", "rating": 0.033333333333333, "id": 7 }, { "steamId": "", "message": "Bob the builder: was not present!", "rating": 0.033333333333333, "id": 3 }, { "steamId": "", "message": "nobody was spilling blood worth of 0 damage.", "rating": 0.011111111111111, "id": 5 }, { "steamId": "", "message": "Demolition man: nobody with 0 structure damage.", "rating": 0.0066666666666667, "id": 4 }, { "steamId": "", "message": "Most damage done by nobody with total of 0 damage!", "rating": 0.0028571428571429, "id": 1 }, { "steamId": "", "message": "Weapon specialist: nobody", "rating": 0, "id": 6 }, { "steamId": "", "message": "Nobody is deathbringer with total of 0 kills and assists!", "rating": 0, "id": 2 }, { "steamId": "", "message": "nobody became unstoppable with streak of 0 kills!", "rating": 0, "id": 8 } ], "gametime": 50.009574890137, "time": "2013-08-31 20:09:16", "start_location2": "Platform", "start_hive_tech": "None", "start_location1": "Reception", "start_path_distance": 185.4150627841, "serverInfo": { "password": "", "count": 30, "IP": "213.196.192.32:27015" }, "map": "ns2_biodome" }
Server changed cheats to 0
Server changed cheats to 0
NS2Stats.org: ( <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>PHP warning</title>
<style type="text/css">
/*<![CDATA[*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;}
body{line-height:1;}
ol,ul{list-style:none;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,q:before,q:after{content:none;}
:focus{outline:0;}
ins{text-decoration:none;}
del{text-decoration:line-through;}
table{border-collapse:collapse;border-spacing:0;}
body {
font: normal 9pt "Verdana";
color: #000;
background: #fff;
}
h1 {
font: normal 18pt "Verdana";
color: #f00;
margin-bottom: .5em;
}
h2 {
font: normal 14pt "Verdana";
color: #800000;
margin-bottom: .5em;
}
h3 {
font: bold 11pt "Verdana";
}
pre {
font: normal 11pt Menlo, Consolas, "Lucida Console", Monospace;
}
pre span.error {
display: block;
background: #fce3e3;
}
pre span.ln {
color: #999;
padding-right: 0.5em;
border-right: 1px solid #ccc;
}
pre span.error-ln {
font-weight: bold;
}
.container {
margin: 1em 4em;
}
.version {
color: gray;
font-size: 8pt;
border-top: 1px solid #aaa;
padding-top: 1em;
margin-bottom: 1em;
}
.message {
color: #000;
padding: 1em;
font-size: 11pt;
background: #f3f3f3;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
margin-bottom: 1em;
line-height: 160%;
}
.source {
margin-bottom: 1em;
}
.code pre {
background-color: #ffe;
margin: 0.5em 0;
padding: 0.5em;
line-height: 125%;
border: 1px solid #eee;
}
.source .file {
margin-bottom: 1em;
font-weight: bold;
}
.traces {
margin: 2em 0;
}
.trace {
margin: 0.5em 0;
padding: 0.5em;
}
.trace.app {
border: 1px dashed #c00;
}
.trace .number {
text-align: right;
width: 2em;
padding: 0.5em;
}
.trace .content {
padding: 0.5em;
}
.trace .plus,
.trace .minus {
display:inline;
vertical-align:middle;
text-align:center;
border:1px solid #000;
color:#000;
font-size:10px;
line-height:10px;
margin:0;
padding:0 1px;
width:10px;
height:10px;
}
.trace.collapsed .minus,
.trace.expanded .plus,
.trace.collapsed pre {
display: none;
}
.trace-file {
cursor: pointer;
padding: 0.2em;
}
.trace-file:hover {
background: #f0ffff;
}
/*]]>*/
</style>
</head>
<body>
<div class="container">
<h1>PHP warning</h1>
<p class="message">
Creating default object from empty value </p>
<div class="source">
<p class="file">/home/ns2stats/dev/protected/controllers/ApiController.php(305)</p>
<div class="code"><pre><span class="ln">293</span> if (!isset($_POST[&#039;key&#039;]))
<span class="ln">294</span> throw new CHttpException(400, &#039;Server key missing&#039;);
<span class="ln">295</span> if (!isset($_POST[&#039;part_number&#039;]))
<span class="ln">296</span> throw new CHttpException(400, &#039;Part number parameter missing&#039;);
<span class="ln">297</span> $partNumber = intval($_POST[&#039;part_number&#039;]);
<span class="ln">298</span> if (!isset($_POST[&#039;last_part&#039;]))
<span class="ln">299</span> throw new CHttpException(400, &#039;Last number parameter missing&#039;);
<span class="ln">300</span>
<span class="ln">301</span> //for DEV output
<span class="ln">302</span>
<span class="ln">303</span> $server = Server::model()-&gt;findByAttributes(array(&#039;server_key&#039; =&gt; $_POST[&#039;key&#039;]));
<span class="ln">304</span>
<span class="error"><span class="ln error-ln">305</span> $server-&gt;ip = $_SERVER[&#039;REMOTE_ADDR&#039;];
</span><span class="ln">306</span> $server-&gt;save();
<span class="ln">307</span> if (!isset($server))
<span class="ln">308</span> throw new CHttpException(401, &#039;Invalid Server Key&#039;);
<span class="ln">309</span>
<span class="ln">310</span> //Create log file
<span class="ln">311</span> if ($partNumber == 1)
<span class="ln">312</span> {
<span class="ln">313</span>
<span class="ln">314</span> $logName = &quot;round-log-&quot; . date(&#039;d-m-Y-H-i-s&#039;) . &#039;-&#039; . $partNumber . &#039;-&#039; . $server-&gt;id;
<span class="ln">315</span> }
<span class="ln">316</span> else
<span class="ln">317</span> {
</pre></div> </div>
<div class="traces">
<h2>Stack Trace</h2>
<table style="width:100%;">
<tr class="trace core collapsed">
<td class="number">
#0 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
&nbsp;/home/ns2stats/framework/web/actions/CInlineAction.php(50): <strong>ApiController</strong>-><strong>actionSendLog</strong>() </div>
<div class="code"><pre><span class="ln">45</span> $controller=$this-&gt;getController();
<span class="ln">46</span> $method=new ReflectionMethod($controller, $methodName);
<span class="ln">47</span> if($method-&gt;getNumberOfParameters()&gt;0)
<span class="ln">48</span> return $this-&gt;runWithParamsInternal($controller, $method, $params);
<span class="ln">49</span> else
<span class="error"><span class="ln error-ln">50</span> return $controller-&gt;$methodName();
</span><span class="ln">51</span> }
<span class="ln">52</span>
<span class="ln">53</span> }
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#1 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
&nbsp;/home/ns2stats/framework/web/CController.php(309): <strong>CInlineAction</strong>-><strong>runWithParams</strong>(array()) </div>
<div class="code"><pre><span class="ln">304</span> {
<span class="ln">305</span> $priorAction=$this-&gt;_action;
<span class="ln">306</span> $this-&gt;_action=$action;
<span class="ln">307</span> if($this-&gt;beforeAction($action))
<span class="ln">308</span> {
<span class="error"><span class="ln error-ln">309</span> if($action-&gt;runWithParams($this-&gt;getActionParams())===false)
</span><span class="ln">310</span> $this-&gt;invalidActionParams($action);
<span class="ln">311</span> else
<span class="ln">312</span> $this-&gt;afterAction($action);
<span class="ln">313</span> }
<span class="ln">314</span> $this-&gt;_action=$priorAction;
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#2 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
&nbsp;/home/ns2stats/framework/web/CController.php(287): <strong>CController</strong>-><strong>runAction</strong>(CInlineAction) </div>
<div class="code"><pre><span class="ln">282</span> * @see runAction
<span class="ln">283</span> */
<span class="ln">284</span> public function runActionWithFilters($action,$filters)
<span class="ln">285</span> {
<span class="ln">286</span> if(empty($filters))
<span class="error"><span class="ln error-ln">287</span> $this-&gt;runAction($action);
</span><span class="ln">288</span> else
<span class="ln">289</span> {
<span class="ln">290</span> $priorAction=$this-&gt;_action;
<span class="ln">291</span> $this-&gt;_action=$action;
<span class="ln">292</span> CFilterChain::create($this,$action,$filters)-&gt;run();
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#3 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
&nbsp;/home/ns2stats/framework/web/CController.php(266): <strong>CController</strong>-><strong>runActionWithFilters</strong>(CInlineAction, array()) </div>
<div class="code"><pre><span class="ln">261</span> {
<span class="ln">262</span> if(($parent=$this-&gt;getModule())===null)
<span class="ln">263</span> $parent=Yii::app();
<span class="ln">264</span> if($parent-&gt;beforeControllerAction($this,$action))
<span class="ln">265</span> {
<span class="error"><span class="ln error-ln">266</span> $this-&gt;runActionWithFilters($action,$this-&gt;filters());
</span><span class="ln">267</span> $parent-&gt;afterControllerAction($this,$action);
<span class="ln">268</span> }
<span class="ln">269</span> }
<span class="ln">270</span> else
<span class="ln">271</span> $this-&gt;missingAction($actionID);
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#4 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
&nbsp;/home/ns2stats/framework/web/CWebApplication.php(283): <strong>CController</strong>-><strong>run</strong>(&quot;sendlog&quot;) </div>
<div class="code"><pre><span class="ln">278</span> {
<span class="ln">279</span> list($controller,$actionID)=$ca;
<span class="ln">280</span> $oldController=$this-&gt;_controller;
<span class="ln">281</span> $this-&gt;_controller=$controller;
<span class="ln">282</span> $controller-&gt;init();
<span class="error"><span class="ln error-ln">283</span> $controller-&gt;run($actionID);
</span><span class="ln">284</span> $this-&gt;_controller=$oldController;
<span class="ln">285</span> }
<span class="ln">286</span> else
<span class="ln">287</span> throw new CHttpException(404,Yii::t(&#039;yii&#039;,&#039;Unable to resolve the request &quot;{route}&quot;.&#039;,
<span class="ln">288</span> array(&#039;{route}&#039;=&gt;$route===&#039;&#039;?$this-&gt;defaultController:$route)));
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#5 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
&nbsp;/home/ns2stats/framework/web/CWebApplication.php(142): <strong>CWebApplication</strong>-><strong>runController</strong>(&quot;api/sendlog&quot;) </div>
<div class="code"><pre><span class="ln">137</span> foreach(array_splice($this-&gt;catchAllRequest,1) as $name=&gt;$value)
<span class="ln">138</span> $_GET[$name]=$value;
<span class="ln">139</span> }
<span class="ln">140</span> else
<span class="ln">141</span> $route=$this-&gt;getUrlManager()-&gt;parseUrl($this-&gt;getRequest());
<span class="error"><span class="ln error-ln">142</span> $this-&gt;runController($route);
</span><span class="ln">143</span> }
<span class="ln">144</span>
<span class="ln">145</span> /**
<span class="ln">146</span> * Registers the core application components.
<span class="ln">147</span> * This method overrides the parent implementation by registering additional core components.
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#6 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
&nbsp;/home/ns2stats/framework/base/CApplication.php(162): <strong>CWebApplication</strong>-><strong>processRequest</strong>() </div>
<div class="code"><pre><span class="ln">157</span> */
<span class="ln">158</span> public function run()
<span class="ln">159</span> {
<span class="ln">160</span> if($this-&gt;hasEventHandler(&#039;onBeginRequest&#039;))
<span class="ln">161</span> $this-&gt;onBeginRequest(new CEvent($this));
<span class="error"><span class="ln error-ln">162</span> $this-&gt;processRequest();
</span><span class="ln">163</span> if($this-&gt;hasEventHandler(&#039;onEndRequest&#039;))
<span class="ln">164</span> $this-&gt;onEndRequest(new CEvent($this));
<span class="ln">165</span> }
<span class="ln">166</span>
<span class="ln">167</span> /**
</pre></div> </td>
</tr>
<tr class="trace app expanded">
<td class="number">
#7 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
&nbsp;/home/ns2stats/dev/index.php(22): <strong>CApplication</strong>-><strong>run</strong>() </div>
<div class="code"><pre><span class="ln">17</span> defined(&#039;YII_TRACE_LEVEL&#039;) or define(&#039;YII_TRACE_LEVEL&#039;, 3);
<span class="ln">18</span>
<span class="ln">19</span> require_once($yii);
<span class="ln">20</span> //Yii::createWebApplication($config)-&gt;run();
<span class="ln">21</span> require_once(dirname(__FILE__) . &#039;/protected/components/Ns2stats.php&#039;);
<span class="error"><span class="ln error-ln">22</span> Yii::createApplication(&#039;Ns2stats&#039;, $config)-&gt;run();
</span></pre></div> </td>
</tr>
</table>
</div>
<div class="version">
2013-08-31 23:09:19 Apache/2.2.22 (Debian) <a href="http://www.yiiframework.com/">Yii Framework</a>/1.1.12 </div>
</div>
<script type="text/javascript">
/*<![CDATA[*/
var traceReg = new RegExp("(^|\\s)trace-file(\\s|$)");
var collapsedReg = new RegExp("(^|\\s)collapsed(\\s|$)");
var e = document.getElementsByTagName("div");
for(var j=0,len=e.length;j<len;j++){
if(traceReg.test(e[j].className)){
e[j].onclick = function(){
var trace = this.parentNode.parentNode;
if(collapsedReg.test(trace.className))
trace.className = trace.className.replace("collapsed", "expanded");
else
trace.className = trace.className.replace("expanded", "collapsed");
}
}
}
/*]]>*/
</script>
</body>
</html>
)
Compiling 'shaders/GUIBasic.surface_shader'
Compiling 'shaders/GUIBasic.surface_shader'
Compiling 'shaders/GUIBasic.surface_shader'
[22:09:52]sv - Ghoul - 49071975: : STEAM_0:1:24535987: sv_cheats
[22:09:52]Setting team 1 team location: Reception
[22:09:52]Setting team 2 team location: Hydroponics
Server changed cheats to 1
Server changed cheats to 1
Compiling 'shaders/GUIBasic.surface_shader'
Compiling 'shaders/GUIBasic.surface_shader'
Compiling 'shaders/GUIBasic.surface_shader'
Compiling 'shaders/GUIBasic.surface_shader'
[22:10:56]sv - Ghoul - 49071975: : STEAM_0:1:24535987: sv_cheats
Logpart: 2
Log: { "gametime": 162.99725341797, "time": "2013-08-31 20:09:24", "team": 0, "steamId": 49071975, "action": "player_join_team", "name": "Ghoul", "score": 0 }
{ "structure_cost": 10, "id": 2478, "gametime": 162.99725341797, "time": "2013-08-31 20:09:24", "builder_name": "", "structure_y": "0.5588", "team": 1, "structure_x": "-43.3324", "structure_name": "Extractor", "action": "structure_built", "steamId": -1, "structure_z": "-4.0640" }
{ "structure_cost": 15, "id": 3315, "gametime": 162.99725341797, "time": "2013-08-31 20:09:24", "builder_name": "", "structure_y": "-0.7620", "team": 1, "structure_x": "-29.2862", "structure_name": "CommandStation", "action": "structure_built", "steamId": -1, "structure_z": "-4.0640" }
{ "structure_cost": 20, "id": 2318, "gametime": 162.99725341797, "time": "2013-08-31 20:09:24", "builder_name": "", "structure_y": "-0.8164", "team": 1, "structure_x": "-30.2938", "structure_name": "InfantryPortal", "action": "structure_built", "steamId": -1, "structure_z": "-8.4077" }
{ "structure_cost": 8, "id": 3289, "gametime": 162.99725341797, "time": "2013-08-31 20:09:24", "builder_name": "", "structure_y": "-0.1016", "team": 2, "structure_x": "45.3465", "structure_name": "Harvester", "action": "structure_built", "steamId": -1, "structure_z": "-103.9368" }
{ "structure_cost": 40, "id": 2453, "gametime": 162.99725341797, "time": "2013-08-31 20:09:24", "builder_name": "", "structure_y": "2.1892", "team": 2, "structure_x": "45.3136", "structure_name": "Hive", "action": "structure_built", "steamId": -1, "structure_z": "-82.7024" }
{ "structure_cost": 1, "id": 85, "gametime": 162.99725341797, "time": "2013-08-31 20:09:24", "builder_name": "", "structure_y": "-1.1176", "team": 2, "structure_x": "43.7642", "structure_name": "Cyst", "action": "structure_built", "steamId": -1, "structure_z": "-92.2528" }
{ "structure_cost": 1, "id": 480, "gametime": 162.99725341797, "time": "2013-08-31 20:09:24", "builder_name": "", "structure_y": "-2.0320", "team": 2, "structure_x": "37.2618", "structure_name": "Cyst", "action": "structure_built", "steamId": -1, "structure_z": "-94.2848" }
{ "structure_cost": 1, "id": 2685, "gametime": 162.99725341797, "time": "2013-08-31 20:09:24", "builder_name": "", "structure_y": "-1.3208", "team": 2, "structure_x": "33.6042", "structure_name": "Cyst", "action": "structure_built", "steamId": -1, "structure_z": "-97.7392" }
{ "structure_cost": 1, "id": 865, "gametime": 162.99725341797, "time": "2013-08-31 20:09:24", "builder_name": "", "structure_y": "0.2032", "team": 2, "structure_x": "39.2176", "structure_name": "Cyst", "action": "structure_built", "steamId": -1, "structure_z": "-101.7016" }
{ "structure_cost": 1, "id": 2197, "gametime": 162.99725341797, "time": "2013-08-31 20:09:24", "builder_name": "", "structure_y": "-0.1016", "team": 2, "structure_x": "44.0944", "structure_name": "Cyst", "action": "structure_built", "steamId": -1, "structure_z": "-101.8032" }
{ "structure_cost": 0, "id": 676, "gametime": 162.99725341797, "time": "2013-08-31 20:09:24", "builder_name": "", "structure_y": "1.2700", "team": 1, "structure_x": "-9.5758", "structure_name": "PowerPoint", "action": "structure_built", "steamId": -1, "structure_z": "-4.0640" }
{ "gametime": 179.82992553711, "time": "2013-08-31 20:09:40", "team": 1, "steamId": 49071975, "action": "player_join_team", "name": "Ghoul", "score": 0 }
{ "structure_cost": 10, "id": 623, "gametime": 191.00189208984, "time": "2013-08-31 20:09:52", "builder_name": "", "structure_y": "0.5588", "team": 1, "structure_x": "-43.3324", "structure_name": "Extractor", "action": "structure_built", "steamId": -1, "structure_z": "-4.0640" }
{ "structure_cost": 15, "id": 2319, "gametime": 191.00189208984, "time": "2013-08-31 20:09:52", "builder_name": "", "structure_y": "-0.7620", "team": 1, "structure_x": "-29.2862", "structure_name": "CommandStation", "action": "structure_built", "steamId": -1, "structure_z": "-4.0640" }
{ "structure_cost": 20, "id": 1849, "gametime": 191.00189208984, "time": "2013-08-31 20:09:52", "builder_name": "", "structure_y": "-0.7520", "team": 1, "structure_x": "-29.1130", "structure_name": "InfantryPortal", "action": "structure_built", "steamId": -1, "structure_z": "-9.6962" }
{ "structure_cost": 8, "id": 170, "gametime": 191.00189208984, "time": "2013-08-31 20:09:52", "builder_name": "", "structure_y": "-3.2512", "team": 2, "structure_x": "47.4218", "structure_name": "Harvester", "action": "structure_built", "steamId": -1, "structure_z": "94.1070" }
{ "structure_cost": 40, "id": 1919, "gametime": 191.00189208984, "time": "2013-08-31 20:09:52", "builder_name": "", "structure_y": "-4.0084", "team": 2, "structure_x": "59.1312", "structure_name": "Hive", "action": "structure_built", "steamId": -1, "structure_z": "86.1568" }
{ "structure_cost": 1, "id": 3466, "gametime": 191.00189208984, "time": "2013-08-31 20:09:52", "builder_name": "", "structure_y": "-6.5024", "team": 2, "structure_x": "64.4398", "structure_name": "Cyst", "action": "structure_built", "steamId": -1, "structure_z": "88.1888" }
{ "structure_cost": 1, "id": 3460, "gametime": 191.00189208984, "time": "2013-08-31 20:09:52", "builder_name": "", "structure_y": "-3.2512", "team": 2, "structure_x": "56.8198", "structure_name": "Cyst", "action": "structure_built", "steamId": -1, "structure_z": "96.7317" }
{ "structure_cost": 1, "id": 2871, "gametime": 191.00189208984, "time": "2013-08-31 20:09:52", "builder_name": "", "structure_y": "-3.2512", "team": 2, "structure_x": "49.3776", "structure_name": "Cyst", "action": "structure_built", "steamId": -1, "structure_z": "96.5793" }
{ "structure_cost": 1, "id": 284, "gametime": 191.00189208984, "time": "2013-08-31 20:09:52", "builder_name": "", "structure_y": "-5.0800", "team": 2, "structure_x": "64.4398", "structure_name": "Cyst", "action": "structure_built", "steamId": -1, "structure_z": "96.2491" }
{ "structure_cost": 0, "id": 990, "gametime": 191.00189208984, "time": "2013-08-31 20:09:52", "builder_name": "", "structure_y": "1.2700", "team": 1, "structure_x": "-9.5758", "structure_name": "PowerPoint", "action": "structure_built", "steamId": -1, "structure_z": "-4.0640" }
{ "gametime": 0, "time": "2013-08-31 20:09:53", "action": "game_start" }
{ "lifeform": "marine", "gametime": 0, "steamId": 49071975, "action": "lifeform_change", "name": "Ghoul", "time": "2013-08-31 20:09:53" }
{ "gametime": 0, "action": "player_list_start", "list": [ { "playerLevel": 0, "assists": 0, "lx": 0, "playerSkill": 0, "ly": 0, "lifeform": "marine", "unstuckCounter": 0, "lz": 0, "teamnumber": 1, "highestKillstreak": 0, "afkCount": 0, "killstreak": 0, "damageTaken": [ ], "hasVoted": false, "jumps": 0, "weapons": [ ], "x": 0, "totalAssists": 0, "ipaddress": "127.0.0.1", "y": 0, "totalDeaths": 0, "votedMap": 0, "marine_commander_ELO": 0, "marine_ELO": 0, "alien_ELO": 0, "isCommander": false, "walked": 0, "totalKills": 0, "totalPlayTime": 0, "z": 0, "score": 0, "totalScore": 0, "isbot": false, "code": 0, "lastCoords": 0, "ping": 15, "unstuck": false, "kills": 0, "dc": false, "lastCommand": 0, "weapon": "", "deaths": 0, "index": 0, "steamId": 49071975, "total_constructed": 0, "name": "Ghoul", "alien_commander_ELO": 0 } ], "time": "2013-08-31 20:09:53" }
{ "amount": 1, "team": 2, "gametime": 6.0535430908203, "action": "resources_gathered", "time": "2013-08-31 20:09:59" }
{ "amount": 1, "team": 1, "gametime": 6.0535430908203, "action": "resources_gathered", "time": "2013-08-31 20:09:59" }
{ "lifeform": "marine_commander", "gametime": 7.7612609863281, "steamId": 49071975, "action": "lifeform_change", "name": "Ghoul", "time": "2013-08-31 20:10:00" }
{ "lifeform": "marine_commander", "gametime": 7.7612609863281, "steamId": 49071975, "action": "lifeform_change", "name": "Ghoul", "time": "2013-08-31 20:10:00" }
{ "lifeform": "marine", "gametime": 7.7612609863281, "steamId": 49071975, "action": "lifeform_change", "name": "Ghoul", "time": "2013-08-31 20:10:00" }
{ "lifeform": "marine_commander", "gametime": 7.7612609863281, "steamId": 49071975, "action": "lifeform_change", "name": "Ghoul", "time": "2013-08-31 20:10:00" }
{ "structure_cost": 10, "id": 2784, "gametime": 9.8323822021484, "time": "2013-08-31 20:10:02", "team": 1, "structure_name": "Armory", "structure_x": "-23.8385", "steamId": 49071975, "structure_y": "-0.7520", "action": "structure_dropped", "structure_z": "-4.4688" }
{ "amount": 1, "team": 2, "gametime": 12.081146240234, "action": "resources_gathered", "time": "2013-08-31 20:10:05" }
{ "amount": 1, "team": 1, "gametime": 12.081146240234, "action": "resources_gathered", "time": "2013-08-31 20:10:05" }
{ "structure_cost": 20, "id": 2013, "gametime": 14.378921508789, "time": "2013-08-31 20:10:07", "team": 1, "structure_name": "InfantryPortal", "structure_x": "-24.6536", "steamId": 49071975, "structure_y": "-0.7520", "action": "structure_dropped", "structure_z": "0.9480" }
{ "lifeform": "marine", "gametime": 15.321334838867, "steamId": 49071975, "action": "lifeform_change", "name": "Ghoul", "time": "2013-08-31 20:10:08" }
{ "lifeform": "marine_commander", "gametime": 15.321334838867, "steamId": 49071975, "action": "lifeform_change", "name": "Ghoul", "time": "2013-08-31 20:10:08" }
{ "lifeform": "marine", "gametime": 15.321334838867, "steamId": 49071975, "action": "lifeform_change", "name": "Ghoul", "time": "2013-08-31 20:10:08" }
{ "lifeform": "marine_commander", "gametime": 15.321334838867, "steamId": 49071975, "action": "lifeform_change", "name": "Ghoul", "time": "2013-08-31 20:10:08" }
{ "lifeform": "marine", "gametime": 15.321334838867, "steamId": 49071975, "action": "lifeform_change", "name": "Ghoul", "time": "2013-08-31 20:10:08" }
{ "lifeform": "marine_commander", "gametime": 15.321334838867, "steamId": 49071975, "action": "lifeform_change", "name": "Ghoul", "time": "2013-08-31 20:10:08" }
{ "lifeform": "marine", "gametime": 15.321334838867, "steamId": 49071975, "action": "lifeform_change", "name": "Ghoul", "time": "2013-08-31 20:10:08" }
{ "lifeform": "marine_commander", "gametime": 15.321334838867, "steamId": 49071975, "action": "lifeform_change", "name": "Ghoul", "time": "2013-08-31 20:10:08" }
{ "lifeform": "marine", "gametime": 15.321334838867, "steamId": 49071975, "action": "lifeform_change", "name": "Ghoul", "time": "2013-08-31 20:10:08" }
{ "amount": 1, "team": 2, "gametime": 18.094833374023, "action": "resources_gathered", "time": "2013-08-31 20:10:11" }
{ "amount": 1, "team": 1, "gametime": 18.094833374023, "action": "resources_gathered", "time": "2013-08-31 20:10:11" }
{ "damageType": 1, "attackerz": "-8.7479", "gametime": 21.799591064453, "attacker_hp": 100, "attacker_weapon": "axe", "structure_x": "-29.1130", "structure_name": "infantryportal", "action": "hit_structure", "attacker_armor": 30, "attacker_team": 1, "attackerx": "-28.3853", "attacker_lifeform": "marine", "attackery": "-0.4053", "attacker_steamId": 49071975, "time": "2013-08-31 20:10:15", "damage": 25, "structure_y": "-0.7520", "structure_id": 1849, "structure_z": "-9.6962" }
{ "amount": 1, "team": 2, "gametime": 24.101898193359, "action": "resources_gathered", "time": "2013-08-31 20:10:17" }
{ "amount": 1, "team": 1, "gametime": 24.101898193359, "action": "resources_gathered", "time": "2013-08-31 20:10:17" }
{ "amount": 1, "team": 2, "gametime": 30.137741088867, "action": "resources_gathered", "time": "2013-08-31 20:10:23" }
{ "amount": 1, "team": 1, "gametime": 30.137741088867, "action": "resources_gathered", "time": "2013-08-31 20:10:23" }
{ "amount": 1, "team": 2, "gametime": 36.173904418945, "action": "resources_gathered", "time": "2013-08-31 20:10:29" }
{ "amount": 1, "team": 1, "gametime": 36.173904418945, "action": "resources_gathered", "time": "2013-08-31 20:10:29" }
{ "structure_cost": 10, "id": 2784, "gametime": 36.283462524414, "time": "2013-08-31 20:10:29", "builder_name": "Ghoul", "structure_y": "-0.7520", "team": 1, "structure_x": "-23.8385", "structure_name": "Armory", "action": "structure_built", "steamId": 49071975, "structure_z": "-4.4688" }
{ "amount": 1, "team": 2, "gametime": 42.19677734375, "action": "resources_gathered", "time": "2013-08-31 20:10:35" }
{ "amount": 1, "team": 1, "gametime": 42.19677734375, "action": "resources_gathered", "time": "2013-08-31 20:10:35" }
{ "amount": 1, "team": 2, "gametime": 48.225296020508, "action": "resources_gathered", "time": "2013-08-31 20:10:41" }
{ "amount": 1, "team": 1, "gametime": 48.225296020508, "action": "resources_gathered", "time": "2013-08-31 20:10:41" }
{ "structure_cost": 20, "id": 2013, "gametime": 52.168090820313, "time": "2013-08-31 20:10:45", "builder_name": "Ghoul", "structure_y": "-0.7520", "team": 1, "structure_x": "-24.6536", "structure_name": "InfantryPortal", "action": "structure_built", "steamId": 49071975, "structure_z": "0.9480" }
{ "amount": 1, "team": 2, "gametime": 54.230178833008, "action": "resources_gathered", "time": "2013-08-31 20:10:47" }
{ "amount": 1, "team": 1, "gametime": 54.230178833008, "action": "resources_gathered", "time": "2013-08-31 20:10:47" }
{ "amount": 1, "team": 2, "gametime": 60.256164550781, "action": "resources_gathered", "time": "2013-08-31 20:10:53" }
{ "amount": 1, "team": 1, "gametime": 60.256164550781, "action": "resources_gathered", "time": "2013-08-31 20:10:53" }
{ "gametime": 63.877090454102, "action": "player_list_end", "list": [ { "playerLevel": 0, "assists": 0, "lx": 0, "playerSkill": 76, "ly": 0, "lifeform": "marine", "unstuckCounter": 0, "lz": 0, "teamnumber": 1, "highestKillstreak": 0, "afkCount": 0, "killstreak": 0, "damageTaken": [ ], "hasVoted": false, "jumps": 0, "weapons": [ { "structure_damage": 0, "structure_hit": 0, "player_hit": 0, "miss": 0, "time": 5, "name": "", "player_damage": 0 }, { "structure_damage": 0, "structure_hit": 0, "player_hit": 0, "miss": 0, "time": 13, "name": "rifle", "player_damage": 0 }, { "structure_damage": 0, "structure_hit": 0, "player_hit": 0, "miss": 0, "time": 3, "name": "none", "player_damage": 0 }, { "structure_damage": 25, "structure_hit": 1, "player_hit": 0, "miss": 0, "time": 10, "name": "axe", "player_damage": 0 }, { "structure_damage": 0, "structure_hit": 0, "player_hit": 0, "miss": 0, "time": 22, "name": "builder", "player_damage": 0 }, { "structure_damage": 0, "structure_hit": 0, "player_hit": 0, "miss": 0, "time": 26, "name": "welder", "player_damage": 0 } ], "x": 0, "totalAssists": 0, "ipaddress": "127.0.0.1", "y": 0, "totalDeaths": 0, "votedMap": 0, "marine_commander_ELO": 0, "marine_ELO": 0, "alien_ELO": 0, "isCommander": false, "walked": 0, "totalKills": 0, "totalPlayTime": 672, "z": 0, "score": 9, "totalScore": 20, "isbot": false, "code": 0, "lastCoords": 0, "ping": 17, "unstuck": false, "kills": 0, "dc": false, "lastCommand": 0, "weapon": "welder", "deaths": 0, "index": 0, "steamId": 49071975, "total_constructed": 2, "name": "Ghoul", "alien_commander_ELO": 0 } ], "time": "2013-08-31 20:10:57" }
{ "autoarrange": false, "version": "254", "mods": "", "winner": 1, "length": "63.88", "statsVersion": "0.42", "private": false, "successfulSends": 1, "tags": [ ], "action": "game_ended", "serverName": "Ghouls Test Server", "awards": [ { "steamId": 49071975, "message": "Demolition man: Ghoul with 25 structure damage.", "rating": 0.17333333333333, "id": 4 }, { "steamId": 49071975, "message": "Bob the builder: Ghoul!", "rating": 0.1, "id": 3 }, { "steamId": 49071975, "message": "Most damage done by Ghoul with total of 25 damage!", "rating": 0.074285714285714, "id": 1 }, { "steamId": "", "message": "nobody was spilling blood worth of 0 damage.", "rating": 0.011111111111111, "id": 5 }, { "steamId": "", "message": "nobody is jump maniac with 0 jumps!", "rating": 0, "id": 7 }, { "steamId": "", "message": "Nobody is deathbringer with total of 0 kills and assists!", "rating": 0, "id": 2 }, { "steamId": "", "message": "Weapon specialist: nobody", "rating": 0, "id": 6 }, { "steamId": "", "message": "nobody became unstoppable with streak of 0 kills!", "rating": 0, "id": 8 } ], "gametime": 63.877090454102, "time": "2013-08-31 20:10:57", "start_location2": "Hydroponics", "start_hive_tech": "None", "start_location1": "Reception", "start_path_distance": 189.89810847782, "serverInfo": { "password": "", "count": 30, "IP": "213.196.192.32:27015" }, "map": "ns2_biodome" }
[22:10:57]PlayerRanking: game info ------------------
[22:10:57]{gameTime = 63.877090454102,tournamentMode = "false",serverIp = "213.196.192.32",gameMode = "ns2",mapName = "ns2_biodome",players = {},}
[22:10:57]PlayerRanking: dumping player data ------------------
[22:10:57]{assists = 0,nickname = "Ghoul",isWinner = "true",playTime = 63.869355561212,deaths = 0,steamId = 49071975,isCommander = "false",kills = 0,score = 9,}
Server changed cheats to 0
Server changed cheats to 0
NS2Stats.org: ( <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>PHP warning</title>
<style type="text/css">
/*<![CDATA[*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;}
body{line-height:1;}
ol,ul{list-style:none;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,q:before,q:after{content:none;}
:focus{outline:0;}
ins{text-decoration:none;}
del{text-decoration:line-through;}
table{border-collapse:collapse;border-spacing:0;}
body {
font: normal 9pt "Verdana";
color: #000;
background: #fff;
}
h1 {
font: normal 18pt "Verdana";
color: #f00;
margin-bottom: .5em;
}
h2 {
font: normal 14pt "Verdana";
color: #800000;
margin-bottom: .5em;
}
h3 {
font: bold 11pt "Verdana";
}
pre {
font: normal 11pt Menlo, Consolas, "Lucida Console", Monospace;
}
pre span.error {
display: block;
background: #fce3e3;
}
pre span.ln {
color: #999;
padding-right: 0.5em;
border-right: 1px solid #ccc;
}
pre span.error-ln {
font-weight: bold;
}
.container {
margin: 1em 4em;
}
.version {
color: gray;
font-size: 8pt;
border-top: 1px solid #aaa;
padding-top: 1em;
margin-bottom: 1em;
}
.message {
color: #000;
padding: 1em;
font-size: 11pt;
background: #f3f3f3;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
margin-bottom: 1em;
line-height: 160%;
}
.source {
margin-bottom: 1em;
}
.code pre {
background-color: #ffe;
margin: 0.5em 0;
padding: 0.5em;
line-height: 125%;
border: 1px solid #eee;
}
.source .file {
margin-bottom: 1em;
font-weight: bold;
}
.traces {
margin: 2em 0;
}
.trace {
margin: 0.5em 0;
padding: 0.5em;
}
.trace.app {
border: 1px dashed #c00;
}
.trace .number {
text-align: right;
width: 2em;
padding: 0.5em;
}
.trace .content {
padding: 0.5em;
}
.trace .plus,
.trace .minus {
display:inline;
vertical-align:middle;
text-align:center;
border:1px solid #000;
color:#000;
font-size:10px;
line-height:10px;
margin:0;
padding:0 1px;
width:10px;
height:10px;
}
.trace.collapsed .minus,
.trace.expanded .plus,
.trace.collapsed pre {
display: none;
}
.trace-file {
cursor: pointer;
padding: 0.2em;
}
.trace-file:hover {
background: #f0ffff;
}
/*]]>*/
</style>
</head>
<body>
<div class="container">
<h1>PHP warning</h1>
<p class="message">
Creating default object from empty value </p>
<div class="source">
<p class="file">/home/ns2stats/dev/protected/controllers/ApiController.php(305)</p>
<div class="code"><pre><span class="ln">293</span> if (!isset($_POST[&#039;key&#039;]))
<span class="ln">294</span> throw new CHttpException(400, &#039;Server key missing&#039;);
<span class="ln">295</span> if (!isset($_POST[&#039;part_number&#039;]))
<span class="ln">296</span> throw new CHttpException(400, &#039;Part number parameter missing&#039;);
<span class="ln">297</span> $partNumber = intval($_POST[&#039;part_number&#039;]);
<span class="ln">298</span> if (!isset($_POST[&#039;last_part&#039;]))
<span class="ln">299</span> throw new CHttpException(400, &#039;Last number parameter missing&#039;);
<span class="ln">300</span>
<span class="ln">301</span> //for DEV output
<span class="ln">302</span>
<span class="ln">303</span> $server = Server::model()-&gt;findByAttributes(array(&#039;server_key&#039; =&gt; $_POST[&#039;key&#039;]));
<span class="ln">304</span>
<span class="error"><span class="ln error-ln">305</span> $server-&gt;ip = $_SERVER[&#039;REMOTE_ADDR&#039;];
</span><span class="ln">306</span> $server-&gt;save();
<span class="ln">307</span> if (!isset($server))
<span class="ln">308</span> throw new CHttpException(401, &#039;Invalid Server Key&#039;);
<span class="ln">309</span>
<span class="ln">310</span> //Create log file
<span class="ln">311</span> if ($partNumber == 1)
<span class="ln">312</span> {
<span class="ln">313</span>
<span class="ln">314</span> $logName = &quot;round-log-&quot; . date(&#039;d-m-Y-H-i-s&#039;) . &#039;-&#039; . $partNumber . &#039;-&#039; . $server-&gt;id;
<span class="ln">315</span> }
<span class="ln">316</span> else
<span class="ln">317</span> {
</pre></div> </div>
<div class="traces">
<h2>Stack Trace</h2>
<table style="width:100%;">
<tr class="trace core collapsed">
<td class="number">
#0 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
&nbsp;/home/ns2stats/framework/web/actions/CInlineAction.php(50): <strong>ApiController</strong>-><strong>actionSendLog</strong>() </div>
<div class="code"><pre><span class="ln">45</span> $controller=$this-&gt;getController();
<span class="ln">46</span> $method=new ReflectionMethod($controller, $methodName);
<span class="ln">47</span> if($method-&gt;getNumberOfParameters()&gt;0)
<span class="ln">48</span> return $this-&gt;runWithParamsInternal($controller, $method, $params);
<span class="ln">49</span> else
<span class="error"><span class="ln error-ln">50</span> return $controller-&gt;$methodName();
</span><span class="ln">51</span> }
<span class="ln">52</span>
<span class="ln">53</span> }
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#1 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
&nbsp;/home/ns2stats/framework/web/CController.php(309): <strong>CInlineAction</strong>-><strong>runWithParams</strong>(array()) </div>
<div class="code"><pre><span class="ln">304</span> {
<span class="ln">305</span> $priorAction=$this-&gt;_action;
<span class="ln">306</span> $this-&gt;_action=$action;
<span class="ln">307</span> if($this-&gt;beforeAction($action))
<span class="ln">308</span> {
<span class="error"><span class="ln error-ln">309</span> if($action-&gt;runWithParams($this-&gt;getActionParams())===false)
</span><span class="ln">310</span> $this-&gt;invalidActionParams($action);
<span class="ln">311</span> else
<span class="ln">312</span> $this-&gt;afterAction($action);
<span class="ln">313</span> }
<span class="ln">314</span> $this-&gt;_action=$priorAction;
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#2 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
&nbsp;/home/ns2stats/framework/web/CController.php(287): <strong>CController</strong>-><strong>runAction</strong>(CInlineAction) </div>
<div class="code"><pre><span class="ln">282</span> * @see runAction
<span class="ln">283</span> */
<span class="ln">284</span> public function runActionWithFilters($action,$filters)
<span class="ln">285</span> {
<span class="ln">286</span> if(empty($filters))
<span class="error"><span class="ln error-ln">287</span> $this-&gt;runAction($action);
</span><span class="ln">288</span> else
<span class="ln">289</span> {
<span class="ln">290</span> $priorAction=$this-&gt;_action;
<span class="ln">291</span> $this-&gt;_action=$action;
<span class="ln">292</span> CFilterChain::create($this,$action,$filters)-&gt;run();
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#3 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
&nbsp;/home/ns2stats/framework/web/CController.php(266): <strong>CController</strong>-><strong>runActionWithFilters</strong>(CInlineAction, array()) </div>
<div class="code"><pre><span class="ln">261</span> {
<span class="ln">262</span> if(($parent=$this-&gt;getModule())===null)
<span class="ln">263</span> $parent=Yii::app();
<span class="ln">264</span> if($parent-&gt;beforeControllerAction($this,$action))
<span class="ln">265</span> {
<span class="error"><span class="ln error-ln">266</span> $this-&gt;runActionWithFilters($action,$this-&gt;filters());
</span><span class="ln">267</span> $parent-&gt;afterControllerAction($this,$action);
<span class="ln">268</span> }
<span class="ln">269</span> }
<span class="ln">270</span> else
<span class="ln">271</span> $this-&gt;missingAction($actionID);
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#4 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
&nbsp;/home/ns2stats/framework/web/CWebApplication.php(283): <strong>CController</strong>-><strong>run</strong>(&quot;sendlog&quot;) </div>
<div class="code"><pre><span class="ln">278</span> {
<span class="ln">279</span> list($controller,$actionID)=$ca;
<span class="ln">280</span> $oldController=$this-&gt;_controller;
<span class="ln">281</span> $this-&gt;_controller=$controller;
<span class="ln">282</span> $controller-&gt;init();
<span class="error"><span class="ln error-ln">283</span> $controller-&gt;run($actionID);
</span><span class="ln">284</span> $this-&gt;_controller=$oldController;
<span class="ln">285</span> }
<span class="ln">286</span> else
<span class="ln">287</span> throw new CHttpException(404,Yii::t(&#039;yii&#039;,&#039;Unable to resolve the request &quot;{route}&quot;.&#039;,
<span class="ln">288</span> array(&#039;{route}&#039;=&gt;$route===&#039;&#039;?$this-&gt;defaultController:$route)));
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#5 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
&nbsp;/home/ns2stats/framework/web/CWebApplication.php(142): <strong>CWebApplication</strong>-><strong>runController</strong>(&quot;api/sendlog&quot;) </div>
<div class="code"><pre><span class="ln">137</span> foreach(array_splice($this-&gt;catchAllRequest,1) as $name=&gt;$value)
<span class="ln">138</span> $_GET[$name]=$value;
<span class="ln">139</span> }
<span class="ln">140</span> else
<span class="ln">141</span> $route=$this-&gt;getUrlManager()-&gt;parseUrl($this-&gt;getRequest());
<span class="error"><span class="ln error-ln">142</span> $this-&gt;runController($route);
</span><span class="ln">143</span> }
<span class="ln">144</span>
<span class="ln">145</span> /**
<span class="ln">146</span> * Registers the core application components.
<span class="ln">147</span> * This method overrides the parent implementation by registering additional core components.
</pre></div> </td>
</tr>
<tr class="trace core collapsed">
<td class="number">
#6 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
&nbsp;/home/ns2stats/framework/base/CApplication.php(162): <strong>CWebApplication</strong>-><strong>processRequest</strong>() </div>
<div class="code"><pre><span class="ln">157</span> */
<span class="ln">158</span> public function run()
<span class="ln">159</span> {
<span class="ln">160</span> if($this-&gt;hasEventHandler(&#039;onBeginRequest&#039;))
<span class="ln">161</span> $this-&gt;onBeginRequest(new CEvent($this));
<span class="error"><span class="ln error-ln">162</span> $this-&gt;processRequest();
</span><span class="ln">163</span> if($this-&gt;hasEventHandler(&#039;onEndRequest&#039;))
<span class="ln">164</span> $this-&gt;onEndRequest(new CEvent($this));
<span class="ln">165</span> }
<span class="ln">166</span>
<span class="ln">167</span> /**
</pre></div> </td>
</tr>
<tr class="trace app expanded">
<td class="number">
#7 </td>
<td class="content">
<div class="trace-file">
<div class="plus">+</div>
<div class="minus">–</div>
&nbsp;/home/ns2stats/dev/index.php(22): <strong>CApplication</strong>-><strong>run</strong>() </div>
<div class="code"><pre><span class="ln">17</span> defined(&#039;YII_TRACE_LEVEL&#039;) or define(&#039;YII_TRACE_LEVEL&#039;, 3);
<span class="ln">18</span>
<span class="ln">19</span> require_once($yii);
<span class="ln">20</span> //Yii::createWebApplication($config)-&gt;run();
<span class="ln">21</span> require_once(dirname(__FILE__) . &#039;/protected/components/Ns2stats.php&#039;);
<span class="error"><span class="ln error-ln">22</span> Yii::createApplication(&#039;Ns2stats&#039;, $config)-&gt;run();
</span></pre></div> </td>
</tr>
</table>
</div>
<div class="version">
2013-08-31 23:11:00 Apache/2.2.22 (Debian) <a href="http://www.yiiframework.com/">Yii Framework</a>/1.1.12 </div>
</div>
<script type="text/javascript">
/*<![CDATA[*/
var traceReg = new RegExp("(^|\\s)trace-file(\\s|$)");
var collapsedReg = new RegExp("(^|\\s)collapsed(\\s|$)");
var e = document.getElementsByTagName("div");
for(var j=0,len=e.length;j<len;j++){
if(traceReg.test(e[j].className)){
e[j].onclick = function(){
var trace = this.parentNode.parentNode;
if(collapsedReg.test(trace.className))
trace.className = trace.className.replace("collapsed", "expanded");
else
trace.className = trace.className.replace("expanded", "collapsed");
}
}
}
/*]]>*/
</script>
</body>
</html>
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment