MODPATH/cache/classes/Kohana/Cache/File.php [ 481 ]
476 $lifetime = (int) $data->fgets();
477
478 // If we're at the EOF at this point, corrupted!
479 if ($data->eof())
480 {
481 throw new Cache_Exception(__METHOD__ . ' corrupted cache file!');
482 }
483
484 //close file
485 $data = null;
486
-
MODPATH/cache/classes/Kohana/Cache/File.php [ 144 ] » Kohana_Cache_File->_is_expired(arguments)
0
object SplFileInfo(0)
{ }
139 return $default; 140 } 141 else 142 { 143 // Test the expiry 144 if ($this->_is_expired($file)) 145 { 146 // Delete the file 147 $this->_delete_file($file, FALSE, TRUE); 148 return $default; 149 }
-
APPPATH/classes/Model/Item/Articul.php [ 425 ] » Kohana_Cache_File->get(arguments)
0
string(10) "prev480223"
1
bool FALSE
420 421 Cache::instance('file')->delete($cache_key); 422 423 } 424 425 if ( ! $preview = Cache::instance('file')->get($cache_key, FALSE)) { 426 427 $preview = (string)View::factory('catalog/preview') 428 ->set('articul', $this) 429 ->set('barcode', ORM::factory('Item_Barcode') 430 ->where('articul_id', '=', $this->id)
-
APPPATH/classes/Controller/Catalog.php [ 815 ] » Model_Item_Articul->get_preview()
810 811 if($cnt <= 3) 812 813 $creo_list[] = $articul->code; 814 815 $previews .= $articul->get_preview(); 816 /* 817 $barcode = ORM::factory('Item_Barcode')->where('articul_id', '=', $articul->id) -> find(); 818 819 $previews .= View::factory('catalog/preview') 820 ->set('articul', $articul)
-
APPPATH/classes/Controller/Catalog.php [ 1166 ] » Controller_Catalog->build_previews(arguments)
0
array(8) ( "Item_Brand" => array(4) ( "id" => array(1) ( 0 => string(2) "39" ) "translit" => array(1) ( 0 => string(11) "anton_smith" ) "h1_part" => array(1) ( 0 => string(11) "Anton Smith" ) "name" => array(1) ( 0 => string(11) "Anton Smith" ) ) "Item_Type" => array(4) ( "id" => array(1) ( 0 => string(1) "3" ) "translit" => array(1) ( 0 => string(8) "braslety" ) "h1_part" => array(1) ( 0 => string(16) "Браслеты" ) "name" => array(1) ( 0 => string(16) "Браслеты" ) ) "Item_Gender" => array(4) ( "id" => array(1) ( 0 => string(1) "1" ) "translit" => array(1) ( 0 => string(8) "muzhskoj" ) "h1_part" => array(1) ( 0 => string(14) "Мужской" ) "name" => array(1) ( 0 => string(14) "Мужские" ) ) "Item_MetalColor" => array(4) ( "id" => array(1) ( 0 => string(1) "1" ) "translit" => array(1) ( 0 => string(5) "belyj" ) "h1_part" => array(1) ( 0 => string(10) "Белый" ) "name" => array(1) ( 0 => string(10) "Белый" ) ) "Item_Style" => array(4) ( "id" => array(1) ( 0 => string(1) "3" ) "translit" => array(1) ( 0 => string(13) "klassicheskij" ) "h1_part" => array(1) ( 0 => string(24) "классическом" ) "name" => array(1) ( 0 => string(34) "Классический (Classic)" ) ) "Item_Lock" => array(4) ( "id" => array(1) ( 0 => string(2) "28" ) "translit" => array(1) ( 0 => string(11) "originalnyj" ) "h1_part" => array(1) ( 0 => string(24) "оригинальным" ) "name" => array(1) ( 0 => string(24) "Оригинальный" ) ) "Item_Country" => array(4) ( "id" => array(1) ( 0 => string(3) "156" ) "translit" => array(1) ( 0 => string(5) "kitaj" ) "h1_part" => array(1) ( 0 => string(18) "китайский" ) "name" => array(1) ( 0 => string(10) "Китай" ) ) "param" => array(1) ( "sort" => string(7) "deleted" ) )
1161 1162 } 1163 1164 //генерируем плитку товаров (артикулов), устанавливаем глобально для всех вьюшек контроллера 1165 // ( $previews - это HTML-код ) 1166 $this->resp['previews'] = $this->build_previews($this->matrix); 1167 1168 View::set_global('PREVIEWS', $this->resp['previews']); 1169 1170 // все фильтры, устанавливаем глобально для всех вьюшек контроллера 1171 $all_matrix['param'] = (!empty ($this->matrix['param'])) ? $this->matrix['param'] : NULL;
-
APPPATH/classes/Controller/Catalog.php [ 135 ] » Controller_Catalog->prepare_page()
130 ) 131 132 throw HTTP_Exception::factory(404, 'Brand not found!'); 133 134 135 $res = $this->prepare_page(); 136 137 if ($res) 138 139 if ($this->request->param('alias') == 'wishlist') 140
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Catalog->action_index()
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_Catalog(11)
{ public models => array(15) ( 0 => string(10) "Item_Brand" 1 => string(9) "Item_Type" 2 => string(13) "Item_Category" 3 => string(11) "Item_Gender" 4 => string(10) "Item_Metal" 5 => string(15) "Item_MetalColor" 6 => string(10) "Item_Probe" 7 => string(11) "Item_Insert" 8 => string(16) "Item_InsertColor" 9 => string(15) "Item_Collection" 10 => string(10) "Item_Style" 11 => string(10) "Item_Cover" 12 => string(9) "Item_Lock" 13 => string(12) "Item_Weaving" 14 => string(12) "Item_Country" ) public matrix => array(8) ( "Item_Brand" => array(4) ( "id" => array(1) ( 0 => string(2) "39" ) "translit" => array(1) ( 0 => string(11) "anton_smith" ) "h1_part" => array(1) ( 0 => string(11) "Anton Smith" ) "name" => array(1) ( 0 => string(11) "Anton Smith" ) ) "Item_Type" => array(4) ( "id" => array(1) ( 0 => string(1) "3" ) "translit" => array(1) ( 0 => string(8) "braslety" ) "h1_part" => array(1) ( 0 => string(16) "Браслеты" ) "name" => array(1) ( 0 => string(16) "Браслеты" ) ) "Item_Gender" => array(4) ( "id" => array(1) ( 0 => string(1) "1" ) "translit" => array(1) ( 0 => string(8) "muzhskoj" ) "h1_part" => array(1) ( 0 => string(14) "Мужской" ) "name" => array(1) ( 0 => string(14) "Мужские" ) ) "Item_MetalColor" => array(4) ( "id" => array(1) ( 0 => string(1) "1" ) "translit" => array(1) ( 0 => string(5) "belyj" ) "h1_part" => array(1) ( 0 => string(10) "Белый" ) "name" => array(1) ( 0 => string(10) "Белый" ) ) "Item_Style" => array(4) ( "id" => array(1) ( 0 => string(1) "3" ) "translit" => array(1) ( 0 => string(13) "klassicheskij" ) "h1_part" => array(1) ( 0 => string(24) "классическом" ) "name" => array(1) ( 0 => string(34) "Классический (Classic)" ) ) "Item_Lock" => array(4) ( "id" => array(1) ( 0 => string(2) "28" ) "translit" => array(1) ( 0 => string(11) "originalnyj" ) "h1_part" => array(1) ( 0 => string(24) "оригинальным" ) "name" => array(1) ( 0 => string(24) "Оригинальный" ) ) "Item_Country" => array(4) ( "id" => array(1) ( 0 => string(3) "156" ) "translit" => array(1) ( 0 => string(5) "kitaj" ) "h1_part" => array(1) ( 0 => string(18) "китайский" ) "name" => array(1) ( 0 => string(10) "Китай" ) ) "param" => array(1) ( "sort" => string(7) "deleted" ) ) public right_url => string(76) "/brands/anton_smith/braslety/muzhskoj/belyj/klassicheskij/originalnyj/kitaj/" public resp => array(7) ( "sort" => string(7) "deleted" "onpage" => integer 30 "right_url" => string(76) "/brands/anton_smith/braslety/muzhskoj/belyj/klassicheskij/originalnyj/kitaj/" "title" => string(220) "Китайские мужские браслеты Anton Smith с оригинальным в классическом стиле - каталог брендовых ювелирных украшений Fidelis-Style …" "h1" => string(129) "КИТАЙСКИЕ МУЖСКИЕ БРАСЛЕТЫ ANTON SMITH С ОРИГИНАЛЬНЫМ В КЛАССИЧЕСКОМ СТИЛЕ" "description" => string(324) "Мужские браслеты Anton Smith с оригинальным в классическом стиле в ювелирном интернет-магазине Фиделис-Стайл с примеркой и быстр …" "breadcrumbs" => string(2405) "<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"><a itemscope itemtype="http://schema.org/Thing" …" ) public art_total => integer 0 private seo => object Model_Info_SeoHooks(35)
{ protected _table_name => string(13) "info_seohooks" protected _reload_on_wakeup => string(5) "FALSE" protected cachetime => integer 3600 protected _has_one => array(0) protected _belongs_to => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(6) ( "id" => NULL "url" => NULL "seo_text" => NULL "h1" => NULL "title" => NULL "description" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(13) "info_seohooks" protected _object_plural => string(15) "info_seohookses" protected _table_columns => array(6) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "url" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "url" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "UNI" "privileges" => string(31) "select,insert,update,references" ) "seo_text" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(8) "seo_text" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "h1" => array(12) ( "type" => string(6) "string" "column_name" => string(2) "h1" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "description" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "description" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _db => object Database_MySQLi(6)
private sitemapfile => NULL public template => object View(2){ protected _connection_id => string(40) "4d584dd96669677f48647b04d9a4d682c2dd70e3" protected _identifier => string(1) "`" public last_query => string(1982) "SELECT `item_articul`.`id` AS `id`, `item_articul`.`code` AS `code`, `item_articul`.`name` AS `name`, `item_articul`.`translit` …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(13) "info_seohooks" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(4) ( "hostname" => string(13) "91.201.42.194" "database" => string(9) "kohana_db" "persistent" => bool FALSE "ssl" => NULL ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool TRUE ) }{ protected _file => string(71) "/srv/http/fidelis-style.ru/www/themes/default/views/layouts/catalog.php" protected _data => array(10) ( "user_name" => string(0) "" "user_phone" => string(0) "" "cart_widget" => string(0) "" "cart_mini" => string(0) "" "title" => string(220) "Китайские мужские браслеты Anton Smith с оригинальным в классическом стиле - каталог брендовых ювелирных украшений Fidelis-Style …" "description" => string(324) "Мужские браслеты Anton Smith с оригинальным в классическом стиле в ювелирном интернет-магазине Фиделис-Стайл с примеркой и быстр …" "breadcrumbs" => string(2405) "<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"><a itemscope itemtype="http://schema.org/Thing" …" "h1" => string(129) "КИТАЙСКИЕ МУЖСКИЕ БРАСЛЕТЫ ANTON SMITH С ОРИГИНАЛЬНЫМ В КЛАССИЧЕСКОМ СТИЛЕ" "content" => string(0) "" "pvz_count" => integer 0 ) }
public auto_render => bool TRUE 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(29) "<alias>(/<action>)(/<filter>)" protected _regex => array(3) ( "action" => string(18) "index|ajax|sitemap" "alias" => string(62) "catalog|novinki|brands|collections|sale|styles|search|wishlist" "filter" => string(12) "[a-z0-9-_/]+" ) protected _defaults => array(2) ( "controller" => string(7) "catalog" "action" => string(5) "index" ) protected _route_regex => string(145) "#^(?P<alias>catalog|novinki|brands|collections|sale|styles|search|wishlist)(?:/(?P<action>index|ajax|sitemap))?(?:/(?P<filter>[a …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Catalog" protected _action => string(5) "index" protected _uri => string(74) "brands/anton_smith/braslety/muzhskoj/belyj/klassicheskij/originalnyj/kitaj" protected _external => bool FALSE protected _params => array(2) ( "alias" => string(6) "brands" "filter" => string(67) "anton_smith/braslety/muzhskoj/belyj/klassicheskij/originalnyj/kitaj" ) 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(2)
}{ public cache-control => string(25) "no-cache, must-revalidate" public expires => string(29) "Sat, 04 Jul 1997 05:00:00 GMT" }
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(29) "<alias>(/<action>)(/<filter>)" protected _regex => array(3) ( "action" => string(18) "index|ajax|sitemap" "alias" => string(62) "catalog|novinki|brands|collections|sale|styles|search|wishlist" "filter" => string(12) "[a-z0-9-_/]+" ) protected _defaults => array(2) ( "controller" => string(7) "catalog" "action" => string(5) "index" ) protected _route_regex => string(145) "#^(?P<alias>catalog|novinki|brands|collections|sale|styles|search|wishlist)(?:/(?P<action>index|ajax|sitemap))?(?:/(?P<filter>[a …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Catalog" protected _action => string(5) "index" protected _uri => string(74) "brands/anton_smith/braslety/muzhskoj/belyj/klassicheskij/originalnyj/kitaj" protected _external => bool FALSE protected _params => array(2) ( "alias" => string(6) "brands" "filter" => string(67) "anton_smith/braslety/muzhskoj/belyj/klassicheskij/originalnyj/kitaj" ) 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(2)
{ public cache-control => string(25) "no-cache, must-revalidate" public expires => string(29) "Sat, 04 Jul 1997 05:00:00 GMT" }
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(29) "<alias>(/<action>)(/<filter>)" protected _regex => array(3) ( "action" => string(18) "index|ajax|sitemap" "alias" => string(62) "catalog|novinki|brands|collections|sale|styles|search|wishlist" "filter" => string(12) "[a-z0-9-_/]+" ) protected _defaults => array(2) ( "controller" => string(7) "catalog" "action" => string(5) "index" ) protected _route_regex => string(145) "#^(?P<alias>catalog|novinki|brands|collections|sale|styles|search|wishlist)(?:/(?P<action>index|ajax|sitemap))?(?:/(?P<filter>[a …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Catalog" protected _action => string(5) "index" protected _uri => string(74) "brands/anton_smith/braslety/muzhskoj/belyj/klassicheskij/originalnyj/kitaj" protected _external => bool FALSE protected _params => array(2) ( "alias" => string(6) "brands" "filter" => string(67) "anton_smith/braslety/muzhskoj/belyj/klassicheskij/originalnyj/kitaj" ) 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) }
}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 [ 132 ] » Kohana_Request->execute()
127 /** 128 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 129 * If no source is specified, the URI will be automatically detected. 130 */ 131 echo Request::factory(TRUE, array(), FALSE) 132 ->execute() 133 ->send_headers(TRUE) 134 ->body(); 135 }