APPPATH/classes/rest.php [ 43 ]
38
39 foreach($img_array as $img){
40
41 $loc_url = $local_image_url . $img;
42 if(!file_exists($loc_url)){
43 $image = file_get_contents( $img_url . $img );
44 file_put_contents($loc_url, $image);
45 }
46 }
47 }
48 }
-
{PHP internal call} » Kohana_Core::error_handler(arguments)
0
integer 2
1
string(185) "file_get_contents(https://xn----7sbf0aahnq1aem.xn--80aswg/assets/catalog/product/400/6021145d01fb3.jpg): failed to open stream: …"
2
string(74) "/home/virtwww/w_moscow-city-f89_d31f84c3/http/application/classes/rest.php"
3
integer 43
4
array(9) ( "result" => array(1) ( 0 => object stdClass(66)
{ public id => string(4) "1117" public category_id => string(2) "71" public title => string(125) "Продажа Платинового апартамента 156 м2 - 91 этаж башня Федерация Восток" public alias => string(75) "prodazha-platinovogo-apartamenta-156-m2-91-etazh-bashnja-federatsija-vostok" public tower => string(1) "2" public gen_floor => string(2) "91" public images => string(197) "6021145d01fb3.jpg;6021145cc0f02.jpg;6021145cf1c1e.jpg;6021145d2abd7.jpg;6021145d39d85.jpg;6021145d4ac41.jpg;6021145d77b1c.jpg;60 …" public main_image => string(17) "6021145d01fb3.jpg" public plans => string(19) "p.60211456ec5de.jpg" public published => string(1) "0" public special => string(1) "1" public is_top => string(1) "1" public yandex => string(1) "1" public cian => string(1) "0" public uptime => string(1) "1" public up_time => string(10) "1612780710" public new_build => string(1) "0" public deleted => string(1) "0" public status => string(1) "0" public create_time => string(10) "1612780642" public modify_time => string(10) "1712008398" public last_published => string(1) "0" public type => string(1) "2" public type_of_object => string(1) "2" public short_description => string(743) "Платиновый апартамент в самом высоком здании Европы. Апартамент без отделки, свободной планировки, есть возможность реализовать …" public full_description => string(0) "" public satelite_description => string(366) "ПЛАТИНОВЫЙ АПАРТАМЕНТ. ПОМЕЩЕНИЕ БЕЗ ОТДЕЛКИ, СВОБОДНАЯ ПЛАНИРОВКА. ВЫСОТА ПОТОЛКОВ 5.5 МЕТРА. ДЛИНА ПАНОРАМНОЙ СТЕНЫ 22.4 МЕТРО …" public measures => string(77) "a:3:{s:6:"square";s:2:"47";s:5:"price";s:2:"58";s:11:"total_price";s:2:"58";}" public valute => string(3) "rur" public uniprice => string(6) "908555" public prefixes => string(6) "a:0:{}" public views => string(4) "1439" public last_view => string(10) "1710642590" public seo_title => string(0) "" public seo_description => string(0) "" public seo_keywords => string(0) "" public nalog => string(6) "НДС" public inet => string(1) "0" public communal => string(1) "0" public clean => string(1) "0" public has_grace => string(1) "0" public has_fee => string(1) "0" public video_link => string(0) "" public did => string(4) "1113" public catalog_product_id => string(4) "1117" public address => string(0) "" public vid => string(0) "" public metro => string(0) "" public description1 => string(0) "" public totalsquare => string(0) "" public square => string(3) "156" public floor => string(2) "91" public otdelka => string(21) "без отделки" public ready => NULL public plantype => string(16) "2 спальни" public fdeal => string(0) "" public price => string(6) "908555" public total_price => string(9) "141734580" public description => NULL public room_count => string(1) "3" public toilets => string(0) "" public comment => string(0) "" public flat_count => string(0) "" public prefix => string(0) "" public category_title => string(39) "Продажа апартаментов" public id_offset => integer 1132 }
) "size" => string(3) "400" "item" => object stdClass(66){ public id => string(4) "1117" public category_id => string(2) "71" public title => string(125) "Продажа Платинового апартамента 156 м2 - 91 этаж башня Федерация Восток" public alias => string(75) "prodazha-platinovogo-apartamenta-156-m2-91-etazh-bashnja-federatsija-vostok" public tower => string(1) "2" public gen_floor => string(2) "91" public images => string(197) "6021145d01fb3.jpg;6021145cc0f02.jpg;6021145cf1c1e.jpg;6021145d2abd7.jpg;6021145d39d85.jpg;6021145d4ac41.jpg;6021145d77b1c.jpg;60 …" public main_image => string(17) "6021145d01fb3.jpg" public plans => string(19) "p.60211456ec5de.jpg" public published => string(1) "0" public special => string(1) "1" public is_top => string(1) "1" public yandex => string(1) "1" public cian => string(1) "0" public uptime => string(1) "1" public up_time => string(10) "1612780710" public new_build => string(1) "0" public deleted => string(1) "0" public status => string(1) "0" public create_time => string(10) "1612780642" public modify_time => string(10) "1712008398" public last_published => string(1) "0" public type => string(1) "2" public type_of_object => string(1) "2" public short_description => string(743) "Платиновый апартамент в самом высоком здании Европы. Апартамент без отделки, свободной планировки, есть возможность реализовать …" public full_description => string(0) "" public satelite_description => string(366) "ПЛАТИНОВЫЙ АПАРТАМЕНТ. ПОМЕЩЕНИЕ БЕЗ ОТДЕЛКИ, СВОБОДНАЯ ПЛАНИРОВКА. ВЫСОТА ПОТОЛКОВ 5.5 МЕТРА. ДЛИНА ПАНОРАМНОЙ СТЕНЫ 22.4 МЕТРО …" public measures => string(77) "a:3:{s:6:"square";s:2:"47";s:5:"price";s:2:"58";s:11:"total_price";s:2:"58";}" public valute => string(3) "rur" public uniprice => string(6) "908555" public prefixes => string(6) "a:0:{}" public views => string(4) "1439" public last_view => string(10) "1710642590" public seo_title => string(0) "" public seo_description => string(0) "" public seo_keywords => string(0) "" public nalog => string(6) "НДС" public inet => string(1) "0" public communal => string(1) "0" public clean => string(1) "0" public has_grace => string(1) "0" public has_fee => string(1) "0" public video_link => string(0) "" public did => string(4) "1113" public catalog_product_id => string(4) "1117" public address => string(0) "" public vid => string(0) "" public metro => string(0) "" public description1 => string(0) "" public totalsquare => string(0) "" public square => string(3) "156" public floor => string(2) "91" public otdelka => string(21) "без отделки" public ready => NULL public plantype => string(16) "2 спальни" public fdeal => string(0) "" public price => string(6) "908555" public total_price => string(9) "141734580" public description => NULL public room_count => string(1) "3" public toilets => string(0) "" public comment => string(0) "" public flat_count => string(0) "" public prefix => string(0) "" public category_title => string(39) "Продажа апартаментов" public id_offset => integer 1132 }
"img_url" => string(67) "https://xn----7sbf0aahnq1aem.xn--80aswg/assets/catalog/product/400/" "local_image_url" => string(79) "/home/virtwww/w_moscow-city-f89_d31f84c3/http/offer_images/catalog/product/400/" "img_array" => array(11) ( 0 => string(17) "6021145d01fb3.jpg" 1 => string(17) "6021145cc0f02.jpg" 2 => string(17) "6021145cf1c1e.jpg" 3 => string(17) "6021145d2abd7.jpg" 4 => string(17) "6021145d39d85.jpg" 5 => string(17) "6021145d4ac41.jpg" 6 => string(17) "6021145d77b1c.jpg" 7 => string(17) "6021145d92ad0.jpg" 8 => string(17) "6021145db6177.jpg" 9 => string(17) "6021145dc4673.jpg" 10 => string(17) "6021145de4933.jpg" ) "img" => string(17) "6021145d01fb3.jpg" "loc_url" => string(96) "/home/virtwww/w_moscow-city-f89_d31f84c3/http/offer_images/catalog/product/400/6021145d01fb3.jpg" "http_response_header" => array(8) ( 0 => string(34) "HTTP/1.1 500 Internal Server Error" 1 => string(35) "Date: Thu, 18 Apr 2024 16:43:47 GMT" 2 => string(39) "Server: Apache/2.2.34 (Unix) PHP/7.2.34" 3 => string(24) "X-Powered-By: PHP/7.2.34" 4 => string(21) "Vary: Accept-Encoding" 5 => string(38) "Content-Type: text/html; charset=utf-8" 6 => string(17) "Connection: close" 7 => string(43) "Strict-Transport-Security: max-age=15768000" ) ) -
APPPATH/classes/rest.php [ 43 ] » file_get_contents(arguments)
filename
string(84) "https://xn----7sbf0aahnq1aem.xn--80aswg/assets/catalog/product/400/6021145d01fb3.jpg"
38 39 foreach($img_array as $img){ 40 41 $loc_url = $local_image_url . $img; 42 if(!file_exists($loc_url)){ 43 $image = file_get_contents( $img_url . $img ); 44 file_put_contents($loc_url, $image); 45 } 46 } 47 } 48 }
-
APPPATH/classes/rest.php [ 24 ] » Rest::download_images(arguments)
0
array(1) ( 0 => object stdClass(66)
{ public id => string(4) "1117" public category_id => string(2) "71" public title => string(125) "Продажа Платинового апартамента 156 м2 - 91 этаж башня Федерация Восток" public alias => string(75) "prodazha-platinovogo-apartamenta-156-m2-91-etazh-bashnja-federatsija-vostok" public tower => string(1) "2" public gen_floor => string(2) "91" public images => string(197) "6021145d01fb3.jpg;6021145cc0f02.jpg;6021145cf1c1e.jpg;6021145d2abd7.jpg;6021145d39d85.jpg;6021145d4ac41.jpg;6021145d77b1c.jpg;60 …" public main_image => string(17) "6021145d01fb3.jpg" public plans => string(19) "p.60211456ec5de.jpg" public published => string(1) "0" public special => string(1) "1" public is_top => string(1) "1" public yandex => string(1) "1" public cian => string(1) "0" public uptime => string(1) "1" public up_time => string(10) "1612780710" public new_build => string(1) "0" public deleted => string(1) "0" public status => string(1) "0" public create_time => string(10) "1612780642" public modify_time => string(10) "1712008398" public last_published => string(1) "0" public type => string(1) "2" public type_of_object => string(1) "2" public short_description => string(743) "Платиновый апартамент в самом высоком здании Европы. Апартамент без отделки, свободной планировки, есть возможность реализовать …" public full_description => string(0) "" public satelite_description => string(366) "ПЛАТИНОВЫЙ АПАРТАМЕНТ. ПОМЕЩЕНИЕ БЕЗ ОТДЕЛКИ, СВОБОДНАЯ ПЛАНИРОВКА. ВЫСОТА ПОТОЛКОВ 5.5 МЕТРА. ДЛИНА ПАНОРАМНОЙ СТЕНЫ 22.4 МЕТРО …" public measures => string(77) "a:3:{s:6:"square";s:2:"47";s:5:"price";s:2:"58";s:11:"total_price";s:2:"58";}" public valute => string(3) "rur" public uniprice => string(6) "908555" public prefixes => string(6) "a:0:{}" public views => string(4) "1439" public last_view => string(10) "1710642590" public seo_title => string(0) "" public seo_description => string(0) "" public seo_keywords => string(0) "" public nalog => string(6) "НДС" public inet => string(1) "0" public communal => string(1) "0" public clean => string(1) "0" public has_grace => string(1) "0" public has_fee => string(1) "0" public video_link => string(0) "" public did => string(4) "1113" public catalog_product_id => string(4) "1117" public address => string(0) "" public vid => string(0) "" public metro => string(0) "" public description1 => string(0) "" public totalsquare => string(0) "" public square => string(3) "156" public floor => string(2) "91" public otdelka => string(21) "без отделки" public ready => NULL public plantype => string(16) "2 спальни" public fdeal => string(0) "" public price => string(6) "908555" public total_price => string(9) "141734580" public description => NULL public room_count => string(1) "3" public toilets => string(0) "" public comment => string(0) "" public flat_count => string(0) "" public prefix => string(0) "" public category_title => string(39) "Продажа апартаментов" public id_offset => integer 1132 }
)19 public function get_product($id){ 20 21 $result = self::get('catalog/one/'.intval($id)); 22 $result->id_offset = $result->id + self::$id_offset; 23 if($result){ 24 self::download_images([$result]); 25 self::download_plans([$result]); 26 } 27 return $result; 28 } 29
-
APPPATH/classes/controller/catalog/product.php [ 7 ] » Rest::get_product(arguments)
0
string(4) "1117"
2 3 class Controller_Catalog_Product extends Controller_Template { 4 5 public function action_index($object_id){ 6 7 $item = Rest::get_product($object_id); 8 $this->template->content = new View('catalog/product'); 9 $this->template->content->item = $item; 10 $this->template->content->images = explode(';',$item->images); 11 $this->template->content->plans = explode(';',$item->plans); 12
-
{PHP internal call} » Controller_Catalog_Product->action_index(arguments)
0
string(4) "1117"
-
SYSPATH/classes/kohana/request.php [ 1111 ] » ReflectionMethod->invokeArgs(arguments)
0
object Controller_Catalog_Product(4)
{ public template => object View(2)
{ protected _file => string(76) "/home/virtwww/w_moscow-city-f89_d31f84c3/http/application/views/template.php" protected _data => array(2) ( "header" => object View(2)
public settings => object Model_Settings(34){ protected _file => string(81) "/home/virtwww/w_moscow-city-f89_d31f84c3/http/application/views/common/header.php" protected _data => array(0) }
"footer" => object View(2){ protected _file => string(81) "/home/virtwww/w_moscow-city-f89_d31f84c3/http/application/views/common/footer.php" protected _data => array(0) }
) }{ protected _has_one => array(0) protected _belongs_to => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validate => NULL protected _rules => array(0) protected _callbacks => array(0) protected _filters => array(0) protected _labels => array(0) protected _object => array(10) ( "id" => integer 1 "site_name" => NULL "phone" => NULL "phone2" => NULL "contact_email" => NULL "message_email" => NULL "from_email" => NULL "map_address" => NULL "contacts" => NULL "auto_alias" => NULL ) protected _changed => array(0) protected _related => array(0) protected _loaded => bool FALSE protected _saved => bool TRUE protected _sorting => array(1) ( "id" => string(3) "ASC" ) protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(8) "settings" protected _object_plural => string(10) "settingses" protected _table_name => string(10) "settingses" protected _table_columns => array(10) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "site_name" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "site_name" "column_default" => NULL "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(0) "" "privileges" => string(31) "select,insert,update,references" ) "phone" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "phone" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "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" ) "phone2" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "phone2" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(2) "32" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "contact_email" => array(12) ( "type" => string(6) "string" "column_name" => string(13) "contact_email" "column_default" => NULL "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" ) "message_email" => array(12) ( "type" => string(6) "string" "column_name" => string(13) "message_email" "column_default" => NULL "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" ) "from_email" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "from_email" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "character_maximum_length" => string(2) "64" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "map_address" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "map_address" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "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" ) "contacts" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(8) "contacts" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "auto_alias" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(10) "auto_alias" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _ignored_columns => array(0) protected _updated_column => NULL protected _created_column => NULL protected _primary_key => string(2) "id" protected _primary_val => string(4) "name" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
public auto_render => bool TRUE public request => object Request(10){ protected _connection_id => string(40) "23ffa01cd15977731cb93161d299893258f980a3" protected _identifier => string(1) "`" public last_query => string(112) "SELECT `metainfos`.* FROM `metainfos` WHERE `uri` = 'product/details/1117' ORDER BY `metainfos`.`id` ASC LIMIT 1" protected _instance => string(7) "default" protected _connection => object mysqli(19)
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 _preload_data => array(0) }{ 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(6) ( "type" => string(5) "mysql" "connection" => array(3) ( "hostname" => string(14) "mysql83.1gb.ru" "database" => string(12) "gb_moscitdev" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ public tree => object Model_tree(39)
}{ protected _has_one => array(1) ( "catalog_category" => array(2) ( "model" => string(16) "catalog_category" "foreign_key" => string(7) "tree_id" ) ) protected _left_column => string(3) "lft" protected _right_column => string(3) "rgt" protected _level_column => string(3) "lvl" protected _scope_column => string(5) "scope" protected _parent_column => string(9) "parent_id" protected _sorting => array(1) ( "lft" => string(3) "ASC" ) protected _belongs_to => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validate => NULL protected _rules => array(0) protected _callbacks => array(0) protected _filters => array(0) protected _labels => array(0) protected _object => array(25) ( "id" => NULL "lft" => NULL "rgt" => NULL "lvl" => NULL "scope" => NULL "parent_id" => NULL "title" => NULL "h1_title" => NULL "h1_subtitle" => NULL "short_title" => NULL "alias" => NULL "type" => NULL "module" => NULL "controller" => NULL "action" => NULL "params" => NULL "published" => NULL "shown" => NULL "created" => NULL "modify" => NULL "seotitle" => NULL "seotext" => NULL "description" => NULL "keywords" => NULL "variant" => NULL ) protected _changed => array(0) protected _related => array(0) protected _loaded => bool FALSE protected _saved => bool FALSE protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "tree" protected _object_plural => string(5) "trees" protected _table_name => string(5) "trees" protected _table_columns => array(25) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "lft" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(3) "lft" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "rgt" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(3) "rgt" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "lvl" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(5) "65535" "column_name" => string(3) "lvl" "column_default" => NULL "data_type" => string(17) "smallint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(1) "2" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "scope" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(5) "scope" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "display" => string(1) "2" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "parent_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "parent_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "display" => string(2) "10" "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" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "character_maximum_length" => string(3) "128" "collation_name" => string(17) "cp1251_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "h1_title" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "h1_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "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" ) "h1_subtitle" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "h1_subtitle" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "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" ) "short_title" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "short_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "character_maximum_length" => string(3) "128" "collation_name" => string(17) "cp1251_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "alias" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "alias" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "character_maximum_length" => string(3) "128" "collation_name" => string(17) "cp1251_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "type" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "type" "column_default" => string(1) "d" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "collation_name" => string(17) "cp1251_general_ci" "options" => array(3) ( ... ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "module" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "module" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "character_maximum_length" => string(2) "32" "collation_name" => string(17) "cp1251_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "controller" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "controller" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 14 "character_maximum_length" => string(2) "64" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "action" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "action" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 15 "character_maximum_length" => string(2) "64" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "params" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "params" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 16 "character_maximum_length" => string(2) "64" "collation_name" => string(17) "cp1251_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "published" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(9) "published" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 17 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "shown" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(5) "shown" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 18 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "created" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "created" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 19 "character_maximum_length" => string(2) "16" "collation_name" => string(17) "cp1251_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "modify" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "modify" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 20 "character_maximum_length" => string(2) "16" "collation_name" => string(17) "cp1251_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "seotitle" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "seotitle" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 21 "character_maximum_length" => string(3) "255" "collation_name" => string(17) "cp1251_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "seotext" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(7) "seotext" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "collation_name" => string(17) "cp1251_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" "character_maximum_length" => string(5) "65535" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 23 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "keywords" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 24 "character_maximum_length" => string(3) "255" "collation_name" => string(17) "cp1251_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "variant" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "variant" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 25 "character_maximum_length" => string(3) "255" "collation_name" => string(17) "cp1251_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _ignored_columns => array(0) protected _updated_column => NULL protected _created_column => NULL protected _primary_key => string(2) "id" protected _primary_val => string(4) "name" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
public route => object Route(4){ protected _connection_id => string(40) "23ffa01cd15977731cb93161d299893258f980a3" protected _identifier => string(1) "`" public last_query => string(112) "SELECT `metainfos`.* FROM `metainfos` WHERE `uri` = 'product/details/1117' ORDER BY `metainfos`.`id` ASC LIMIT 1" protected _instance => string(7) "default" protected _connection => object mysqli(19)
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 _preload_data => array(0) }{ 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(6) ( "type" => string(5) "mysql" "connection" => array(3) ( ... ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _uri => string(20) "product/details/<id>" protected _regex => array(1) ( "id" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "directory" => string(7) "catalog" "controller" => string(7) "product" "action" => string(5) "index" ) protected _route_regex => string(36) "#^product/details/(?P<id>[0-9]+)$#uD" }
public status => integer 500 public response => string(0) "" public headers => array(1) ( "Content-Type" => string(24) "text/html; charset=utf-8" ) public directory => string(7) "catalog" public controller => string(7) "product" public action => string(5) "index" public uri => string(20) "product/details/1117" protected _params => array(1) ( "id" => string(4) "1117" ) }1
array(1) ( "id" => string(4) "1117" )
1106 1107 // Determine the action to use 1108 $action = empty($this->action) ? Route::$default_action : $this->action; 1109 1110 // Execute the main action with the parameters 1111 $class->getMethod('action_'.$action)->invokeArgs($controller, $this->_params); 1112 1113 // Execute the "after action" method 1114 $class->getMethod('after')->invoke($controller); 1115 } 1116 catch (Exception $e)
-
APPPATH/bootstrap.php [ 175 ] » Kohana_Request->execute()
170 /** 171 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 172 * If no source is specified, the URI will be automatically detected. 173 */ 174 echo Request::instance() 175 ->execute() 176 ->send_headers() 177 ->response; 178 179 /* 180 try
-
DOCROOT/index.php [ 104 ] » require(arguments)
0
string(71) "/home/virtwww/w_moscow-city-f89_d31f84c3/http/application/bootstrap.php"
99 // Load empty core extension 100 require SYSPATH.'classes/kohana'.EXT; 101 } 102 103 // Bootstrap the application 104 require APPPATH.'bootstrap'.EXT;