Database_Exception [ ]
 

MODPATH/profilertoolbar/classes/Kohana/Database/MySQL.php [ 108 ]

103 	protected function _select_db($database)104 	{105 		if ( ! mysql_select_db($database, $this->_connection))106 		{107 			// Unable to select database108 			throw new Database_Exception(':error',109 				array(':error' => mysql_error($this->_connection)),110 				mysql_errno($this->_connection));111 		}112  113 		Database_MySQL::$_current_databases[$this->_connection_id] = $database;114  
  1. MODPATH/profilertoolbar/classes/Kohana/Database/MySQL.php [ 75 ] » Kohana_Database_MySQL->_select_db ( arguments )

    0 admin_2gis
    70 		}71  72 		// \xFF is a better delimiter, but the PHP driver uses underscore73 		$this->_connection_id = sha1($hostname.'_'.$username.'_'.$password);74  75 		$this->_select_db($database);76  77 		if ( ! empty($this->_config['charset']))78 		{79 			// Set the character set80 			$this->set_charset($this->_config['charset']);81  
  2. MODPATH/profilertoolbar/classes/Kohana/Database/MySQL.php [ 171 ] » Kohana_Database_MySQL->connect ( )

    166 	}167  168 	public function query($type, $sql, $as_object = FALSE, array $params = NULL)169 	{170 		// Make sure the database is connected171 		$this->_connection or $this->connect();172  173 		if ( ! empty($this->_config['profiling']) && stripos($sql,'explain') !== 0)174 		{175 			// Benchmark this query for the current instance176 			$benchmark = Profiler::start("Database ({$this->_instance})", $sql);177  
  3. MODPATH/profilertoolbar/classes/Kohana/Database/MySQL.php [ 392 ] » Kohana_Database_MySQL->query ( arguments )

    0 1
    1 SHOW FULL COLUMNS FROM `comments`
    2 false
    387 			$result = $this->query(Database::SELECT, 'SHOW FULL COLUMNS FROM '.$table.' LIKE '.$this->quote($like), FALSE);388 		}389 		else390 		{391 			// Find all column names392 			$result = $this->query(Database::SELECT, 'SHOW FULL COLUMNS FROM '.$table, FALSE);393 		}394  395 		$count = 0;396 		$columns = array();397 		foreach ($result as $row)398  
  4. MODPATH/orm/classes/Kohana/ORM.php [ 1665 ] » Kohana_Database_MySQL->list_columns ( arguments )

    0 comments
    1660 	 * @return array1661 	 */1662 	public function list_columns()1663 	{1664 		// Proxy to database1665 		return $this->_db->list_columns($this->_table_name);1666 	}1667  1668 	/**1669 	 * Returns an ORM model for the given one-one related alias1670 	 *1671  1672 
  5. MODPATH/orm/classes/Kohana/ORM.php [ 441 ] » Kohana_ORM->list_columns ( )

    436 				$this->_table_columns = ORM::$_column_cache[$this->_object_name];437 			}438 			else439 			{440 				// Grab column information from database441 				$this->_table_columns = $this->list_columns();442  443 				// Load column cache444 				ORM::$_column_cache[$this->_object_name] = $this->_table_columns;445 			}446 		}447  
  6. MODPATH/orm/classes/Kohana/ORM.php [ 386 ] » Kohana_ORM->reload_columns ( )

    381 		{382 			$this->{$property} = $value;383 		}384  385 		// Load column information386 		$this->reload_columns();387  388 		// Clear initial model state389 		$this->clear();390 	}391  392  
  7. MODPATH/orm/classes/Kohana/ORM.php [ 254 ] » Kohana_ORM->_initialize ( )

    249 	 *250 	 * @param   mixed $id Parameter for find or object to load251 	 */252 	public function __construct($id = NULL)253 	{254 		$this->_initialize();255  256 		if ($id !== NULL)257 		{258 			if (is_array($id))259 			{260  
  8. MODPATH/orm/classes/Kohana/ORM.php [ 46 ] » Kohana_ORM->__construct ( arguments )

    0
    NULL
    
    41 	public static function factory($model, $id = NULL)42 	{43 		// Set class name44 		$model = 'Model_'.$model;45  46 		return new $model($id);47 	}48  49 	/**50 	 * "Has one" relationships51 	 * @var array52  53 
  9. APPPATH/classes/Widget/Rating.php [ 20 ] » Kohana_ORM::factory ( arguments )

    0 Comment
    15 		{16 			$rates = $this->config['rates'];17 		}18 		elseif ( ! $rates = unserialize(Cache::instance()->get($_cachename)))19 		{20 			$rates = ORM::factory('Comment');21  22 			if ($this->config['page_id'])23 				$rates->where('page_id', '=', $this->config['page_id']);24  25 			if ($this->config['type'])26  
  10. MODPATH/widget/classes/Widget.php [ 62 ] » Widget_Rating->render ( )

    57 		if (Kohana::$profiling)58 		{59 			$benchmark = Profiler::start('widget', $name);60 		}61  62 		$result = $widget->render();63  64 		if (isset($benchmark))65 		{66 			Profiler::stop($benchmark);67 		}68  
  11. APPPATH/views/page/gis/profile.php [ 105 ] » Widget::show ( arguments )

    0 rating
    1
    array(3) {
      ["type"] => string(7) "profile"
      ["page_id"] => string(16) "1970853118379035"
      ["schema"] => bool(true)
    }
    
    100 							<?=HTML::anchor($city->code . '/article/create/' . $profile->id, 'Это ваша организация?', array('class' => 'btn btn-primary btn-xxs pull-left', 'rel' => 'nofollow', 'target' => '_blank'))?>101 							<?=Widget::show('share', array('title' => Seo::factory('gis.profile.title', array('firm' => $profile->name))))?>102 						</div>103  104 						<div id="profile-rating" class="wrap-small">105 							<?=Widget::show('rating', array('type' => Model_Comment::PROFILE, 'page_id' => $profile->id, 'schema' => TRUE))?>106 							<? Assets::codes('profile-rating', <<<JS107 								$('#profile-rating .rating-item').hover(function(){108 									var rate = $(this).attr('data-rate');109  110 									$(this).parent().removeAttr('class').addClass('rating-stat-' + rate);111  
  12. SYSPATH/classes/Kohana/View.php [ 61 ] » include ( arguments )

    0 /var/home/admin/web/gisvid.ru/public_html/application/views/page/gis/profile.php
    56 		ob_start();57  58 		try59 		{60 			// Load the view within the current scope61 			include $kohana_view_filename;62 		}63 		catch (Exception $e)64 		{65 			// Delete the output buffer66 			ob_end_clean();67  
  13. SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture ( arguments )

    0 /var/home/admin/web/gisvid.ru/public_html/application/views/page/gis/profile.php
    1
    array(1) {
      ["profile"] => object(stdClass)#312 (24) {
        ["api_version"] => string(3) "1.3"
        ["response_code"] => string(3) "200"
        ["id"] => string(16) "1970853118379035"
        ["lon"] => string(9) "30.722203"
        ["lat"] => string(9) "46.406071"
        ["booklet_url"] => NULL
        ["booklet_title"] => NULL
        ["name"] => string(93) "Совет многодетных семей Киевского района г. Одессы"
        ["firm_group"] => object(stdClass)#313 (2) {
          ["id"] => string(16) "1970861708178689"
          ["count"] => string(1) "1"
        }
        ["register_bc_url"] => string(110) "http://stat.api.2gis.ru/?v=1.3&hash=cdB9ky881BH8346J6d2euvly69949A29Ac7646649J2AA37CAg2b68G4H4G35411G1HGH2JIe3"
        ["review_register_bc_url"] => string(111) "http://stat.api.2gis.ru/?v=1.3&hash=fdd9ky881BH8346J692euvly69949A29AAgh46649J2AA37C6ggb68G4H4G35411G1HGH33IIA4"
        ["address_click_bc_url"] => string(111) "http://stat.api.2gis.ru/?v=1.3&hash=gdB9ky881BH8346J6d2euvly69949A29A38f46649J2AA37C2g5b68G4H4G35411G1HGH36II46"
        ["city_name"] => string(12) "Одесса"
        ["project_id"] => string(2) "14"
        ["city_id"] => string(16) "1970947607232557"
        ["address"] => string(39) "Академика Королёва, 17"
        ["create_time"] => string(22) "2011-06-30 11:12:23+07"
        ["modification_time"] => string(29) "2015-06-26 05:11:50.671829+06"
        ["additional_info"] => object(stdClass)#314 (2) {
          ["currency"] => string(3) "UAH"
          ["office"] => string(22) "1 офис; 1 этаж"
        }
        ["contacts"] => array(1) {
          [0] => object(stdClass)#315 (2) {
            ["name"] => string(0) ""
            ["contacts"] => array(4) {
              [0] => object(stdClass)#316 (3) {
                ["type"] => string(5) "phone"
                ["value"] => string(13) "+380487961526"
                ["register_bc_url"] => string(110) "http://stat.api.2gis.ru/?v=1.3&hash=2dA9ky881BH8346J602euvly69949A29A94f46649J2AA37Ccg3b68G4H4G35411G1HGH4JI83"
              }
              [1] => object(stdClass)#317 (3) {
                ["type"] => string(5) "phone"
                ["value"] => string(13) "+380932165962"
                ["register_bc_url"] => string(110) "http://stat.api.2gis.ru/?v=1.3&hash=2d99ky881BH8346J602euvly69949A29Ad4h46649J2AA37CBgdb68G4H4G35411G1HGH4JIcb"
              }
              [2] => object(stdClass)#318 (3) {
                ["type"] => string(5) "phone"
                ["value"] => string(13) "+380968228094"
                ["register_bc_url"] => string(110) "http://stat.api.2gis.ru/?v=1.3&hash=6dh9ky881BH8346J6c2euvly69949A29Ag6d46649J2AA37C2gBb68G4H4G35411G1HGH4JI8A"
              }
              [3] => object(stdClass)#319 (3) {
                ["type"] => string(7) "website"
                ["value"] => string(181) "http://link.2gis.ru/1.1/47630490/webapi/20150701/project14/1970853118379035/gisvid.ru/1d79ky88G4H3J1HJ6e2euvly69945632Abff46649JG3235J3ghb68G4AA0A8479G5HGAA?http://www.smskrgo.at.ua"
                ["alias"] => string(17) "www.smskrgo.at.ua"
              }
            }
          }
        }
        ["schedule"] => object(stdClass)#320 (1) {
          ["Fri"] => object(stdClass)#321 (1) {
            ["working_hours-0"] => object(stdClass)#322 (2) {
              ["from"] => string(5) "17:00"
              ["to"] => string(5) "19:00"
            }
          }
        }
        ["rating"] => string(1) "0"
        ["rubrics"] => array(1) {
          [0] => string(47) "Общественные организации"
        }
        ["city"] => object(stdClass)#191 (31) {
          ["id"] => int(14)
          ["name"] => string(12) "Одесса"
          ["code"] => string(6) "odessa"
          ["geo_id"] => string(16) "1970750038736898"
          ["country_code"] => string(2) "ua"
          ["language"] => string(2) "ru"
          ["transport_routes_count"] => int(166)
          ["timezone"] => string(11) "Europe/Kiev"
          ["actual_extent"] => string(110) "POLYGON((30.512168 46.253422,30.911286 46.253422,30.911286 46.656718,30.512168 46.656718,30.512168 46.253422))"
          ["road_extent"] => string(110) "POLYGON((30.512168 46.253422,30.911286 46.253422,30.911286 46.656718,30.512168 46.656718,30.512168 46.253422))"
          ["centroid"] => string(26) "POINT(30.721402 46.466052)"
          ["geoscount"] => int(92938)
          ["firmscount"] => int(20443)
          ["filialscount"] => int(28409)
          ["rubricscount"] => int(1073)
          ["settlements"] => array(1) {
            [0] => string(18) "Ильичёвск"
          }
          ["weights_time"] => int(1436264221)
          ["transport"] => bool(true)
          ["flamp"] => bool(false)
          ["zoomlevel"] => string(2) "11"
          ["min_zoomlevel"] => string(1) "9"
          ["max_zoomlevel"] => string(2) "18"
          ["grammatical_cases"] => object(stdClass)#192 (3) {
            ["genitive"] => string(12) "Одессы"
            ["prepositional"] => string(12) "Одессе"
            ["accusative"] => string(12) "Одессу"
          }
          ["routing"] => bool(true)
          ["dailyImportAds"] => bool(true)
          ["metro"] => bool(false)
          ["is_3d"] => bool(true)
          ["seo"] => object(stdClass)#193 (2) {
            ["title"] => string(0) ""
            ["description"] => string(34) "Одессы, Ильичёвска"
          }
          ["timezone_as_offset"] => int(180)
          ["lon"] => string(9) "30.721402"
          ["lat"] => string(9) "46.466052"
        }
      }
    }
    
    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 output348 		return View::capture($this->_file, $this->_data);349 	}350  351 } // End View352  
  14. SYSPATH/classes/Kohana/View.php [ 228 ] » Kohana_View->render ( )

    223 	 */224 	public function __toString()225 	{226 		try227 		{228 			return $this->render();229 		}230 		catch (Exception $e)231 		{232 			/**233 			 * Display the exception message.234  235 
  15. APPPATH/views/layout.php [ 105 ] » Kohana_View->__toString ( )

    100 		<div class="breadcrumbs text-muted">101 			<?=Breadcrumb::instance()->render()?>102 		</div>103 	</div>104 	<div class="content clearfix">105 		<?=$content?>106 	</div>107 	<? if (Model::factory('Content_Control')->is_safe()): ?>108 		<style>109 			.ad_content { width: 320px; height: 100px; }110 			@media(min-width: 768px) { .ad_content { width: 728px; height: 90px; } }111  
  16. SYSPATH/classes/Kohana/View.php [ 61 ] » include ( arguments )

    0 /var/home/admin/web/gisvid.ru/public_html/application/views/layout.php
    56 		ob_start();57  58 		try59 		{60 			// Load the view within the current scope61 			include $kohana_view_filename;62 		}63 		catch (Exception $e)64 		{65 			// Delete the output buffer66 			ob_end_clean();67  
  17. SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture ( arguments )

    0 /var/home/admin/web/gisvid.ru/public_html/application/views/layout.php
    1
    array(4) {
      ["head_include"] => string(80) "<link rel="canonical" href="http://gisvid.ru/odessa/profile/1970853118379035" />"
      ["title"] => string(124) "Совет многодетных семей Киевского района г. Одессы, Одесса — ГИСВИД"
      ["description"] => string(317) "Совет многодетных семей Киевского района г. Одессы в Одессе, ул.Академика Королёва, 17: отзывы, контакты, адрес, телефон, часы и режим работы, на карте, сайт, E-mail, просмотр улицы."
      ["content"] => object(View)#564 (2) {
        ["_file":protected] => string(80) "/var/home/admin/web/gisvid.ru/public_html/application/views/page/gis/profile.php"
        ["_data":protected] => array(1) {
          ["profile"] => object(stdClass)#312 (24) {
            ["api_version"] => string(3) "1.3"
            ["response_code"] => string(3) "200"
            ["id"] => string(16) "1970853118379035"
            ["lon"] => string(9) "30.722203"
            ["lat"] => string(9) "46.406071"
            ["booklet_url"] => NULL
            ["booklet_title"] => NULL
            ["name"] => string(93) "Совет многодетных семей Киевского района г. Одессы"
            ["firm_group"] => object(stdClass)#313 (2) {
              ["id"] => string(16) "1970861708178689"
              ["count"] => string(1) "1"
            }
            ["register_bc_url"] => string(110) "http://stat.api.2gis.ru/?v=1.3&hash=cdB9ky881BH8346J6d2euvly69949A29Ac7646649J2AA37CAg2b68G4H4G35411G1HGH2JIe3"
            ["review_register_bc_url"] => string(111) "http://stat.api.2gis.ru/?v=1.3&hash=fdd9ky881BH8346J692euvly69949A29AAgh46649J2AA37C6ggb68G4H4G35411G1HGH33IIA4"
            ["address_click_bc_url"] => string(111) "http://stat.api.2gis.ru/?v=1.3&hash=gdB9ky881BH8346J6d2euvly69949A29A38f46649J2AA37C2g5b68G4H4G35411G1HGH36II46"
            ["city_name"] => string(12) "Одесса"
            ["project_id"] => string(2) "14"
            ["city_id"] => string(16) "1970947607232557"
            ["address"] => string(39) "Академика Королёва, 17"
            ["create_time"] => string(22) "2011-06-30 11:12:23+07"
            ["modification_time"] => string(29) "2015-06-26 05:11:50.671829+06"
            ["additional_info"] => object(stdClass)#314 (2) {
              ["currency"] => string(3) "UAH"
              ["office"] => string(22) "1 офис; 1 этаж"
            }
            ["contacts"] => array(1) {
              [0] => object(stdClass)#315 (2) {
                ["name"] => string(0) ""
                ["contacts"] => array(4) {
                  [0] => object(stdClass)#316 (3) {
                    ["type"] => string(5) "phone"
                    ["value"] => string(13) "+380487961526"
                    ["register_bc_url"] => string(110) "http://stat.api.2gis.ru/?v=1.3&hash=2dA9ky881BH8346J602euvly69949A29A94f46649J2AA37Ccg3b68G4H4G35411G1HGH4JI83"
                  }
                  [1] => object(stdClass)#317 (3) {
                    ["type"] => string(5) "phone"
                    ["value"] => string(13) "+380932165962"
                    ["register_bc_url"] => string(110) "http://stat.api.2gis.ru/?v=1.3&hash=2d99ky881BH8346J602euvly69949A29Ad4h46649J2AA37CBgdb68G4H4G35411G1HGH4JIcb"
                  }
                  [2] => object(stdClass)#318 (3) {
                    ["type"] => string(5) "phone"
                    ["value"] => string(13) "+380968228094"
                    ["register_bc_url"] => string(110) "http://stat.api.2gis.ru/?v=1.3&hash=6dh9ky881BH8346J6c2euvly69949A29Ag6d46649J2AA37C2gBb68G4H4G35411G1HGH4JI8A"
                  }
                  [3] => object(stdClass)#319 (3) {
                    ["type"] => string(7) "website"
                    ["value"] => string(181) "http://link.2gis.ru/1.1/47630490/webapi/20150701/project14/1970853118379035/gisvid.ru/1d79ky88G4H3J1HJ6e2euvly69945632Abff46649JG3235J3ghb68G4AA0A8479G5HGAA?http://www.smskrgo.at.ua"
                    ["alias"] => string(17) "www.smskrgo.at.ua"
                  }
                }
              }
            }
            ["schedule"] => object(stdClass)#320 (1) {
              ["Fri"] => object(stdClass)#321 (1) {
                ["working_hours-0"] => object(stdClass)#322 (2) {
                  ["from"] => string(5) "17:00"
                  ["to"] => string(5) "19:00"
                }
              }
            }
            ["rating"] => string(1) "0"
            ["rubrics"] => array(1) {
              [0] => string(47) "Общественные организации"
            }
            ["city"] => object(stdClass)#191 (31) {
              ["id"] => int(14)
              ["name"] => string(12) "Одесса"
              ["code"] => string(6) "odessa"
              ["geo_id"] => string(16) "1970750038736898"
              ["country_code"] => string(2) "ua"
              ["language"] => string(2) "ru"
              ["transport_routes_count"] => int(166)
              ["timezone"] => string(11) "Europe/Kiev"
              ["actual_extent"] => string(110) "POLYGON((30.512168 46.253422,30.911286 46.253422,30.911286 46.656718,30.512168 46.656718,30.512168 46.253422))"
              ["road_extent"] => string(110) "POLYGON((30.512168 46.253422,30.911286 46.253422,30.911286 46.656718,30.512168 46.656718,30.512168 46.253422))"
              ["centroid"] => string(26) "POINT(30.721402 46.466052)"
              ["geoscount"] => int(92938)
              ["firmscount"] => int(20443)
              ["filialscount"] => int(28409)
              ["rubricscount"] => int(1073)
              ["settlements"] => array(1) {
                [0] => string(18) "Ильичёвск"
              }
              ["weights_time"] => int(1436264221)
              ["transport"] => bool(true)
              ["flamp"] => bool(false)
              ["zoomlevel"] => string(2) "11"
              ["min_zoomlevel"] => string(1) "9"
              ["max_zoomlevel"] => string(2) "18"
              ["grammatical_cases"] => object(stdClass)#192 (3) {
                ["genitive"] => string(12) "Одессы"
                ["prepositional"] => string(12) "Одессе"
                ["accusative"] => string(12) "Одессу"
              }
              ["routing"] => bool(true)
              ["dailyImportAds"] => bool(true)
              ["metro"] => bool(false)
              ["is_3d"] => bool(true)
              ["seo"] => object(stdClass)#193 (2) {
                ["title"] => string(0) ""
                ["description"] => string(34) "Одессы, Ильичёвска"
              }
              ["timezone_as_offset"] => int(180)
              ["lon"] => string(9) "30.721402"
              ["lat"] => string(9) "46.466052"
            }
          }
        }
      }
    }
    
    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 output348 		return View::capture($this->_file, $this->_data);349 	}350  351 } // End View352  
  18. 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  50  
  19. APPPATH/classes/Controller/City.php [ 57 ] » Kohana_Controller_Template->after ( )

    52  53 		View::bind_global('seo_title', $seo_title);54  55 		try56 		{57 			parent::after();58 		}59 		catch (ErrorException $e)60 		{61 			throw new HTTP_Exception_500($e->getMessage());62 		}63  
  20. APPPATH/classes/Controller/Gis.php [ 19 ] » Controller_City->after ( )

    14 		Assets::js('2gis', 'http://catalog.api.2gis.ru/assets/apitracker.js?version=1.3', NULL, FALSE, array('weight' => -8));15 	}16  17 	public function after()18 	{19 		parent::after();20  21 		if ($this->request->action() == 'profile' AND $this->request->param('id') == '4504127908585253')22 		{23 			Model::factory('Stat')->cache($this->request->param('id'));24 		}25  
  21. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Gis->after ( )

    82  83 		// Execute the action itself84 		$this->{$action}();85  86 		// Execute the "after action" method87 		$this->after();88  89 		// Return the response90 		return $this->response;91 	}92  93  
  22. {PHP internal call} » Kohana_Controller->execute ( )

  23. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke ( arguments )

    0
    object(Controller_Gis)#47 (6) {
      ["template"] => object(View)#307 (2) {
        ["_file":protected] => string(70) "/var/home/admin/web/gisvid.ru/public_html/application/views/layout.php"
        ["_data":protected] => array(4) {
          ["head_include"] => string(80) "<link rel="canonical" href="http://gisvid.ru/odessa/profile/1970853118379035" />"
          ["title"] => string(124) "Совет многодетных семей Киевского района г. Одессы, Одесса — ГИСВИД"
          ["description"] => string(317) "Совет многодетных семей Киевского района г. Одессы в Одессе, ул.Академика Королёва, 17: отзывы, контакты, адрес, телефон, часы и режим работы, на карте, сайт, E-mail, просмотр улицы."
          ["content"] => object(View)#564 (2) {
            ["_file":protected] => string(80) "/var/home/admin/web/gisvid.ru/public_html/application/views/page/gis/profile.php"
            ["_data":protected] => array(1) {
              ["profile"] => object(stdClass)#312 (24) {
                ["api_version"] => string(3) "1.3"
                ["response_code"] => string(3) "200"
                ["id"] => string(16) "1970853118379035"
                ["lon"] => string(9) "30.722203"
                ["lat"] => string(9) "46.406071"
                ["booklet_url"] => NULL
                ["booklet_title"] => NULL
                ["name"] => string(93) "Совет многодетных семей Киевского района г. Одессы"
                ["firm_group"] => object(stdClass)#313 (2) {
                  ["id"] => string(16) "1970861708178689"
                  ["count"] => string(1) "1"
                }
                ["register_bc_url"] => string(110) "http://stat.api.2gis.ru/?v=1.3&hash=cdB9ky881BH8346J6d2euvly69949A29Ac7646649J2AA37CAg2b68G4H4G35411G1HGH2JIe3"
                ["review_register_bc_url"] => string(111) "http://stat.api.2gis.ru/?v=1.3&hash=fdd9ky881BH8346J692euvly69949A29AAgh46649J2AA37C6ggb68G4H4G35411G1HGH33IIA4"
                ["address_click_bc_url"] => string(111) "http://stat.api.2gis.ru/?v=1.3&hash=gdB9ky881BH8346J6d2euvly69949A29A38f46649J2AA37C2g5b68G4H4G35411G1HGH36II46"
                ["city_name"] => string(12) "Одесса"
                ["project_id"] => string(2) "14"
                ["city_id"] => string(16) "1970947607232557"
                ["address"] => string(39) "Академика Королёва, 17"
                ["create_time"] => string(22) "2011-06-30 11:12:23+07"
                ["modification_time"] => string(29) "2015-06-26 05:11:50.671829+06"
                ["additional_info"] => object(stdClass)#314 (2) {
                  ["currency"] => string(3) "UAH"
                  ["office"] => string(22) "1 офис; 1 этаж"
                }
                ["contacts"] => array(1) {
                  [0] => object(stdClass)#315 (2) {
                    ["name"] => string(0) ""
                    ["contacts"] => array(4) {
                      [0] => object(stdClass)#316 (3) {
                        ["type"] => string(5) "phone"
                        ["value"] => string(13) "+380487961526"
                        ["register_bc_url"] => string(110) "http://stat.api.2gis.ru/?v=1.3&hash=2dA9ky881BH8346J602euvly69949A29A94f46649J2AA37Ccg3b68G4H4G35411G1HGH4JI83"
                      }
                      [1] => object(stdClass)#317 (3) {
                        ["type"] => string(5) "phone"
                        ["value"] => string(13) "+380932165962"
                        ["register_bc_url"] => string(110) "http://stat.api.2gis.ru/?v=1.3&hash=2d99ky881BH8346J602euvly69949A29Ad4h46649J2AA37CBgdb68G4H4G35411G1HGH4JIcb"
                      }
                      [2] => object(stdClass)#318 (3) {
                        ["type"] => string(5) "phone"
                        ["value"] => string(13) "+380968228094"
                        ["register_bc_url"] => string(110) "http://stat.api.2gis.ru/?v=1.3&hash=6dh9ky881BH8346J6c2euvly69949A29Ag6d46649J2AA37C2gBb68G4H4G35411G1HGH4JI8A"
                      }
                      [3] => object(stdClass)#319 (3) {
                        ["type"] => string(7) "website"
                        ["value"] => string(181) "http://link.2gis.ru/1.1/47630490/webapi/20150701/project14/1970853118379035/gisvid.ru/1d79ky88G4H3J1HJ6e2euvly69945632Abff46649JG3235J3ghb68G4AA0A8479G5HGAA?http://www.smskrgo.at.ua"
                        ["alias"] => string(17) "www.smskrgo.at.ua"
                      }
                    }
                  }
                }
                ["schedule"] => object(stdClass)#320 (1) {
                  ["Fri"] => object(stdClass)#321 (1) {
                    ["working_hours-0"] => object(stdClass)#322 (2) {
                      ["from"] => string(5) "17:00"
                      ["to"] => string(5) "19:00"
                    }
                  }
                }
                ["rating"] => string(1) "0"
                ["rubrics"] => array(1) {
                  [0] => string(47) "Общественные организации"
                }
                ["city"] => object(stdClass)#191 (31) {
                  ["id"] => int(14)
                  ["name"] => string(12) "Одесса"
                  ["code"] => string(6) "odessa"
                  ["geo_id"] => string(16) "1970750038736898"
                  ["country_code"] => string(2) "ua"
                  ["language"] => string(2) "ru"
                  ["transport_routes_count"] => int(166)
                  ["timezone"] => string(11) "Europe/Kiev"
                  ["actual_extent"] => string(110) "POLYGON((30.512168 46.253422,30.911286 46.253422,30.911286 46.656718,30.512168 46.656718,30.512168 46.253422))"
                  ["road_extent"] => string(110) "POLYGON((30.512168 46.253422,30.911286 46.253422,30.911286 46.656718,30.512168 46.656718,30.512168 46.253422))"
                  ["centroid"] => string(26) "POINT(30.721402 46.466052)"
                  ["geoscount"] => int(92938)
                  ["firmscount"] => int(20443)
                  ["filialscount"] => int(28409)
                  ["rubricscount"] => int(1073)
                  ["settlements"] => array(1) {
                    [0] => string(18) "Ильичёвск"
                  }
                  ["weights_time"] => int(1436264221)
                  ["transport"] => bool(true)
                  ["flamp"] => bool(false)
                  ["zoomlevel"] => string(2) "11"
                  ["min_zoomlevel"] => string(1) "9"
                  ["max_zoomlevel"] => string(2) "18"
                  ["grammatical_cases"] => object(stdClass)#192 (3) {
                    ["genitive"] => string(12) "Одессы"
                    ["prepositional"] => string(12) "Одессе"
                    ["accusative"] => string(12) "Одессу"
                  }
                  ["routing"] => bool(true)
                  ["dailyImportAds"] => bool(true)
                  ["metro"] => bool(false)
                  ["is_3d"] => bool(true)
                  ["seo"] => object(stdClass)#193 (2) {
                    ["title"] => string(0) ""
                    ["description"] => string(34) "Одессы, Ильичёвска"
                  }
                  ["timezone_as_offset"] => int(180)
                  ["lon"] => string(9) "30.721402"
                  ["lat"] => string(9) "46.466052"
                }
              }
            }
          }
        }
      }
      ["city"] => object(stdClass)#191 (31) {
        ["id"] => int(14)
        ["name"] => string(12) "Одесса"
        ["code"] => string(6) "odessa"
        ["geo_id"] => string(16) "1970750038736898"
        ["country_code"] => string(2) "ua"
        ["language"] => string(2) "ru"
        ["transport_routes_count"] => int(166)
        ["timezone"] => string(11) "Europe/Kiev"
        ["actual_extent"] => string(110) "POLYGON((30.512168 46.253422,30.911286 46.253422,30.911286 46.656718,30.512168 46.656718,30.512168 46.253422))"
        ["road_extent"] => string(110) "POLYGON((30.512168 46.253422,30.911286 46.253422,30.911286 46.656718,30.512168 46.656718,30.512168 46.253422))"
        ["centroid"] => string(26) "POINT(30.721402 46.466052)"
        ["geoscount"] => int(92938)
        ["firmscount"] => int(20443)
        ["filialscount"] => int(28409)
        ["rubricscount"] => int(1073)
        ["settlements"] => array(1) {
          [0] => string(18) "Ильичёвск"
        }
        ["weights_time"] => int(1436264221)
        ["transport"] => bool(true)
        ["flamp"] => bool(false)
        ["zoomlevel"] => string(2) "11"
        ["min_zoomlevel"] => string(1) "9"
        ["max_zoomlevel"] => string(2) "18"
        ["grammatical_cases"] => object(stdClass)#192 (3) {
          ["genitive"] => string(12) "Одессы"
          ["prepositional"] => string(12) "Одессе"
          ["accusative"] => string(12) "Одессу"
        }
        ["routing"] => bool(true)
        ["dailyImportAds"] => bool(true)
        ["metro"] => bool(false)
        ["is_3d"] => bool(true)
        ["seo"] => object(stdClass)#193 (2) {
          ["title"] => string(0) ""
          ["description"] => string(34) "Одессы, Ильичёвска"
        }
        ["timezone_as_offset"] => int(180)
        ["lon"] => string(9) "30.721402"
        ["lat"] => string(9) "46.466052"
      }
      ["auto_render"] => bool(true)
      ["_devel_auth":protected] => object(Auth_File)#306 (3) {
        ["_users":protected] => array(1) {
          ["devel"] => string(64) "fab51a3e0a5907bd4f90d0e0c4797f24cf77a8f8ae03eb96b771ce2b261f0096"
        }
        ["_session":protected] => object(Session_Native)#305 (5) {
          ["_name":protected] => string(7) "session"
          ["_lifetime":protected] => int(0)
          ["_encrypted":protected] => bool(false)
          ["_data":protected] => &array(0) {
          }
          ["_destroyed":protected] => bool(false)
        }
        ["_config":protected] => array(7) {
          ["driver"] => string(4) "file"
          ["hash_method"] => string(6) "sha256"
          ["hash_key"] => string(10) "eqi87mup9q"
          ["lifetime"] => int(3600)
          ["session_type"] => string(6) "native"
          ["session_key"] => string(10) "auth_devel"
          ["users"] => array(1) {
            ["devel"] => string(64) "fab51a3e0a5907bd4f90d0e0c4797f24cf77a8f8ae03eb96b771ce2b261f0096"
          }
        }
      }
      ["request"] => object(Request)#41 (19) {
        ["_requested_with":protected] => NULL
        ["_method":protected] => string(3) "GET"
        ["_protocol":protected] => string(8) "HTTP/1.0"
        ["_secure":protected] => bool(false)
        ["_referrer":protected] => NULL
        ["_route":protected] => object(Route)#38 (5) {
          ["_filters":protected] => array(0) {
          }
          ["_uri":protected] => string(24) "<city>(/<action>(/<id>))"
          ["_regex":protected] => array(2) {
            ["city"] => string(8) "[-_a-z]+"
            ["id"] => string(3) "\d+"
          }
          ["_defaults":protected] => array(2) {
            ["controller"] => string(3) "gis"
            ["action"] => string(5) "index"
          }
          ["_route_regex":protected] => string(71) "#^(?P<city>[-_a-z]+)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>\d+))?)?$#uD"
        }
        ["_routes":protected] => array(0) {
        }
        ["_header":protected] => object(HTTP_Header)#42 (5) {
          ["_accept_content":protected] => NULL
          ["_accept_charset":protected] => NULL
          ["_accept_encoding":protected] => NULL
          ["_accept_language":protected] => NULL
          ["storage":"ArrayObject":private] => array(0) {
          }
        }
        ["_body":protected] => NULL
        ["_directory":protected] => string(0) ""
        ["_controller":protected] => string(3) "Gis"
        ["_action":protected] => string(7) "profile"
        ["_uri":protected] => string(31) "odessa/profile/1970853118379035"
        ["_external":protected] => bool(false)
        ["_params":protected] => array(2) {
          ["city"] => string(6) "odessa"
          ["id"] => string(16) "1970853118379035"
        }
        ["_get":protected] => array(0) {
        }
        ["_post":protected] => array(0) {
        }
        ["_cookies":protected] => array(0) {
        }
        ["_client":protected] => object(Request_Client_Internal)#43 (9) {
          ["_previous_environment":protected] => NULL
          ["_cache":protected] => NULL
          ["_follow":protected] => bool(false)
          ["_follow_headers":protected] => array(1) {
            [0] => string(13) "Authorization"
          }
          ["_strict_redirect":protected] => bool(true)
          ["_header_callbacks":protected] => array(1) {
            ["Location"] => string(34) "Request_Client::on_header_location"
          }
          ["_max_callback_depth":protected] => int(5)
          ["_callback_depth":protected] => int(1)
          ["_callback_params":protected] => array(0) {
          }
        }
      }
      ["response"] => object(Response)#44 (5) {
        ["_status":protected] => int(200)
        ["_header":protected] => object(HTTP_Header)#45 (5) {
          ["_accept_content":protected] => NULL
          ["_accept_charset":protected] => NULL
          ["_accept_encoding":protected] => NULL
          ["_accept_language":protected] => NULL
          ["storage":"ArrayObject":private] => array(0) {
          }
        }
        ["_body":protected] => string(0) ""
        ["_cookies":protected] => array(0) {
        }
        ["_protocol":protected] => 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');103  
  24. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request ( arguments )

    0
    object(Request)#41 (19) {
      ["_requested_with":protected] => NULL
      ["_method":protected] => string(3) "GET"
      ["_protocol":protected] => string(8) "HTTP/1.0"
      ["_secure":protected] => bool(false)
      ["_referrer":protected] => NULL
      ["_route":protected] => object(Route)#38 (5) {
        ["_filters":protected] => array(0) {
        }
        ["_uri":protected] => string(24) "<city>(/<action>(/<id>))"
        ["_regex":protected] => array(2) {
          ["city"] => string(8) "[-_a-z]+"
          ["id"] => string(3) "\d+"
        }
        ["_defaults":protected] => array(2) {
          ["controller"] => string(3) "gis"
          ["action"] => string(5) "index"
        }
        ["_route_regex":protected] => string(71) "#^(?P<city>[-_a-z]+)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>\d+))?)?$#uD"
      }
      ["_routes":protected] => array(0) {
      }
      ["_header":protected] => object(HTTP_Header)#42 (5) {
        ["_accept_content":protected] => NULL
        ["_accept_charset":protected] => NULL
        ["_accept_encoding":protected] => NULL
        ["_accept_language":protected] => NULL
        ["storage":"ArrayObject":private] => array(0) {
        }
      }
      ["_body":protected] => NULL
      ["_directory":protected] => string(0) ""
      ["_controller":protected] => string(3) "Gis"
      ["_action":protected] => string(7) "profile"
      ["_uri":protected] => string(31) "odessa/profile/1970853118379035"
      ["_external":protected] => bool(false)
      ["_params":protected] => array(2) {
        ["city"] => string(6) "odessa"
        ["id"] => string(16) "1970853118379035"
      }
      ["_get":protected] => array(0) {
      }
      ["_post":protected] => array(0) {
      }
      ["_cookies":protected] => array(0) {
      }
      ["_client":protected] => object(Request_Client_Internal)#43 (9) {
        ["_previous_environment":protected] => NULL
        ["_cache":protected] => NULL
        ["_follow":protected] => bool(false)
        ["_follow_headers":protected] => array(1) {
          [0] => string(13) "Authorization"
        }
        ["_strict_redirect":protected] => bool(true)
        ["_header_callbacks":protected] => array(1) {
          ["Location"] => string(34) "Request_Client::on_header_location"
        }
        ["_max_callback_depth":protected] => int(5)
        ["_callback_depth":protected] => int(1)
        ["_callback_params":protected] => array(0) {
        }
      }
    }
    
    1
    object(Response)#44 (5) {
      ["_status":protected] => int(200)
      ["_header":protected] => object(HTTP_Header)#45 (5) {
        ["_accept_content":protected] => NULL
        ["_accept_charset":protected] => NULL
        ["_accept_encoding":protected] => NULL
        ["_accept_language":protected] => NULL
        ["storage":"ArrayObject":private] => array(0) {
        }
      }
      ["_body":protected] => string(0) ""
      ["_cookies":protected] => array(0) {
      }
      ["_protocol":protected] => 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 callbacks117 		foreach ($this->header_callbacks() as $header => $callback)118 		{119 			if ($response->headers($header))120  
  25. SYSPATH/classes/Kohana/Request.php [ 990 ] » Kohana_Request_Client->execute ( arguments )

    0
    object(Request)#41 (19) {
      ["_requested_with":protected] => NULL
      ["_method":protected] => string(3) "GET"
      ["_protocol":protected] => string(8) "HTTP/1.0"
      ["_secure":protected] => bool(false)
      ["_referrer":protected] => NULL
      ["_route":protected] => object(Route)#38 (5) {
        ["_filters":protected] => array(0) {
        }
        ["_uri":protected] => string(24) "<city>(/<action>(/<id>))"
        ["_regex":protected] => array(2) {
          ["city"] => string(8) "[-_a-z]+"
          ["id"] => string(3) "\d+"
        }
        ["_defaults":protected] => array(2) {
          ["controller"] => string(3) "gis"
          ["action"] => string(5) "index"
        }
        ["_route_regex":protected] => string(71) "#^(?P<city>[-_a-z]+)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>\d+))?)?$#uD"
      }
      ["_routes":protected] => array(0) {
      }
      ["_header":protected] => object(HTTP_Header)#42 (5) {
        ["_accept_content":protected] => NULL
        ["_accept_charset":protected] => NULL
        ["_accept_encoding":protected] => NULL
        ["_accept_language":protected] => NULL
        ["storage":"ArrayObject":private] => array(0) {
        }
      }
      ["_body":protected] => NULL
      ["_directory":protected] => string(0) ""
      ["_controller":protected] => string(3) "Gis"
      ["_action":protected] => string(7) "profile"
      ["_uri":protected] => string(31) "odessa/profile/1970853118379035"
      ["_external":protected] => bool(false)
      ["_params":protected] => array(2) {
        ["city"] => string(6) "odessa"
        ["id"] => string(16) "1970853118379035"
      }
      ["_get":protected] => array(0) {
      }
      ["_post":protected] => array(0) {
      }
      ["_cookies":protected] => array(0) {
      }
      ["_client":protected] => object(Request_Client_Internal)#43 (9) {
        ["_previous_environment":protected] => NULL
        ["_cache":protected] => NULL
        ["_follow":protected] => bool(false)
        ["_follow_headers":protected] => array(1) {
          [0] => string(13) "Authorization"
        }
        ["_strict_redirect":protected] => bool(true)
        ["_header_callbacks":protected] => array(1) {
          ["Location"] => string(34) "Request_Client::on_header_location"
        }
        ["_max_callback_depth":protected] => int(5)
        ["_callback_depth":protected] => int(1)
        ["_callback_params":protected] => 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.996  997 
  26. DOCROOT/index.php [ 118 ] » Kohana_Request->execute ( )

    113 	/**114 	 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO'].115 	 * If no source is specified, the URI will be automatically detected.116 	 */117 	echo Request::factory(TRUE, array(), FALSE)118 		->execute()119 		->send_headers(TRUE)120 		->body();121 }122