APPPATH/classes/HTTP/Exception/404.php [ 167 ]
162 //$this->template->canonical_url = NULL;
163
164 $test_canonical = explode('?',$_SERVER['REQUEST_URI']);
165 if(isset($test_canonical[1]) && strlen($test_canonical[1]) > 0)
166 {
167 $this->template->canonical_url = $test_canonical[0];
168 }
169
170 //$this->template->breadcrumbs = array();
171 //$this->template->content = NULL;
172
-
APPPATH/classes/HTTP/Exception/404.php [ 167 ] » Kohana_Core::error_handler(arguments)
0
integer 2
1
string(56) "Attempt to assign property 'canonical_url' of non-object"
2
string(88) "/var/www/daryvostoka/data/www/dary-vostoka.ru/application/classes/HTTP/Exception/404.php"
3
integer 167
4
array(17) ( "settings" => object Config_Group(8)
{ public site_name => string(23) "Дары Востока" public site_description => string(23) "Дары Востока" public admin_email => string(20) "info@dary-vostoka.ru" public email => string(21) "store@dary-vostoka.ru" public phone1 => string(16) "+7 925 187-69-72" public phone2 => string(16) "+7 963 999-25-06" public adress1 => string(20) "127550, Москва" public adress2 => string(43) "ул. Прянишникова, дом 23А" }
"sql_partners" => string(66) "SELECT `id` FROM `partners` WHERE `status` = 1 AND `region_id` = 5" "res_partners" => array(1) ( 0 => array(1) ( "id" => string(1) "5" ) ) "rp" => array(1) ( "id" => string(1) "5" ) "sql_depots" => string(118) "SELECT c2.`id` FROM `region_depot` AS c1 INNER JOIN `depots` AS c2 ON c2.`id` = c1.`depot_id` WHERE c1.`region_id` = 5" "res_depots" => array(1) ( 0 => array(1) ( "id" => string(1) "7" ) ) "rd" => array(1) ( "id" => string(1) "7" ) "sql_cats" => string(98) "SELECT * FROM `categories` WHERE `parent_id` > 0 AND `status` > 0 AND `lvl` = 1 ORDER BY `lft` ASC" "res_cats" => array(5) ( 0 => array(18) ( "id" => string(3) "514" "title" => string(6) "Чай" "alias" => string(4) "chaj" "nn_cat" => string(0) "" "nn_title" => string(0) "" "nn_descr" => string(0) "" "parent_id" => string(1) "1" "lft" => string(1) "2" "rgt" => string(1) "9" "lvl" => string(1) "1" "status" => string(1) "1" "link" => NULL "vlt_name" => NULL "unit" => string(1) "4" "upd_features" => string(1) "0" "old_id" => string(1) "1" "created_at" => string(19) "2020-10-13 19:04:57" "updated_at" => string(19) "2020-10-13 19:04:57" ) 1 => array(18) ( "id" => string(3) "524" "title" => string(10) "Какао" "alias" => string(11) "kakao-group" "nn_cat" => string(0) "" "nn_title" => string(0) "" "nn_descr" => string(0) "" "parent_id" => string(1) "1" "lft" => string(2) "22" "rgt" => string(2) "25" "lvl" => string(1) "1" "status" => string(1) "1" "link" => NULL "vlt_name" => NULL "unit" => string(1) "4" "upd_features" => string(1) "0" "old_id" => string(2) "62" "created_at" => string(19) "2020-10-13 19:09:09" "updated_at" => string(19) "2020-10-13 19:09:09" ) 2 => array(18) ( "id" => string(3) "526" "title" => string(16) "Сладости" "alias" => string(8) "sladosti" "nn_cat" => string(0) "" "nn_title" => string(0) "" "nn_descr" => string(0) "" "parent_id" => string(1) "1" "lft" => string(2) "26" "rgt" => string(2) "37" "lvl" => string(1) "1" "status" => string(1) "1" "link" => NULL "vlt_name" => NULL "unit" => string(1) "4" "upd_features" => string(1) "0" "old_id" => string(2) "43" "created_at" => string(19) "2020-10-13 19:09:58" "updated_at" => string(19) "2020-10-13 19:09:58" ) 3 => array(18) ( "id" => string(3) "532" "title" => string(14) "Бакалея" "alias" => string(8) "bakaleya" "nn_cat" => string(0) "" "nn_title" => string(0) "" "nn_descr" => string(0) "" "parent_id" => string(1) "1" "lft" => string(2) "38" "rgt" => string(2) "45" "lvl" => string(1) "1" "status" => string(1) "1" "link" => NULL "vlt_name" => NULL "unit" => string(1) "4" "upd_features" => string(1) "0" "old_id" => string(2) "21" "created_at" => string(19) "2020-10-13 19:12:07" "updated_at" => string(19) "2020-10-13 19:12:07" ) 4 => array(18) ( "id" => string(3) "536" "title" => string(8) "Кофе" "alias" => string(10) "kofe-group" "nn_cat" => string(0) "" "nn_title" => string(0) "" "nn_descr" => string(0) "" "parent_id" => string(1) "1" "lft" => string(2) "46" "rgt" => string(2) "49" "lvl" => string(1) "1" "status" => string(1) "1" "link" => NULL "vlt_name" => NULL "unit" => string(1) "4" "upd_features" => string(1) "0" "old_id" => string(2) "57" "created_at" => string(19) "2020-10-13 19:13:33" "updated_at" => string(19) "2020-10-13 19:13:33" ) ) "rc" => array(18) ( "id" => string(3) "536" "title" => string(8) "Кофе" "alias" => string(10) "kofe-group" "nn_cat" => string(0) "" "nn_title" => string(0) "" "nn_descr" => string(0) "" "parent_id" => string(1) "1" "lft" => string(2) "46" "rgt" => string(2) "49" "lvl" => string(1) "1" "status" => string(1) "1" "link" => NULL "vlt_name" => NULL "unit" => string(1) "4" "upd_features" => string(1) "0" "old_id" => string(2) "57" "created_at" => string(19) "2020-10-13 19:13:33" "updated_at" => string(19) "2020-10-13 19:13:33" ) "sql_children" => string(94) "SELECT * FROM `categories` WHERE `lft` > 46 AND `rgt` < 49 AND `status` > 0 ORDER BY `lft` ASC" "res_children" => array(1) ( 0 => array(18) ( "id" => string(3) "537" "title" => string(15) "Кофе 3 в 1" "alias" => string(10) "kofe_3_v_1" "nn_cat" => string(0) "" "nn_title" => string(0) "" "nn_descr" => string(0) "" "parent_id" => string(3) "536" "lft" => string(2) "47" "rgt" => string(2) "48" "lvl" => string(1) "2" "status" => string(1) "1" "link" => NULL "vlt_name" => NULL "unit" => string(1) "4" "upd_features" => string(1) "0" "old_id" => string(2) "54" "created_at" => string(19) "2020-10-13 19:13:52" "updated_at" => string(19) "2020-10-13 19:13:52" ) ) "nowdate" => integer 1711721566 "now_hour" => integer 17 "cart" => NULL "cart_cookie" => NULL "test_canonical" => array(2) ( 0 => string(10) "/index.php" 1 => string(13) "productid=311" ) )162 //$this->template->canonical_url = NULL; 163 164 $test_canonical = explode('?',$_SERVER['REQUEST_URI']); 165 if(isset($test_canonical[1]) && strlen($test_canonical[1]) > 0) 166 { 167 $this->template->canonical_url = $test_canonical[0]; 168 } 169 170 //$this->template->breadcrumbs = array(); 171 //$this->template->content = NULL; 172
-
SYSPATH/classes/Kohana/Request.php [ 990 ] » HTTP_Exception_404->get_response()
985 if ( ! $this->_route instanceof Route) 986 { 987 return HTTP_Exception::factory(404, 'Unable to find a route to match the URI: :uri', [ 988 ':uri' => $this->_uri, 989 ])->request($this) 990 ->get_response(); 991 } 992 993 if ( ! $this->_client instanceof Request_Client) 994 { 995 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', [
-
DOCROOT/public/index.php [ 136 ] » Kohana_Request->execute()
131 /** 132 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 133 * If no source is specified, the URI will be automatically detected. 134 */ 135 echo Request::factory(TRUE, [], FALSE) 136 ->execute() 137 ->send_headers(TRUE) 138 ->body(); 139 }