APPPATH/classes/Controller/Product.php [ 32 ]
27
28 // Get page META data
29 //$aMeta = Model_Seo::getAll();
30 $aMeta = array();
31 // Set the seo data
32 $this->template->title = $oView->oLocalePage->sMetaTitle ? $oView->oLocalePage->sMetaTitle : Arr::get($aMeta, 'title');
33 $this->template->description = $oView->oLocalePage->sDescription ? $oView->oLocalePage->sDescription : Arr::get($aMeta, 'description');
34 $this->template->keywords = $oView->oLocalePage->sKeywords ? $oView->oLocalePage->sKeywords : Arr::get($aMeta, 'keywords');
35
36 // Redirect to home when a invalid page is requested
37 if(!$oView->oLocalePage || !$oView->oLocalePage->loaded()) {
-
APPPATH/classes/Controller/Product.php [ 32 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(36) "Trying to get property of non-object"
2
string(77) "/home/raffa/public_html/non-public/application/classes/Controller/Product.php"
3
integer 32
4
array(3) ( "oView" => object View(2)
{ protected _file => string(72) "/home/raffa/public_html/non-public/application/views/website/product.php" protected _data => array(1) ( "oLocalePage" => NULL ) }
"id" => integer 0 "aMeta" => array(0) )27 28 // Get page META data 29 //$aMeta = Model_Seo::getAll(); 30 $aMeta = array(); 31 // Set the seo data 32 $this->template->title = $oView->oLocalePage->sMetaTitle ? $oView->oLocalePage->sMetaTitle : Arr::get($aMeta, 'title'); 33 $this->template->description = $oView->oLocalePage->sDescription ? $oView->oLocalePage->sDescription : Arr::get($aMeta, 'description'); 34 $this->template->keywords = $oView->oLocalePage->sKeywords ? $oView->oLocalePage->sKeywords : Arr::get($aMeta, 'keywords'); 35 36 // Redirect to home when a invalid page is requested 37 if(!$oView->oLocalePage || !$oView->oLocalePage->loaded()) {
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Product->action_index()
79 array(':uri' => $this->request->uri()) 80 )->request($this->request); 81 } 82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 95 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Product(49)
{ public template => object View(2)
{ protected _file => string(73) "/home/raffa/public_html/non-public/application/views/template.default.php" protected _data => array(12) ( "title" => string(39) "Raffa, meubels en projecten in Den Haag" "description" => string(126) "Raffa Meubels maakt maaktwerk meubelen van hout of bijzondere materialen. Geen idee is te gek en geen materiaal is ons vreemd!" "keywords" => string(154) "meubel, kast, maatwerk meubel, maatwerk meubelen, den haag,interieur, stijl, design meubel, meubelmaker, meubel maker, winkelinr …" "bGoogleMap" => bool FALSE "bMilkBox" => bool FALSE "oController" => object Controller_Product(49) { *RECURSION* } "navigation" => string(1130) " <ul> <li class="firstChild "> <a href="https://www.raffa.nl/contact/">contact</a> <ul> <li class="firstC …" "subNavigation" => string(0) "" "googleAnalytics" => NULL "ogImage" => string(0) "" "ogSiteName" => string(0) "" "locales" => string(126) " <div class="first"> <a href="/"> <img src="/public/images/inzite/flags/nl.png" alt="NL" width="16"> </a> </div> " ) }
public sContent => NULL public _module => NULL public _controller => string(7) "Product" public _type => string(0) "" public _model => string(7) "Product" public sAction => string(5) "index" public aAcl => array(0) public bMobile => bool FALSE public bSecure => bool TRUE public bCms => bool FALSE public bAjax => bool FALSE public bPreview => bool FALSE public iPageId => integer 0 public aPageIds => array(0) public aPageNames => array(0) public bPageNotFound => bool TRUE public iLocaleId => integer 1 public sLocale => string(5) "nl_NL" public iLocaleIdDefault => integer 1 public sLocaleDefault => string(5) "nl_NL" public iLocaleIdDefaultCms => integer 1 public sLocaleDefaultCms => string(5) "nl_NL" public sLanguage => string(2) "nl" public sCountry => string(2) "NL" public bLocaleInUrl => bool FALSE public bUserIsAdmin => bool FALSE public sRequestUrl => string(51) "https://www.raffa.nl/product/display-schoenenwinkel" public aUrlParts => array(2) ( 0 => string(7) "product" 1 => string(22) "display-schoenenwinkel" ) public aLanguages => array(1) ( 1 => string(2) "nl" ) public aLocales => array(1) ( 1 => string(5) "nl_NL" ) public aLocalesShort => array(1) ( 1 => string(5) "nl-nl" ) public oController => array(0) public aJavaScript => array(1) ( "index" => array(2) ( "scripts" => array(7) ( 0 => string(95) "<script type="text/javascript" src="/public/js/inzite/FormSubmit.js?cache=1678373386"></script>" 1 => string(87) "<script type="text/javascript" src="/public/js/inzite/mootools-core-1.4.5.js"></script>" 2 => string(89) "<script type="text/javascript" src="/public/js/inzite/mootools-more-1.4.0.1.js"></script>" 3 => string(94) "<script type="text/javascript" src="/public/js/inzite/swfobject.js?cache=1678373391"></script>" 4 => string(93) "<script type="text/javascript" src="/public/js/inzite/jwplayer.js?cache=1678373391"></script>" 5 => string(92) "<script type="text/javascript" src="/public/js/user/Slideshow.js?cache=1678373392"></script>" 6 => string(88) "<script type="text/javascript" src="/public/js/user/Raffa.js?cache=1678373392"></script>" ) "domready" => array(3) ( 0 => string(36) "FormSubmit = new inziteFormSubmit();" 1 => string(55) "oRaffa = new Raffa(); oRaffa.slideProductBackgrounds();" 2 => string(20) "oRaffa.setOverlay();" ) ) ) public aStyleSheet => array(1) ( "index" => array(2) ( 0 => string(75) "<link rel="stylesheet" href="/public/css/user/site.css?cache=1678373377" />" 1 => string(81) "<link rel="stylesheet" href="/public/css/user/responsive.css?cache=1678373377" />" ) ) public aBreadcrumb => array(0) public aSelects => array(0) public oRows => array(0) public iLimitOrmTable => integer 25 public iInziteRevision => integer 0 public dtInziteRevision => string(0) "" public auto_render => bool TRUE public 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 => string(47) "http://raffa.nl/product/display-schoenenwinkel/" protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(24) "product(/<title>(/<id>))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(7) "Product" "action" => string(5) "index" ) protected _route_regex => string(68) "#^product(?:/(?P<title>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Product" protected _action => string(5) "index" protected _uri => string(30) "product/display-schoenenwinkel" protected _external => bool FALSE protected _params => array(1) ( "title" => string(22) "display-schoenenwinkel" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) 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) }
}{ protected _status => integer 200 protected _header => object HTTP_Header(0)
public sDomain => string(12) "www.raffa.nl" public aLocaleDefault => array(1) ( 1 => string(5) "nl_NL" ) public aPageTitles => array(0) public aBrowser => array(5) ( "browser" => bool FALSE "version" => bool FALSE "robot" => bool FALSE "mobile" => bool FALSE "platform" => bool FALSE ) public oPage => NULL }{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => NULL }90 } 91 92 // Create a new instance of the controller 93 $controller = $class->newInstance($request, $response); 94 // Run the controller's execute() method 95 $response = $class->getMethod('execute')->invoke($controller); 96 97 if ( ! $response instanceof Response) 98 { 99 // Controller failed to return a Response. 100 throw new Kohana_Exception('Controller failed to return a Response');
-
SYSPATH/classes/Kohana/Request/Client.php [ 113 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
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 => string(47) "http://raffa.nl/product/display-schoenenwinkel/" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(24) "product(/<title>(/<id>))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(7) "Product" "action" => string(5) "index" ) protected _route_regex => string(68) "#^product(?:/(?P<title>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Product" protected _action => string(5) "index" protected _uri => string(30) "product/display-schoenenwinkel" protected _external => bool FALSE protected _params => array(1) ( "title" => string(22) "display-schoenenwinkel" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) 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) }
}1
object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(0)
{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => NULL }108 // Execute the request 109 $orig_response = $response = Response::factory(); 110 if (($cache = $this->cache()) instanceof HTTP_Cache) 111 return $cache->execute($this, $request, $response); 112 113 $response = $this->execute_request($request, $response); 114 115 // Execute response callbacks 116 foreach ($this->header_callbacks() as $header => $callback) 117 { 118 if ($response->headers($header))
-
SYSPATH/classes/Kohana/Request.php [ 1003 ] » Kohana_Request_Client->execute(arguments)
0
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 => string(47) "http://raffa.nl/product/display-schoenenwinkel/" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(24) "product(/<title>(/<id>))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(7) "Product" "action" => string(5) "index" ) protected _route_regex => string(68) "#^product(?:/(?P<title>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Product" protected _action => string(5) "index" protected _uri => string(30) "product/display-schoenenwinkel" protected _external => bool FALSE protected _params => array(1) ( "title" => string(22) "display-schoenenwinkel" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) 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) }
}998 { 999 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1000 ':uri' => $this->_uri, 1001 )); 1002 } 1003 return $this->_client->execute($this); 1004 } 1005 1006 /** 1007 * Returns whether this request is the initial request Kohana received. 1008 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 90 ] » Kohana_Request->execute()
85 /** 86 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 87 * If no source is specified, the URI will be automatically detected. 88 */ 89 echo Request::factory(TRUE, array(), FALSE) 90 ->execute() 91 ->send_headers(TRUE) 92 ->body(); 93 94 }