ErrorException [ Notice ]:
APPPATH/views/news/view.php [ 1 ]
1 <h4><a href="/news/"><?php print __("News"); ?></a> » <?php print $record->title; ?></h4>
2
3 <p><?php print date("d.m.Y", strtotime($record->date)); ?></p>
4
5 <?php print $record->body; ?>
-
APPPATH/views/news/view.php [ 1 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(26) "Undefined variable: record"
2
string(62) "/var/www/kvat/data/www/kvat.ru/application/views/news/view.php"
3
integer 1
4
array(2) ( "kohana_view_filename" => string(62) "/var/www/kvat/data/www/kvat.ru/application/views/news/view.php" "kohana_view_data" => array(0) )
1 <h4><a href="/news/"><?php print __("News"); ?></a> » <?php print $record->title; ?></h4> 2 3 <p><?php print date("d.m.Y", strtotime($record->date)); ?></p> 4 5 <?php print $record->body; ?>
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0
string(62) "/var/www/kvat/data/www/kvat.ru/application/views/news/view.php"
56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)
0
string(62) "/var/www/kvat/data/www/kvat.ru/application/views/news/view.php"
1
array(0)
343 { 344 throw new View_Exception('You must set the file to use within your view before rendering'); 345 } 346 347 // Combine local and global data and capture the output 348 return View::capture($this->_file, $this->_data); 349 } 350 351 } // End View
-
SYSPATH/classes/Kohana/View.php [ 228 ] » Kohana_View->render()
223 */ 224 public function __toString() 225 { 226 try 227 { 228 return $this->render(); 229 } 230 catch (Exception $e) 231 { 232 /** 233 * Display the exception message.
-
APPPATH/views/layouts/application.php [ 74 ] » Kohana_View->__toString()
69 <?php } ?> 70 </ul> 71 <?php } ?> 72 </aside> 73 <div class="main-content span9"> 74 <?php print $content; ?> 75 </div> 76 </div> 77 </div> 78 79 <footer>
-
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0
string(72) "/var/www/kvat/data/www/kvat.ru/application/views/layouts/application.php"
56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)
0
string(72) "/var/www/kvat/data/www/kvat.ru/application/views/layouts/application.php"
1
array(6) ( "is_ajax" => bool FALSE "banners" => object Database_MySQL_Result(7)
{ protected _internal_row => integer 1 protected _query => string(216) "SELECT `banner`.`id` AS `id`, `banner`.`created_at` AS `created_at`, `banner`.`updated_at` AS `updated_at`, `banner`.`image` AS …" protected _result => resource(mysql result) protected _total_rows => integer 1 protected _current_row => integer 1 protected _as_object => string(12) "Model_Banner" protected _object_params => NULL }
"categories" => object Database_MySQL_Result(7){ protected _internal_row => integer 6 protected _query => string(464) "SELECT `category`.`id` AS `id`, `category`.`created_at` AS `created_at`, `category`.`updated_at` AS `updated_at`, `category`.`pa …" protected _result => resource(mysql result) protected _total_rows => integer 6 protected _current_row => integer 6 protected _as_object => string(14) "Model_Category" protected _object_params => NULL }
"navigation" => array(8) ( 0 => array(3) ( "code" => NULL "link" => string(8) "glavnaya" "title" => string(14) "Главная" ) 1 => array(3) ( "code" => NULL "link" => string(12) "technologies" "title" => string(20) "Технологии" ) 2 => array(3) ( "code" => NULL "link" => string(10) "o-kompanii" "title" => string(19) "О компании" ) 3 => array(3) ( "code" => NULL "link" => string(7) "catalog" "title" => string(18) "ПРОДУКЦИЯ" ) 4 => array(3) ( "code" => NULL "link" => string(5) "price" "title" => string(8) "ЦЕНЫ" ) 5 => array(3) ( "code" => NULL "link" => string(7) "nagrada" "title" => string(20) "Достижения" ) 6 => array(3) ( "code" => NULL "link" => string(6) "vacant" "title" => string(16) "Вакансии" ) 7 => array(3) ( "code" => NULL "link" => string(7) "contact" "title" => string(16) "Контакты" ) ) "news" => object Database_MySQL_Result(7){ protected _internal_row => integer 5 protected _query => string(228) "SELECT `news`.`id` AS `id`, `news`.`created_at` AS `created_at`, `news`.`updated_at` AS `updated_at`, `news`.`date` AS `date`, ` …" protected _result => resource(mysql result) protected _total_rows => integer 5 protected _current_row => integer 5 protected _as_object => string(10) "Model_News" protected _object_params => NULL }
"content" => object View(2){ protected _file => string(62) "/var/www/kvat/data/www/kvat.ru/application/views/news/view.php" protected _data => array(0) }
)343 { 344 throw new View_Exception('You must set the file to use within your view before rendering'); 345 } 346 347 // Combine local and global data and capture the output 348 return View::capture($this->_file, $this->_data); 349 } 350 351 } // End View
-
SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()
39 */ 40 public function after() 41 { 42 if ($this->auto_render === TRUE) 43 { 44 $this->response->body($this->template->render()); 45 } 46 47 parent::after(); 48 } 49
-
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Kohana_Controller_Template->after()
82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response 90 return $this->response; 91 } 92
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_News(7)
{ protected per_page => integer 10 protected is_ajax => bool FALSE public primary_navigation => array(0) public template => object View(2)
{ protected _file => string(72) "/var/www/kvat/data/www/kvat.ru/application/views/layouts/application.php" protected _data => array(6) ( "is_ajax" => bool FALSE "banners" => object Database_MySQL_Result(7)
public auto_render => bool TRUE public request => object Request(19){ protected _internal_row => integer 1 protected _query => string(216) "SELECT `banner`.`id` AS `id`, `banner`.`created_at` AS `created_at`, `banner`.`updated_at` AS `updated_at`, `banner`.`image` AS …" protected _result => resource(mysql result) protected _total_rows => integer 1 protected _current_row => integer 1 protected _as_object => string(12) "Model_Banner" protected _object_params => NULL }
"categories" => object Database_MySQL_Result(7){ protected _internal_row => integer 6 protected _query => string(464) "SELECT `category`.`id` AS `id`, `category`.`created_at` AS `created_at`, `category`.`updated_at` AS `updated_at`, `category`.`pa …" protected _result => resource(mysql result) protected _total_rows => integer 6 protected _current_row => integer 6 protected _as_object => string(14) "Model_Category" protected _object_params => NULL }
"navigation" => array(8) ( 0 => array(3) ( "code" => NULL "link" => string(8) "glavnaya" "title" => string(14) "Главная" ) 1 => array(3) ( "code" => NULL "link" => string(12) "technologies" "title" => string(20) "Технологии" ) 2 => array(3) ( "code" => NULL "link" => string(10) "o-kompanii" "title" => string(19) "О компании" ) 3 => array(3) ( "code" => NULL "link" => string(7) "catalog" "title" => string(18) "ПРОДУКЦИЯ" ) 4 => array(3) ( "code" => NULL "link" => string(5) "price" "title" => string(8) "ЦЕНЫ" ) 5 => array(3) ( "code" => NULL "link" => string(7) "nagrada" "title" => string(20) "Достижения" ) 6 => array(3) ( "code" => NULL "link" => string(6) "vacant" "title" => string(16) "Вакансии" ) 7 => array(3) ( "code" => NULL "link" => string(7) "contact" "title" => string(16) "Контакты" ) ) "news" => object Database_MySQL_Result(7){ protected _internal_row => integer 5 protected _query => string(228) "SELECT `news`.`id` AS `id`, `news`.`created_at` AS `created_at`, `news`.`updated_at` AS `updated_at`, `news`.`date` AS `date`, ` …" protected _result => resource(mysql result) protected _total_rows => integer 5 protected _current_row => integer 5 protected _as_object => string(10) "Model_News" protected _object_params => NULL }
"content" => object View(2){ protected _file => string(62) "/var/www/kvat/data/www/kvat.ru/application/views/news/view.php" protected _data => array(0) }
) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(5) "pages" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "News" protected _action => string(4) "view" protected _uri => string(11) "news/view/4" protected _external => bool FALSE protected _params => array(1) ( "id" => string(1) "4" ) protected _get => array(0) 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 => NULL }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.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(5) "pages" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "News" protected _action => string(4) "view" protected _uri => string(11) "news/view/4" protected _external => bool FALSE protected _params => array(1) ( "id" => string(1) "4" ) protected _get => array(0) 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 => NULL }109 $orig_response = $response = Response::factory(); 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 [ 990 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(5) "pages" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "News" protected _action => string(4) "view" protected _uri => string(11) "news/view/4" protected _external => bool FALSE protected _params => array(1) ( "id" => string(1) "4" ) protected _get => array(0) 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) }
}985 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 986 ':uri' => $this->_uri, 987 )); 988 } 989 990 return $this->_client->execute($this); 991 } 992 993 /** 994 * Returns whether this request is the initial request Kohana received. 995 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 111 ] » Kohana_Request->execute()
106 } else { 107 /** 108 * Execute the main request. A source of the URI can be passed, eg: $_SERVER["PATH_INFO"]. 109 * If no source is specified, the URI will be automatically detected. 110 */ 111 $result = Request::factory(true, array(), false)->execute(); 112 if ($result->status() == 404) { 113 $result = Request::factory("pages/index")->execute(); 114 } 115 print $result->send_headers(true)->body(); 116 }
Environment
Included files (101)
DOCROOT/index.php |
APPPATH/bootstrap.php |
SYSPATH/classes/Kohana/Core.php |
SYSPATH/classes/Kohana.php |
SYSPATH/classes/I18n.php |
SYSPATH/classes/Kohana/I18n.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/Cookie.php |
SYSPATH/classes/Kohana/Cookie.php |
MODPATH/database/classes/Database.php |
MODPATH/database/classes/Kohana/Database.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/News.php |
APPPATH/classes/Controller/Application.php |
SYSPATH/classes/Controller/Template.php |
SYSPATH/classes/Kohana/Controller/Template.php |
SYSPATH/classes/Controller.php |
SYSPATH/classes/Kohana/Controller.php |
SYSPATH/classes/View.php |
SYSPATH/classes/Kohana/View.php |
MODPATH/orm/classes/ORM.php |
MODPATH/orm/classes/Kohana/ORM.php |
SYSPATH/classes/Model.php |
SYSPATH/classes/Kohana/Model.php |
APPPATH/classes/Model/Banner.php |
SYSPATH/classes/Inflector.php |
SYSPATH/classes/Kohana/Inflector.php |
SYSPATH/config/inflector.php |
SYSPATH/classes/Config/Group.php |
SYSPATH/classes/Kohana/Config/Group.php |
MODPATH/database/config/database.php |
APPPATH/config/database.php |
MODPATH/database/classes/Database/MySQL.php |
MODPATH/database/classes/Kohana/Database/MySQL.php |
MODPATH/database/classes/DB.php |
MODPATH/database/classes/Kohana/DB.php |
MODPATH/database/classes/Database/Query/Builder/Select.php |
MODPATH/database/classes/Kohana/Database/Query/Builder/Select.php |
MODPATH/database/classes/Database/Query/Builder/Where.php |
MODPATH/database/classes/Kohana/Database/Query/Builder/Where.php |
MODPATH/database/classes/Database/Query/Builder.php |
MODPATH/database/classes/Kohana/Database/Query/Builder.php |
MODPATH/database/classes/Database/Query.php |
MODPATH/database/classes/Kohana/Database/Query.php |
MODPATH/database/classes/Database/MySQL/Result.php |
MODPATH/database/classes/Kohana/Database/MySQL/Result.php |
MODPATH/database/classes/Database/Result.php |
MODPATH/database/classes/Kohana/Database/Result.php |
APPPATH/classes/Model/Category.php |
APPPATH/classes/Model/Base.php |
APPPATH/classes/Model/Page.php |
APPPATH/classes/Model/News.php |
APPPATH/views/layouts/application.php |
SYSPATH/classes/HTML.php |
SYSPATH/classes/Kohana/HTML.php |
SYSPATH/classes/URL.php |
SYSPATH/classes/Kohana/URL.php |
SYSPATH/classes/UTF8.php |
SYSPATH/classes/Kohana/UTF8.php |
APPPATH/views/news/view.php |
APPPATH/i18n/ru/ru.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 (61)
Core |
date |
ereg |
libxml |
openssl |
pcre |
zlib |
bz2 |
calendar |
ctype |
hash |
filter |
ftp |
gettext |
gmp |
SPL |
iconv |
Reflection |
session |
standard |
shmop |
SimpleXML |
sockets |
exif |
tokenizer |
xml |
apache2handler |
bcmath |
curl |
dom |
fileinfo |
gd |
igbinary |
intl |
json |
ldap |
mbstring |
mcrypt |
mysql |
mysqli |
odbc |
PDO |
pdo_mysql |
PDO_ODBC |
pdo_sqlite |
Phar |
posix |
pspell |
redis |
sqlite3 |
sysvmsg |
sysvsem |
sysvshm |
tidy |
wddx |
xmlreader |
xmlwriter |
xsl |
zip |
ionCube Loader |
Zend Guard Loader |
$_SERVER
REDIRECT_PERL5LIB |
string(49) "/usr/share/awstats/lib:/usr/share/awstats/plugins" |
REDIRECT_STATUS |
string(3) "200" |
PERL5LIB |
string(49) "/usr/share/awstats/lib:/usr/share/awstats/plugins" |
HTTP_HOST |
string(7) "kvat.ru" |
HTTP_X_FORWARDED_FOR |
string(12) "3.15.197.123" |
HTTP_X_FORWARDED_PROTO |
string(4) "http" |
HTTP_CONNECTION |
string(5) "close" |
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)" |
PATH |
string(29) "/sbin:/usr/sbin:/bin:/usr/bin" |
SERVER_SIGNATURE |
string(71) "<address>Apache/2.2.22 (@RELEASE@) Server at kvat.ru Port 80</address>
" |
SERVER_SOFTWARE |
string(25) "Apache/2.2.22 (@RELEASE@)" |
SERVER_NAME |
string(7) "kvat.ru" |
SERVER_ADDR |
string(9) "127.0.0.1" |
SERVER_PORT |
string(2) "80" |
REMOTE_ADDR |
string(12) "3.15.197.123" |
DOCUMENT_ROOT |
string(37) "/var/www/kvat/data/www/kvat.ru/public" |
SERVER_ADMIN |
string(11) "kvat@ngs.ru" |
SCRIPT_FILENAME |
string(47) "/var/www/kvat/data/www/kvat.ru/public/index.php" |
REMOTE_PORT |
string(5) "36326" |
REDIRECT_URL |
string(12) "/news/view/4" |
GATEWAY_INTERFACE |
string(7) "CGI/1.1" |
SERVER_PROTOCOL |
string(8) "HTTP/1.0" |
REQUEST_METHOD |
string(3) "GET" |
QUERY_STRING |
string(0) "" |
REQUEST_URI |
string(12) "/news/view/4" |
SCRIPT_NAME |
string(10) "/index.php" |
PATH_INFO |
string(12) "/news/view/4" |
PATH_TRANSLATED |
string(38) "redirect:/index.php/news/view/4/view/4" |
PHP_SELF |
string(22) "/index.php/news/view/4" |
REQUEST_TIME |
integer 1714159191 |