DOCROOT/non-public/inzite/classes/Inzite/ORM.php [ 822 ]
817 $sObject = strtolower(str_replace('Model_', '', get_class($this)));
818 $sObjectLocale = 'Locale' . strtolower($sObject);
819
820 $aLocaleTables = Session::instance()->get('cache.localetables');
821 $bLocale = (bool)(class_exists('Model_' . $sObjectLocale) && in_array(strtolower($sObjectLocale),
822 $aLocaleTables));
823
824 if ($iStatus === null) {
825 $iStatus = [-1, 0, 1];
826 }
827
-
{PHP internal call} » Kohana_Core::error_handler( arguments )
0
integer 2
1
string(54) "in_array() expects parameter 2 to be array, null given"
2
string(74) "/home/cultuurdichtbij/public_html/non-public/inzite/classes/Inzite/ORM.php"
3
integer 822
4
array(8) ( "iLocaleId" => NULL "iStatus" => NULL "bEdit" => integer 0 "bCache" => bool TRUE "test" => bool FALSE "sObject" => string(4) "page" "sObjectLocale" => string(10) "Localepage" "aLocaleTables" => NULL )
-
DOCROOT/non-public/inzite/classes/Inzite/ORM.php [ 822 ] » in_array( arguments )
needle
string(10) "localepage"
haystack
NULL
817 $sObject = strtolower(str_replace('Model_', '', get_class($this))); 818 $sObjectLocale = 'Locale' . strtolower($sObject); 819 820 $aLocaleTables = Session::instance()->get('cache.localetables'); 821 $bLocale = (bool)(class_exists('Model_' . $sObjectLocale) && in_array(strtolower($sObjectLocale), 822 $aLocaleTables)); 823 824 if ($iStatus === null) { 825 $iStatus = [-1, 0, 1]; 826 } 827
-
DOCROOT/non-public/inzite/classes/Inzite/Controller/Redirect/Home.php [ 12 ] » Inzite_ORM->localized( )
7 { 8 // Get the id from the page to redirect to 9 $id = $this->request->param('id'); 10 11 // Get the URL 12 $sUrl = ORM::factory('page', $id)->localized()->getUrl(); 13 14 // Redirect 15 HTTP::redirect($sUrl); 16 17 // Exit the script
-
SYSPATH/classes/Kohana/Controller.php [ 71 ] » Inzite_Controller_Redirect_Home->before( )
66 * @return Response 67 */ 68 public function execute() 69 { 70 // Execute the "before action" method 71 $this->before(); 72 73 // Determine the action to use 74 $action = 'action_' . $this->request->action(); 75 76 // If the action doesn't exist, it's a 404
-
{PHP internal call} » Kohana_Controller->execute( )
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 93 ] » ReflectionMethod->invoke( arguments )
0
object Controller_Redirect_Home(50)
{ public bDisplayCookieNotice => bool FALSE public bAcceptThirdPartyCookies => bool FALSE public template => NULL public sContent => NULL public _module => string(0) "" public _controller => string(0) "" public _type => string(0) "" public _model => string(0) "" public _table_name => string(0) "" public sAction => string(0) "" public aAcl => array(0) public bMobile => bool FALSE public bSecure => bool FALSE 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 aPageTitles => array(0) public bPageNotFound => bool FALSE public iSubLevels => NULL public iLocaleId => integer 0 public sLocale => string(5) "nl_NL" public iLocaleIdDefault => integer 0 public sLocaleDefault => string(0) "" public iLocaleIdDefaultCms => integer 0 public sLocaleDefaultCms => string(0) "" public sLanguage => string(2) "nl" public sCountry => string(2) "NL" public bLocaleInUrl => bool FALSE public bUserIsAdmin => bool FALSE public sRequestUrl => string(0) "" public aUrlParts => array(0) public aLanguages => array(0) public aLocales => array(0) public aLocalesShort => array(0) public oController => array(0) public aJavaScripts => array(0) public aDomReadys => array(0) public aStyleSheets => array(0) public aBreadcrumb => array(0) public aSelects => array(0) public oRows => array(0) public aPages => array(0) public iLimitOrmTable => integer 25 public bInitialized => bool FALSE 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(52) "https://www.cultuurdichtbij.nl/redirect/library/1267" protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(26) "redirect(/<action>(/<id>))" protected _regex => array(0) protected _defaults => array(4) ( "directory" => string(8) "Redirect" "controller" => string(4) "Home" "action" => string(5) "index" "internal" => bool TRUE ) protected _route_regex => string(70) "#^redirect(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(8) "Redirect" protected _controller => string(4) "Home" protected _action => string(7) "library" protected _uri => string(21) "redirect/library/1267" protected _external => bool FALSE protected _params => array(2) ( "id" => string(4) "1267" "internal" => bool TRUE ) 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)
}{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }88 89 // Create a new instance of the controller 90 $controller = $class->newInstance($request, $response); 91 92 // Run the controller's execute() method 93 $response = $class->getMethod('execute')->invoke($controller); 94 95 if (!$response instanceof Response) { 96 // Controller failed to return a Response. 97 throw new Kohana_Exception('Controller failed to return a Response'); 98 }
-
SYSPATH/classes/Kohana/Request/Client.php [ 116 ] » 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(52) "https://www.cultuurdichtbij.nl/redirect/library/1267" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(26) "redirect(/<action>(/<id>))" protected _regex => array(0) protected _defaults => array(4) ( "directory" => string(8) "Redirect" "controller" => string(4) "Home" "action" => string(5) "index" "internal" => bool TRUE ) protected _route_regex => string(70) "#^redirect(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(8) "Redirect" protected _controller => string(4) "Home" protected _action => string(7) "library" protected _uri => string(21) "redirect/library/1267" protected _external => bool FALSE protected _params => array(2) ( "id" => string(4) "1267" "internal" => bool TRUE ) 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 => string(8) "HTTP/1.1" }111 112 if (($cache = $this->cache()) instanceof HTTP_Cache) { 113 return $cache->execute($this, $request, $response); 114 } 115 116 $response = $this->execute_request($request, $response); 117 118 // Execute response callbacks 119 foreach ($this->header_callbacks() as $header => $callback) { 120 if ($response->headers($header)) { 121 $cb_result = call_user_func($callback, $request, $response, $this);
-
SYSPATH/classes/Kohana/Request.php [ 933 ] » 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(52) "https://www.cultuurdichtbij.nl/redirect/library/1267" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(26) "redirect(/<action>(/<id>))" protected _regex => array(0) protected _defaults => array(4) ( "directory" => string(8) "Redirect" "controller" => string(4) "Home" "action" => string(5) "index" "internal" => bool TRUE ) protected _route_regex => string(70) "#^redirect(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(8) "Redirect" protected _controller => string(4) "Home" protected _action => string(7) "library" protected _uri => string(21) "redirect/library/1267" protected _external => bool FALSE protected _params => array(2) ( "id" => string(4) "1267" "internal" => bool TRUE ) 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) }
}928 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', [ 929 ':uri' => $this->_uri, 930 ]); 931 } 932 933 return $this->_client->execute($this); 934 } 935 936 /** 937 * Returns whether this request is the initial request Kohana received. 938 * Can be used to test for sub requests.
-
DOCROOT/public/index.php [ 94 ] » Kohana_Request->execute( )
89 /** 90 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 91 * If no source is specified, the URI will be automatically detected. 92 */ 93 echo Request::factory(TRUE, array(), FALSE) 94 ->execute() 95 ->send_headers(TRUE) 96 ->body(); 97 } 98