Chess: Battle online
ErrorException [ Notice ]:
APPPATH/views/index/games.php [ 53 ]
48 <div class="mt-20">
49
50 <div class="row">
51 <div class="col-xs-3">
52 <div class="rel inl f-left zag-gamer">
53 <?php echo $usersData[0]['username']; ?>
54 </div><!-- f-left -->
55 <div class="avatar1"><img src="<?php echo $usersData[0]['avatar']; ?>"/></div>
56
57 </div><!-- col-sm-3 -->
58 <div class="col-xs-6">
-
APPPATH/views/index/games.php [ 53 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(19) "Undefined offset: 0"
2
string(64) "/var/www/chess-battle.com/html/application/views/index/games.php"
3
integer 53
4
array(6) ( "kohana_view_filename" => string(64) "/var/www/chess-battle.com/html/application/views/index/games.php" "kohana_view_data" => array(4) ( "gamesData" => array(0) "usersData" => array(0) "igra_n" => array(1) ( 0 => array(1) ( "igra" => NULL ) ) "id_game" => string(8) "22452128" ) "gamesData" => array(0) "usersData" => array(0) "igra_n" => array(1) ( 0 => array(1) ( "igra" => NULL ) ) "id_game" => string(8) "22452128" )
48 <div class="mt-20"> 49 50 <div class="row"> 51 <div class="col-xs-3"> 52 <div class="rel inl f-left zag-gamer"> 53 <?php echo $usersData[0]['username']; ?> 54 </div><!-- f-left --> 55 <div class="avatar1"><img src="<?php echo $usersData[0]['avatar']; ?>"/></div> 56 57 </div><!-- col-sm-3 --> 58 <div class="col-xs-6">
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(64) "/var/www/chess-battle.com/html/application/views/index/games.php"
57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0
string(64) "/var/www/chess-battle.com/html/application/views/index/games.php"
1
array(4) ( "gamesData" => array(0) "usersData" => array(0) "igra_n" => array(1) ( 0 => array(1) ( "igra" => NULL ) ) "id_game" => string(8) "22452128" )
354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 }
-
SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()
231 */ 232 public function __toString() 233 { 234 try 235 { 236 return $this->render(); 237 } 238 catch (Exception $e) 239 { 240 /** 241 * Display the exception message.
-
APPPATH/views/layout.php [ 108 ] » Kohana_View->__toString()
103 <a href="<?php echo __('store.android.url', NULL, 'ui.str');?>"><img src="/assets/images/android-mob.png" alt="<?php echo __('device.android', NULL, 'ui.str');?>" /></a> 104 </center> 105 </div> 106 </div> 107 108 <?php echo isset($content) ? $content : NULL;?> 109 110 </div> 111 </div> 112 <div class="footer"> 113 <div class="copy">
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(59) "/var/www/chess-battle.com/html/application/views/layout.php"
57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0
string(59) "/var/www/chess-battle.com/html/application/views/layout.php"
1
array(2) ( "title" => string(8) "Игры" "content" => object View(2)
{ protected _file => string(64) "/var/www/chess-battle.com/html/application/views/index/games.php" protected _data => array(4) ( "gamesData" => array(0) "usersData" => array(0) "igra_n" => array(1) ( 0 => array(1) ( "igra" => NULL ) ) "id_game" => string(8) "22452128" ) }
)354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 }
-
SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()
231 */ 232 public function __toString() 233 { 234 try 235 { 236 return $this->render(); 237 } 238 catch (Exception $e) 239 { 240 /** 241 * Display the exception message.
-
SYSPATH/classes/Kohana/Response.php [ 160 ] » Kohana_View->__toString()
155 public function body($content = NULL) 156 { 157 if ($content === NULL) 158 return $this->_body; 159 160 $this->_body = (string) $content; 161 return $this; 162 } 163 164 /** 165 * Gets or sets the HTTP protocol. The standard protocol to use
-
APPPATH/classes/Controller/Index.php [ 255 ] » Kohana_Response->body(arguments)
0
object View(2)
{ protected _file => string(59) "/var/www/chess-battle.com/html/application/views/layout.php" protected _data => array(2) ( "title" => string(8) "Игры" "content" => object View(2)
{ protected _file => string(64) "/var/www/chess-battle.com/html/application/views/index/games.php" protected _data => array(4) ( "gamesData" => array(0) "usersData" => array(0) "igra_n" => array(1) ( 0 => array(1) ( "igra" => NULL ) ) "id_game" => string(8) "22452128" ) }
) }250 'usersData'=>$usersData, 251 'igra_n'=>$igra_n, 252 'id_game'=>$id_game, 253 ))); 254 255 $this->response->body($view); 256 257 } 258 259 public function action_press() 260 {
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Index->action_games()
79 array(':uri' => $this->request->uri()) 80 )->request($this->request); 81 } 82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Index(2)
{ public request => object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(5) "games" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(5) "index" "action" => string(5) "games" ) protected _route_regex => string(11) "#^games$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Index" protected _action => string(5) "games" protected _uri => string(5) "games" protected _external => bool FALSE protected _params => array(0) protected _get => array(2) ( "id_game" => string(8) "22452128" "lang" => string(5) "en-us" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}{ protected _status => integer 200 protected _header => object HTTP_Header(0)
}{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }92 93 // Create a new instance of the controller 94 $controller = $class->newInstance($request, $response); 95 96 // Run the controller's execute() method 97 $response = $class->getMethod('execute')->invoke($controller); 98 99 if ( ! $response instanceof Response) 100 { 101 // Controller failed to return a Response. 102 throw new Kohana_Exception('Controller failed to return a Response');
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(5) "games" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(5) "index" "action" => string(5) "games" ) protected _route_regex => string(11) "#^games$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Index" protected _action => string(5) "games" protected _uri => string(5) "games" protected _external => bool FALSE protected _params => array(0) protected _get => array(2) ( "id_game" => string(8) "22452128" "lang" => string(5) "en-us" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}1
object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(0)
{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }109 $orig_response = $response = Response::factory(array('_protocol' => $request->protocol())); 110 111 if (($cache = $this->cache()) instanceof HTTP_Cache) 112 return $cache->execute($this, $request, $response); 113 114 $response = $this->execute_request($request, $response); 115 116 // Execute response callbacks 117 foreach ($this->header_callbacks() as $header => $callback) 118 { 119 if ($response->headers($header))
-
SYSPATH/classes/Kohana/Request.php [ 993 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(5) "games" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(5) "index" "action" => string(5) "games" ) protected _route_regex => string(11) "#^games$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Index" protected _action => string(5) "games" protected _uri => string(5) "games" protected _external => bool FALSE protected _params => array(0) protected _get => array(2) ( "id_game" => string(8) "22452128" "lang" => string(5) "en-us" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}988 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 989 ':uri' => $this->_uri, 990 )); 991 } 992 993 return $this->_client->execute($this); 994 } 995 996 /** 997 * Returns whether this request is the initial request Kohana received. 998 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 117 ] » Kohana_Request->execute()
112 /** 113 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 114 * If no source is specified, the URI will be automatically detected. 115 */ 116 echo Request::factory(TRUE, array(), FALSE) 117 ->execute() 118 ->send_headers(TRUE) 119 ->body(); 120 }
Environment
Included files (85)
DOCROOT/index.php |
APPPATH/bootstrap.php |
SYSPATH/classes/Kohana/Core.php |
SYSPATH/classes/Kohana.php |
SYSPATH/classes/Cookie.php |
SYSPATH/classes/Kohana/Cookie.php |
APPPATH/classes/Site.php |
SYSPATH/classes/I18n.php |
SYSPATH/classes/Kohana/I18n.php |
SYSPATH/classes/HTTP.php |
SYSPATH/classes/Kohana/HTTP.php |
SYSPATH/classes/Kohana/Exception.php |
SYSPATH/classes/Kohana/Kohana/Exception.php |
SYSPATH/classes/Log.php |
SYSPATH/classes/Kohana/Log.php |
SYSPATH/classes/Config.php |
SYSPATH/classes/Kohana/Config.php |
SYSPATH/classes/Log/File.php |
SYSPATH/classes/Kohana/Log/File.php |
SYSPATH/classes/Log/Writer.php |
SYSPATH/classes/Kohana/Log/Writer.php |
SYSPATH/classes/Config/File.php |
SYSPATH/classes/Kohana/Config/File.php |
SYSPATH/classes/Kohana/Config/File/Reader.php |
SYSPATH/classes/Kohana/Config/Reader.php |
SYSPATH/classes/Kohana/Config/Source.php |
SYSPATH/classes/Route.php |
SYSPATH/classes/Kohana/Route.php |
SYSPATH/classes/Request.php |
SYSPATH/classes/Kohana/Request.php |
SYSPATH/classes/HTTP/Request.php |
SYSPATH/classes/Kohana/HTTP/Request.php |
SYSPATH/classes/HTTP/Message.php |
SYSPATH/classes/Kohana/HTTP/Message.php |
SYSPATH/classes/HTTP/Header.php |
SYSPATH/classes/Kohana/HTTP/Header.php |
SYSPATH/classes/Request/Client/Internal.php |
SYSPATH/classes/Kohana/Request/Client/Internal.php |
SYSPATH/classes/Request/Client.php |
SYSPATH/classes/Kohana/Request/Client.php |
SYSPATH/classes/Arr.php |
SYSPATH/classes/Kohana/Arr.php |
SYSPATH/classes/Response.php |
SYSPATH/classes/Kohana/Response.php |
SYSPATH/classes/HTTP/Response.php |
SYSPATH/classes/Kohana/HTTP/Response.php |
SYSPATH/classes/Profiler.php |
SYSPATH/classes/Kohana/Profiler.php |
APPPATH/classes/Controller/Index.php |
SYSPATH/classes/Controller.php |
SYSPATH/classes/Kohana/Controller.php |
SYSPATH/classes/View.php |
SYSPATH/classes/Kohana/View.php |
SYSPATH/classes/Model.php |
SYSPATH/classes/Kohana/Model.php |
APPPATH/classes/Model/Games.php |
MODPATH/database/classes/DB.php |
MODPATH/database/classes/Kohana/DB.php |
MODPATH/database/classes/Database.php |
MODPATH/database/classes/Kohana/Database.php |
MODPATH/database/classes/Database/Query.php |
MODPATH/database/classes/Kohana/Database/Query.php |
MODPATH/database/config/database.php |
APPPATH/config/database.php |
SYSPATH/classes/Config/Group.php |
SYSPATH/classes/Kohana/Config/Group.php |
MODPATH/database/classes/Database/MySQLi.php |
MODPATH/database/classes/Kohana/Database/MySQLi.php |
MODPATH/database/classes/Database/MySQLi/Result.php |
MODPATH/database/classes/Kohana/Database/MySQLi/Result.php |
MODPATH/database/classes/Database/Result.php |
MODPATH/database/classes/Kohana/Database/Result.php |
APPPATH/views/layout.php |
SYSPATH/i18n/en.php |
APPPATH/i18n/en.php |
SYSPATH/classes/URL.php |
SYSPATH/classes/Kohana/URL.php |
SYSPATH/classes/UTF8.php |
SYSPATH/classes/Kohana/UTF8.php |
APPPATH/views/index/games.php |
SYSPATH/classes/Debug.php |
SYSPATH/classes/Kohana/Debug.php |
SYSPATH/classes/Date.php |
SYSPATH/classes/Kohana/Date.php |
SYSPATH/views/kohana/error.php |
Loaded extensions (53)
Core |
date |
ereg |
libxml |
openssl |
pcre |
zlib |
filter |
hash |
Reflection |
SPL |
session |
standard |
cgi-fcgi |
mysqlnd |
PDO |
xml |
calendar |
ctype |
curl |
dom |
mbstring |
fileinfo |
ftp |
gd |
gettext |
iconv |
igbinary |
json |
exif |
memcache |
msgpack |
mysql |
mysqli |
pdo_mysql |
Phar |
posix |
readline |
shmop |
SimpleXML |
sockets |
sysvmsg |
sysvsem |
sysvshm |
tokenizer |
wddx |
xmlreader |
xmlwriter |
xsl |
zip |
memcached |
mhash |
Zend OPcache |
$_GET
id_game |
string(8) "22452128" |
lang |
string(5) "en-us" |
$_SERVER
USER |
string(8) "www-data" |
HOME |
string(8) "/var/www" |
FCGI_ROLE |
string(9) "RESPONDER" |
QUERY_STRING |
string(27) "id_game=22452128&lang=en-us" |
REQUEST_METHOD |
string(3) "GET" |
CONTENT_TYPE |
string(0) "" |
CONTENT_LENGTH |
string(0) "" |
SCRIPT_NAME |
string(10) "/index.php" |
REQUEST_URI |
string(34) "/games?id_game=22452128&lang=en-us" |
DOCUMENT_URI |
string(10) "/index.php" |
DOCUMENT_ROOT |
string(30) "/var/www/chess-battle.com/html" |
SERVER_PROTOCOL |
string(8) "HTTP/1.1" |
REQUEST_SCHEME |
string(5) "https" |
HTTPS |
string(2) "on" |
GATEWAY_INTERFACE |
string(7) "CGI/1.1" |
SERVER_SOFTWARE |
string(12) "nginx/1.14.0" |
REMOTE_ADDR |
string(11) "3.12.136.52" |
REMOTE_PORT |
string(5) "33950" |
SERVER_ADDR |
string(12) "159.69.9.115" |
SERVER_PORT |
string(3) "443" |
SERVER_NAME |
string(20) "www.chess-battle.com" |
REDIRECT_STATUS |
string(3) "200" |
SCRIPT_FILENAME |
string(40) "/var/www/chess-battle.com/html/index.php" |
HTTP_ACCEPT |
string(3) "*/*" |
HTTP_USER_AGENT |
string(103) "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" |
HTTP_ACCEPT_ENCODING |
string(23) "gzip, br, zstd, deflate" |
HTTP_HOST |
string(16) "chess-battle.com" |
PHP_SELF |
string(10) "/index.php" |
REQUEST_TIME_FLOAT |
float 1725770927.1274 |
REQUEST_TIME |
integer 1725770927 |