HTTP_Exception_404 [ 404 ]
Ошибка 404: Страница товара не найдена

APPPATH/classes/Controller/Goodrequest.php [ 11 ]

 6   7 	public function action_detail(){ 8 		// prepare 9 		$id = $this->request->param('id');10 		$good = ORM::factory('Good',$id);11 		if(!$good->loaded() || $good->quantity > 0) throw new HTTP_Exception_404('Error 404: Good not found');12 		// form13 		$this->view->id = $good->id;14 		$this->view->good = $good->prepare($good);15 		$this->view->post = $_POST;16 		// submit17  
  1. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Goodrequest->action_detail ( )

    79 				array(':uri' => $this->request->uri())80 			)->request($this->request);81 		}82  83 		// Execute the action itself84 		$this->{$action}();85  86 		// Execute the "after action" method87 		$this->after();88  89 		// Return the response90  
  2. {PHP internal call} » Kohana_Controller->execute ( )

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

    0
    object(Controller_Goodrequest)#25 (15) {
      ["template"] => object(View)#27 (3) {
        ["_tmpl":protected] => string(4) "main"
        ["_file":protected] => string(61) "/var/www/radioko6/public_html/application/views/main.mustache"
        ["_data":protected] => array(12) {
          ["title"] => string(32) "РадиоКОТструктор"
          ["description"] => string(76) "Интернет-магазин по продаже радиодеталей"
          ["caption"] => string(0) ""
          ["content"] => &object(View)#29 (3) {
            ["_tmpl":protected] => string(24) "index/Goodrequest/detail"
            ["_file":protected] => string(81) "/var/www/radioko6/public_html/application/views/index/Goodrequest/detail.mustache"
            ["_data":protected] => array(0) {
            }
          }
          ["styles"] => array(1) {
            [0] => string(7) "default"
          }
          ["scripts"] => array(0) {
          }
          ["cart"] => string(0) ""
          ["dclasses"] => string(6) "static"
          ["meta"] => &array(2) {
            ["title"] => string(74) "Запрос уведомления о поступлении товара"
            ["caption"] => string(0) ""
          }
          ["schema"] => &array(0) {
          }
          ["menu_top"] => object(Response)#37 (5) {
            ["_status":protected] => int(200)
            ["_header":protected] => object(HTTP_Header)#38 (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(358) "				<ul>
    					<li><a href="/">Главная</a></li><li><a href="/about.html">О нас</a></li><li><a href="/catalog">Каталог</a></li><li><a href="/delivery">Оплата и Доставка</a></li><li><a href="/avtoram.html">Авторам</a></li><li><a href="/forum">Форум</a></li><li><a href="/contacts">Контакты</a></li>
    				</ul>"
            ["_cookies":protected] => array(0) {
            }
            ["_protocol":protected] => string(8) "HTTP/1.0"
          }
          ["broadclimbes"] => object(Response)#39 (5) {
            ["_status":protected] => int(200)
            ["_header":protected] => object(HTTP_Header)#40 (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(974) "<div class="wrap breadcrumb">
    	<ul class="">
    		<li itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
    			<a href="/" itemprop="url"><span itemprop="title">Главная</span></a>
    		</li><li itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
    			<a href="/catalog" itemprop="url"><span itemprop="title">Каталог</span></a>
    		</li><li itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
    			<a href="/catalog/category/4" itemprop="url"><span itemprop="title">Дом</span></a>
    		</li><li itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
    			<a href="/catalog/good/39" itemprop="url"><span itemprop="title">Термостат с дистанционным управлением</span></a>
    		</li><li itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
    			<a href="/goodrequest/39" itemprop="url"><span itemprop="title">Запрос уведомления о поступлении товара</span></a>
    		</li>
    	</ul>
    </div>"
            ["_cookies":protected] => array(0) {
            }
            ["_protocol":protected] => string(8) "HTTP/1.0"
          }
        }
      }
      ["widgets_folder":protected] => string(6) "widget"
      ["view":protected] => &object(View)#29 (3) {
        ["_tmpl":protected] => string(24) "index/Goodrequest/detail"
        ["_file":protected] => string(81) "/var/www/radioko6/public_html/application/views/index/Goodrequest/detail.mustache"
        ["_data":protected] => array(0) {
        }
      }
      ["sess":protected] => object(Session_Native)#31 (5) {
        ["_name":protected] => string(7) "session"
        ["_lifetime":protected] => int(0)
        ["_encrypted":protected] => bool(false)
        ["_data":protected] => &array(0) {
        }
        ["_destroyed":protected] => bool(false)
      }
      ["auth":protected] => object(Auth_PhpBB)#33 (3) {
        ["_config":protected] => object(Config_Group)#32 (3) {
          ["_parent_instance":protected] => object(Config)#2 (2) {
            ["_sources":protected] => array(1) {
              [0] => object(Config_File)#3 (1) {
                ["_directory":protected] => string(6) "config"
              }
            }
            ["_groups":protected] => array(9) {
              ["userguide"] => object(Config_Group)#5 (3) {
                ["_parent_instance":protected] => *RECURSION*
                ["_group_name":protected] => string(9) "userguide"
                ["storage":"ArrayObject":private] => array(5) {
                  ["modules"] => array(7) {
                    ["kohana"] => array(4) {
                      ["enabled"] => bool(true)
                      ["name"] => string(6) "Kohana"
                      ["description"] => string(37) "Documentation for Kohana core/system."
                      ["copyright"] => string(30) "&copy; 2008–2012 Kohana Team"
                    }
                    ["userguide"] => array(4) {
                      ["enabled"] => bool(true)
                      ["name"] => string(9) "Userguide"
                      ["description"] => string(40) "Documentation viewer and api generation."
                      ["copyright"] => string(30) "&copy; 2008–2012 Kohana Team"
                    }
                    ["orm"] => array(4) {
                      ["enabled"] => bool(true)
                      ["name"] => string(3) "ORM"
                      ["description"] => string(70) "Official ORM module, a modeling library for object relational mapping."
                      ["copyright"] => string(30) "&copy; 2008–2012 Kohana Team"
                    }
                    ["image"] => array(4) {
                      ["enabled"] => bool(true)
                      ["name"] => string(5) "Image"
                      ["description"] => string(19) "Image manipulation."
                      ["copyright"] => string(30) "&copy; 2008–2012 Kohana Team"
                    }
                    ["database"] => array(4) {
                      ["enabled"] => bool(true)
                      ["name"] => string(8) "Database"
                      ["description"] => string(49) "Database agnostic querying and result management."
                      ["copyright"] => string(30) "&copy; 2008–2012 Kohana Team"
                    }
                    ["cache"] => array(4) {
                      ["enabled"] => bool(true)
                      ["name"] => string(5) "Cache"
                      ["description"] => string(37) "Common interface for caching engines."
                      ["copyright"] => string(30) "&copy; 2008–2012 Kohana Team"
                    }
                    ["auth"] => array(4) {
                      ["enabled"] => bool(true)
                      ["name"] => string(4) "Auth"
                      ["description"] => string(38) "User authentication and authorization."
                      ["copyright"] => string(30) "&copy; 2008–2012 Kohana Team"
                    }
                  }
                  ["api_browser"] => bool(true)
                  ["api_packages"] => bool(true)
                  ["show_comments"] => bool(false)
                  ["transparent_prefixes"] => array(1) {
                    ["Kohana"] => bool(true)
                  }
                }
              }
              ["profilertoolbar"] => object(Config_Group)#8 (3) {
                ["_parent_instance":protected] => *RECURSION*
                ["_group_name":protected] => string(15) "profilertoolbar"
                ["storage":"ArrayObject":private] => array(4) {
                  ["html"] => array(10) {
                    ["enabled"] => bool(true)
                    ["showTotalInfo"] => bool(true)
                    ["showSql"] => bool(true)
                    ["showSqlExplain"] => bool(true)
                    ["showCache"] => bool(true)
                    ["showVars"] => bool(true)
                    ["showRoutes"] => bool(true)
                    ["showIncFiles"] => bool(true)
                    ["showCustom"] => bool(true)
                    ["highlightSQL"] => bool(true)
                  }
                  ["firebug"] => array(13) {
                    ["enabled"] => bool(true)
                    ["showEverywhere"] => bool(true)
                    ["showTotalInfo"] => bool(true)
                    ["showSql"] => bool(true)
                    ["showSqlExplain"] => bool(true)
                    ["showCache"] => bool(true)
                    ["showVars"] => bool(true)
                    ["showRoutes"] => bool(true)
                    ["showIncFiles"] => bool(true)
                    ["showCustom"] => bool(true)
                    ["maxObjectDepth"] => int(5)
                    ["maxArrayDepth"] => int(5)
                    ["maxDepth"] => int(10)
                  }
                  ["errorPage"] => array(2) {
                    ["highlightSQL"] => bool(true)
                    ["highlightPHP"] => bool(true)
                  }
                  ["format"] => array(2) {
                    ["time"] => string(1) "s"
                    ["memory"] => string(2) "kb"
                  }
                }
              }
              ["common"] => object(Config_Group)#28 (3) {
                ["_parent_instance":protected] => *RECURSION*
                ["_group_name":protected] => string(6) "common"
                ["storage":"ArrayObject":private] => array(6) {
                  ["site_name"] => string(32) "РадиоКОТструктор"
                  ["site_description"] => string(76) "Интернет-магазин по продаже радиодеталей"
                  ["admin_email"] => string(25) "admin@radiokotstruktor.ru"
                  ["tech__email"] => string(25) "admin@radiokotstruktor.ru"
                  ["currency"] => array(1) {
                    ["icon"] => string(7) "&#8399;"
                  }
                  ["send_order"] => bool(true)
                }
              }
              ["session"] => object(Config_Group)#30 (3) {
                ["_parent_instance":protected] => *RECURSION*
                ["_group_name":protected] => string(7) "session"
                ["storage":"ArrayObject":private] => array(2) {
                  ["cookie"] => array(1) {
                    ["encrypted"] => bool(false)
                  }
                  ["database"] => array(4) {
                    ["group"] => string(7) "default"
                    ["table"] => string(8) "sessions"
                    ["gc"] => int(500)
                    ["columns"] => array(3) {
                      ["session_id"] => string(10) "session_id"
                      ["last_active"] => string(11) "last_active"
                      ["contents"] => string(8) "contents"
                    }
                  }
                }
              }
              ["auth"] => *RECURSION*
              ["mustache"] => object(Config_Group)#43 (3) {
                ["_parent_instance":protected] => *RECURSION*
                ["_group_name":protected] => string(8) "mustache"
                ["storage":"ArrayObject":private] => array(5) {
                  ["cache_file_mode"] => int(438)
                  ["loader"] => object(Mustache_Loader_FilesystemLoader)#44 (3) {
                    ["baseDir":"Mustache_Loader_FilesystemLoader":private] => string(47) "/var/www/radioko6/public_html/application/views"
                    ["extension":"Mustache_Loader_FilesystemLoader":private] => string(9) ".mustache"
                    ["templates":"Mustache_Loader_FilesystemLoader":private] => array(2) {
                      ["widget/menu"] => string(178) "				<ul>
    					{{#items}}<li{{#active}} class="active"{{/active}}><a href="{{base_url}}{{link}}">{{{title}}}</a>{{#children}}{{>widget/menu}}{{/children}}</li>{{/items}}
    				</ul>"
                      ["widget/broadclimbes"] => string(245) "<div class="wrap breadcrumb">
    	<ul class="">
    		{{#items}}<li itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
    			<a href="{{base_url}}{{link}}" itemprop="url"><span itemprop="title">{{title}}</span></a>
    		</li>{{/items}}
    	</ul>
    </div>"
                    }
                  }
                  ["cache"] => string(57) "/var/www/radioko6/public_html/application//cache/mustache"
                  ["cache_lambda_templates"] => bool(true)
                  ["partials_loader"] => object(Mustache_Loader_FilesystemLoader)#45 (3) {
                    ["baseDir":"Mustache_Loader_FilesystemLoader":private] => string(47) "/var/www/radioko6/public_html/application/views"
                    ["extension":"Mustache_Loader_FilesystemLoader":private] => string(9) ".mustache"
                    ["templates":"Mustache_Loader_FilesystemLoader":private] => array(0) {
                    }
                  }
                }
              }
              ["database"] => object(Config_Group)#55 (3) {
                ["_parent_instance":protected] => *RECURSION*
                ["_group_name":protected] => string(8) "database"
                ["storage":"ArrayObject":private] => array(3) {
                  ["default"] => array(5) {
                    ["type"] => string(6) "MySQLi"
                    ["connection"] => array(7) {
                      ["hostname"] => string(9) "localhost"
                      ["database"] => string(20) "radioko6_kotstruktor"
                      ["username"] => string(12) "radioko6_kot"
                      ["password"] => string(12) "_5++,txB23Ws"
                      ["persistent"] => bool(false)
                      ["port"] => NULL
                      ["socket"] => NULL
                    }
                    ["table_prefix"] => string(0) ""
                    ["charset"] => string(4) "utf8"
                    ["caching"] => bool(false)
                  }
                  ["alternate"] => array(5) {
                    ["type"] => string(3) "PDO"
                    ["connection"] => array(4) {
                      ["dsn"] => string(34) "mysql:host=localhost;dbname=kohana"
                      ["username"] => string(4) "root"
                      ["password"] => string(6) "r00tdb"
                      ["persistent"] => bool(false)
                    }
                    ["table_prefix"] => string(0) ""
                    ["charset"] => string(4) "utf8"
                    ["caching"] => bool(false)
                  }
                  ["forum"] => array(5) {
                    ["type"] => string(6) "MySQLi"
                    ["connection"] => array(6) {
                      ["hostname"] => string(9) "localhost"
                      ["database"] => string(18) "radioko6_kotoforum"
                      ["username"] => string(14) "radioko6_forum"
                      ["password"] => string(12) "E9TGW2nemr4p"
                      ["port"] => NULL
                      ["socket"] => NULL
                    }
                    ["table_prefix"] => string(6) "phpbb_"
                    ["charset"] => string(4) "utf8"
                    ["caching"] => bool(true)
                  }
                }
              }
              ["inflector"] => object(Config_Group)#35 (3) {
                ["_parent_instance":protected] => *RECURSION*
                ["_group_name":protected] => string(9) "inflector"
                ["storage":"ArrayObject":private] => array(2) {
                  ["uncountable"] => array(44) {
                    [0] => string(6) "access"
                    [1] => string(6) "advice"
                    [2] => string(8) "aircraft"
                    [3] => string(3) "art"
                    [4] => string(7) "baggage"
                    [5] => string(5) "bison"
                    [6] => string(6) "dances"
                    [7] => string(4) "deer"
                    [8] => string(9) "equipment"
                    [9] => string(4) "fish"
                    [10] => string(4) "fuel"
                    [11] => string(9) "furniture"
                    [12] => string(4) "heat"
                    [13] => string(5) "honey"
                    [14] => string(8) "homework"
                    [15] => string(10) "impatience"
                    [16] => string(11) "information"
                    [17] => string(9) "knowledge"
                    [18] => string(7) "luggage"
                    [19] => string(5) "media"
                    [20] => string(5) "money"
                    [21] => string(5) "moose"
                    [22] => string(5) "music"
                    [23] => string(4) "news"
                    [24] => string(8) "patience"
                    [25] => string(8) "progress"
                    [26] => string(9) "pollution"
                    [27] => string(8) "research"
                    [28] => string(4) "rice"
                    [29] => string(6) "salmon"
                    [30] => string(4) "sand"
                    [31] => string(6) "series"
                    [32] => string(5) "sheep"
                    [33] => string(3) "sms"
                    [34] => string(4) "spam"
                    [35] => string(7) "species"
                    [36] => string(5) "staff"
                    [37] => string(5) "swine"
                    [38] => string(10) "toothpaste"
                    [39] => string(7) "traffic"
                    [40] => string(13) "understanding"
                    [41] => string(5) "water"
                    [42] => string(7) "weather"
                    [43] => string(4) "work"
                  }
                  ["irregular"] => array(44) {
                    ["appendix"] => string(10) "appendices"
                    ["cactus"] => string(5) "cacti"
                    ["calf"] => string(6) "calves"
                    ["child"] => string(8) "children"
                    ["crisis"] => string(6) "crises"
                    ["criterion"] => string(8) "criteria"
                    ["curriculum"] => string(9) "curricula"
                    ["diagnosis"] => string(9) "diagnoses"
                    ["elf"] => string(5) "elves"
                    ["ellipsis"] => string(8) "ellipses"
                    ["foot"] => string(4) "feet"
                    ["goose"] => string(5) "geese"
                    ["hero"] => string(6) "heroes"
                    ["hoof"] => string(6) "hooves"
                    ["hypothesis"] => string(10) "hypotheses"
                    ["is"] => string(3) "are"
                    ["knife"] => string(6) "knives"
                    ["leaf"] => string(6) "leaves"
                    ["life"] => string(5) "lives"
                    ["loaf"] => string(6) "loaves"
                    ["man"] => string(3) "men"
                    ["mouse"] => string(4) "mice"
                    ["nucleus"] => string(6) "nuclei"
                    ["oasis"] => string(5) "oases"
                    ["octopus"] => string(6) "octopi"
                    ["ox"] => string(4) "oxen"
                    ["paralysis"] => string(9) "paralyses"
                    ["parenthesis"] => string(11) "parentheses"
                    ["person"] => string(6) "people"
                    ["phenomenon"] => string(9) "phenomena"
                    ["potato"] => string(8) "potatoes"
                    ["quiz"] => string(7) "quizzes"
                    ["radius"] => string(5) "radii"
                    ["scarf"] => string(7) "scarves"
                    ["stimulus"] => string(7) "stimuli"
                    ["syllabus"] => string(7) "syllabi"
                    ["synthesis"] => string(9) "syntheses"
                    ["thief"] => string(7) "thieves"
                    ["tooth"] => string(5) "teeth"
                    ["was"] => string(4) "were"
                    ["wharf"] => string(7) "wharves"
                    ["wife"] => string(5) "wives"
                    ["woman"] => string(5) "women"
                    ["release"] => string(8) "releases"
                  }
                }
              }
              ["cache"] => object(Config_Group)#36 (3) {
                ["_parent_instance":protected] => *RECURSION*
                ["_group_name":protected] => string(5) "cache"
                ["storage":"ArrayObject":private] => array(1) {
                  ["file"] => array(4) {
                    ["driver"] => string(4) "file"
                    ["cache_dir"] => string(47) "/var/www/radioko6/public_html/application/cache"
                    ["default_expire"] => int(3600)
                    ["ignore_on_delete"] => array(3) {
                      [0] => string(10) ".gitignore"
                      [1] => string(4) ".git"
                      [2] => string(4) ".svn"
                    }
                  }
                }
              }
            }
          }
          ["_group_name":protected] => string(4) "auth"
          ["storage":"ArrayObject":private] => array(10) {
            ["driver"] => string(5) "phpBB"
            ["hash_method"] => string(6) "sha256"
            ["hash_key"] => NULL
            ["lifetime"] => int(1209600)
            ["session_type"] => string(6) "native"
            ["session_key"] => string(9) "auth_user"
            ["users"] => array(1) {
              ["admin"] => string(50) "b3154acf3a344170077d11bdb5fff31532f679a1919e716a02"
            }
            ["connection"] => string(5) "forum"
            ["cookie_name"] => string(12) "phpbb3_jvzvr"
            ["log_in_url"] => string(51) "http://radiokotstruktor.ru/forum/ucp.php?mode=login"
          }
        }
        ["_cookie_data":protected] => array(3) {
          ["k"] => NULL
          ["u"] => NULL
          ["sid"] => NULL
        }
        ["_session":protected] => object(Session_Native)#31 (5) {
          ["_name":protected] => string(7) "session"
          ["_lifetime":protected] => int(0)
          ["_encrypted":protected] => bool(false)
          ["_data":protected] => &array(0) {
          }
          ["_destroyed":protected] => bool(false)
        }
      }
      ["user":protected] => NULL
      ["menu_action":protected] => string(3) "top"
      ["findtmpl_in":protected] => string(5) "index"
      ["meta":protected] => &array(2) {
        ["title"] => string(74) "Запрос уведомления о поступлении товара"
        ["caption"] => string(0) ""
      }
      ["styles":protected] => array(0) {
      }
      ["scripts":protected] => array(0) {
      }
      ["schema":protected] => &array(0) {
      }
      ["auto_render"] => bool(true)
      ["request"] => object(Request)#21 (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)#19 (5) {
          ["_filters":protected] => array(0) {
          }
          ["_uri":protected] => string(17) "<controller>/<id>"
          ["_regex":protected] => array(2) {
            ["controller"] => string(3) "\w+"
            ["id"] => string(3) "\d+"
          }
          ["_defaults":protected] => array(2) {
            ["controller"] => string(4) "main"
            ["action"] => string(6) "detail"
          }
          ["_route_regex":protected] => string(37) "#^(?P<controller>\w+)/(?P<id>\d+)$#uD"
        }
        ["_routes":protected] => array(0) {
        }
        ["_header":protected] => object(HTTP_Header)#6 (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(11) "Goodrequest"
        ["_action":protected] => string(6) "detail"
        ["_uri":protected] => string(14) "goodrequest/39"
        ["_external":protected] => bool(false)
        ["_params":protected] => array(1) {
          ["id"] => string(2) "39"
        }
        ["_get":protected] => array(0) {
        }
        ["_post":protected] => array(0) {
        }
        ["_cookies":protected] => array(0) {
        }
        ["_client":protected] => object(Request_Client_Internal)#4 (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)#22 (5) {
        ["_status":protected] => int(200)
        ["_header":protected] => object(HTTP_Header)#23 (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] => string(8) "HTTP/1.0"
      }
    }
    
     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  
  4. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request ( arguments )

    0
    object(Request)#21 (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)#19 (5) {
        ["_filters":protected] => array(0) {
        }
        ["_uri":protected] => string(17) "<controller>/<id>"
        ["_regex":protected] => array(2) {
          ["controller"] => string(3) "\w+"
          ["id"] => string(3) "\d+"
        }
        ["_defaults":protected] => array(2) {
          ["controller"] => string(4) "main"
          ["action"] => string(6) "detail"
        }
        ["_route_regex":protected] => string(37) "#^(?P<controller>\w+)/(?P<id>\d+)$#uD"
      }
      ["_routes":protected] => array(0) {
      }
      ["_header":protected] => object(HTTP_Header)#6 (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(11) "Goodrequest"
      ["_action":protected] => string(6) "detail"
      ["_uri":protected] => string(14) "goodrequest/39"
      ["_external":protected] => bool(false)
      ["_params":protected] => array(1) {
        ["id"] => string(2) "39"
      }
      ["_get":protected] => array(0) {
      }
      ["_post":protected] => array(0) {
      }
      ["_cookies":protected] => array(0) {
      }
      ["_client":protected] => object(Request_Client_Internal)#4 (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)#22 (5) {
      ["_status":protected] => int(200)
      ["_header":protected] => object(HTTP_Header)#23 (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] => string(8) "HTTP/1.0"
    }
    
    109 		$orig_response = $response = Response::factory(array('_protocol' => $request->protocol()));110  111 		if (($cache = $this->cache()) instanceof HTTP_Cache)112 			return $cache->execute($this, $request, $response);113  114 		$response = $this->execute_request($request, $response);115  116 		// Execute response callbacks117 		foreach ($this->header_callbacks() as $header => $callback)118 		{119 			if ($response->headers($header))120  
  5. SYSPATH/classes/Kohana/Request.php [ 986 ] » Kohana_Request_Client->execute ( arguments )

    0
    object(Request)#21 (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)#19 (5) {
        ["_filters":protected] => array(0) {
        }
        ["_uri":protected] => string(17) "<controller>/<id>"
        ["_regex":protected] => array(2) {
          ["controller"] => string(3) "\w+"
          ["id"] => string(3) "\d+"
        }
        ["_defaults":protected] => array(2) {
          ["controller"] => string(4) "main"
          ["action"] => string(6) "detail"
        }
        ["_route_regex":protected] => string(37) "#^(?P<controller>\w+)/(?P<id>\d+)$#uD"
      }
      ["_routes":protected] => array(0) {
      }
      ["_header":protected] => object(HTTP_Header)#6 (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(11) "Goodrequest"
      ["_action":protected] => string(6) "detail"
      ["_uri":protected] => string(14) "goodrequest/39"
      ["_external":protected] => bool(false)
      ["_params":protected] => array(1) {
        ["id"] => string(2) "39"
      }
      ["_get":protected] => array(0) {
      }
      ["_post":protected] => array(0) {
      }
      ["_cookies":protected] => array(0) {
      }
      ["_client":protected] => object(Request_Client_Internal)#4 (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) {
        }
      }
    }
    
    981 			throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array(982 				':uri' => $this->_uri,983 			));984 		}985  986 		return $this->_client->execute($this);987 	}988  989 	/**990 	 * Returns whether this request is the initial request Kohana received.991 	 * Can be used to test for sub requests.992 
  6. 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