DOCROOT/cms/1.1.1-seonolang/seo/classes/Route.php [ 127 ]
122 //echo '<br>';
123 //echo $request->uri();exit;
124 // Egyebkent megnezzuk, hogy helyes-e a sorrend, ha nem redirect
125 if ($correctUri !== $request->uri())
126 {
127 header("HTTP/1.1 301 Moved Permanently");
128 header("Location: ".URL::site($correctUri,TRUE)."/");
129 exit;
130 }
131 }
132 }
-
{PHP internal call} » Kohana_Core::error_handler(arguments)
0integer 2
1string(156) "Cannot modify header information - headers already sent by (output started at /home/dasl1/homeinfo.hu/public_html/assets/homeinf …"2string(86) "/home/dasl1/homeinfo.hu/public_html/termekek/cms/1.1.1-seonolang/seo/classes/Route.php"3integer 127
4array(10) ( "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 => NULL protected _routes => array(0) protected _header => object HTTP_Header(0)"uriParts" => array(2) ( "tobbszinu" => integer 0 "legolcsobbak" => integer 1 ) "uri" => string(25) "gyertyak-es-gyertyatartok" "kereses" => NULL "artol" => NULL "arig" => NULL "target" => string(17) "hu/menu/full/136/" "uriNew" => array(2) ( 0 => string(25) "gyertyak-es-gyertyatartok" 1 => string(12) "legolcsobbak" ) "category_id" => NULL "correctUri" => string(38) "gyertyak-es-gyertyatartok/legolcsobbak" ){ }protected _body => NULL protected _directory => string(0) "" protected _controller => NULL protected _action => NULL protected _uri => string(48) "gyertyak-es-gyertyatartok/tobbszinu/legolcsobbak" protected _external => bool FALSE protected _params => array(0) protected _get => array(0) protected _post => array(0) protected _cookies => array(1) ( "homeinfo" => NULL ) 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) }} -
DOCROOT/cms/1.1.1-seonolang/seo/classes/Route.php [ 127 ] » header(arguments)
headerstring(30) "HTTP/1.1 301 Moved Permanently"122 //echo '<br>'; 123 //echo $request->uri();exit; 124 // Egyebkent megnezzuk, hogy helyes-e a sorrend, ha nem redirect 125 if ($correctUri !== $request->uri()) 126 { 127 header("HTTP/1.1 301 Moved Permanently"); 128 header("Location: ".URL::site($correctUri,TRUE)."/"); 129 exit; 130 } 131 } 132 } -
SYSPATH/classes/Kohana/Request.php [ 466 ] » Route->matches(arguments)
0object 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 => NULL protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => NULL protected _action => NULL protected _uri => string(48) "gyertyak-es-gyertyatartok/tobbszinu/legolcsobbak" protected _external => bool FALSE protected _params => array(0) protected _get => array(0) protected _post => array(0) protected _cookies => array(1) ( "homeinfo" => NULL ) 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) }}461 $params = NULL; 462 463 foreach ($routes as $name => $route) 464 { 465 // We found something suitable 466 if ($params = $route->matches($request)) 467 { 468 return array( 469 'params' => $params, 470 'route' => $route, 471 ); -
SYSPATH/classes/Kohana/Request.php [ 938 ] » Kohana_Request::process(arguments)
0object 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 => NULL protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => NULL protected _action => NULL protected _uri => string(48) "gyertyak-es-gyertyatartok/tobbszinu/legolcsobbak" protected _external => bool FALSE protected _params => array(0) protected _get => array(0) protected _post => array(0) protected _cookies => array(1) ( "homeinfo" => NULL ) 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) }}1array(6) ( "sitemap_index" => object Route(5)
{ protected _filters => array(0) protected _uri => string(19) "sitemap.xml(<gzip>)" protected _regex => array(1) ( "gzip" => string(4) "\.gz" ) protected _defaults => array(2) ( "controller" => string(7) "sitemap" "action" => string(5) "index" ) protected _route_regex => string(37) "#^sitemap\.xml(?:(?P<gzip>\.gz))?$#uD" }"sitemap" => object Route(5){ protected _filters => array(0) protected _uri => string(29) "<action>-<number>.xml(<gzip>)" protected _regex => array(3) ( "action" => string(7) "[a-z]++" "number" => string(7) "[0-9]++" "gzip" => string(4) "\.gz" ) protected _defaults => array(1) ( "controller" => string(7) "sitemap" ) protected _route_regex => string(69) "#^(?P<action>[a-z]++)-(?P<number>[0-9]++)\.xml(?:(?P<gzip>\.gz))?$#uD" }"ajax" => object Route(5){ protected _filters => array(0) protected _uri => string(52) "<lang>/admin/<controller>/ajax(/<ajaxaction>(/<id>))" protected _regex => array(1) ( "lang" => string(4) "(hu)" ) protected _defaults => array(4) ( "lang" => string(2) "hu" "directory" => string(5) "admin" "controller" => string(4) "home" "action" => string(4) "ajax" ) protected _route_regex => string(120) "#^(?P<lang>(hu))/admin/(?P<controller>[^/.,;?\n]++)/ajax(?:/(?P<ajaxaction>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?$#uD" }"admin" => object Route(5){ protected _filters => array(0) protected _uri => string(45) "<lang>/admin(/<controller>(/<action>(/<id>)))" protected _regex => array(1) ( "lang" => string(4) "(hu)" ) protected _defaults => array(4) ( "lang" => string(2) "hu" "directory" => string(5) "admin" "controller" => string(4) "home" "action" => string(5) "index" ) protected _route_regex => string(116) "#^(?P<lang>(hu))/admin(?:/(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }"click" => object Route(5){ protected _filters => array(0) protected _uri => string(93) "<controller>/<action>/<offer_id>/<position>/<items_per_page>/<current_page>/<view>/<track_id>" protected _regex => array(6) ( "offer_id" => string(3) "\d+" "position" => string(3) "\d+" "items_per_page" => string(3) "\d+" "current_page" => string(3) "\d+" "view" => string(6) "[a-z]+" "track_id" => string(60) "[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}" ) protected _defaults => array(2) ( "controller" => string(5) "offer" "action" => string(5) "click" ) protected _route_regex => string(233) "#^(?P<controller>[^/.,;?\n]++)/(?P<action>[^/.,;?\n]++)/(?P<offer_id>\d+)/(?P<position>\d+)/(?P<items_per_page>\d+)/(?P<current_ …" }"default" => object Route(5){ protected _filters => array(0) protected _uri => string(41) "(<lang>(/<controller>(/<action>(/<id>))))" protected _regex => array(2) ( "lang" => string(4) "(hu)" "id" => string(2) ".+" ) protected _defaults => array(3) ( "lang" => string(2) "hu" "controller" => string(4) "home" "action" => string(7) "default" ) protected _route_regex => string(105) "#^(?:(?P<lang>(hu))(?:/(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>.+))?)?)?)?$#uD" })933 */ 934 public function execute() 935 { 936 if ( ! $this->_external) 937 { 938 $processed = Request::process($this, $this->_routes); 939 940 if ($processed) 941 { 942 // Store the matching route 943 $this->_route = $processed['route']; -
DOCROOT/index.php [ 128 ] » Kohana_Request->execute()
123 /** 124 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 125 * If no source is specified, the URI will be automatically detected. 126 */ 127 echo Request::factory(TRUE, array(), FALSE) 128 ->execute() 129 ->send_headers(TRUE) 130 ->body(); 131 }