APPPATH/classes/controller/module/twitterfeed.php [ 48 ]
43 $entry = $entry->retweeted_status;
44 $retweet = TRUE;
45 }
46 }
47
48 $userurl = 'https://twitter.com/'.trim((string)$entry->user->screen_name);
49
50 $tweets[] = array(
51 'text' => (string)$this->create_links($entry->text),
52 'avatar' => trim((string)$entry->user->profile_image_url),
53 'name' => trim((string)$entry->user->name),
-
APPPATH/classes/controller/module/twitterfeed.php [ 48 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(36) "Trying to get property of non-object"
2
string(78) "/home/vhosts/medema.nl/httpdocs/site/classes/controller/module/twitterfeed.php"
3
integer 48
4
array(9) ( "hash_tag" => string(6) "medema" "num_tweets" => integer 3 "tweets" => array(0) "twitter" => object Social_Twitter(2)
{ protected provider => object Twitter_Status(7)
"twitter_data" => object stdClass(1){ protected version => string(3) "1.1" protected format => string(4) "json" protected base_url => NULL protected parser => array(2) ( "json" => string(11) "json_decode" "xml" => string(21) "simplexml_load_string" ) public name => string(7) "twitter" protected signature => object OAuth_Signature_HMAC_SHA1(1)
protected consumer => object OAuth_Consumer(4){ protected name => string(9) "HMAC-SHA1" }
protected params => array(0) }{ protected key => string(21) "iK2YwG8qfzwHdvdfF1GdQ" protected secret => string(42) "8rfOFRfM2huDrANBHULxs2ZFQg94lOqaW5wIgK95Zc" protected callback => NULL protected realm => NULL }
}{ public errors => array(1) ( 0 => object stdClass(2)
"entry" => array(1) ( 0 => object stdClass(2){ public code => integer 32 public message => string(27) "Could not authenticate you." }
) }{ public code => integer 32 public message => string(27) "Could not authenticate you." }
) "retweet" => bool FALSE "retweeter" => string(0) "" "retweeter_url" => string(0) "" )43 $entry = $entry->retweeted_status; 44 $retweet = TRUE; 45 } 46 } 47 48 $userurl = 'https://twitter.com/'.trim((string)$entry->user->screen_name); 49 50 $tweets[] = array( 51 'text' => (string)$this->create_links($entry->text), 52 'avatar' => trim((string)$entry->user->profile_image_url), 53 'name' => trim((string)$entry->user->name),
-
{PHP internal call} » Controller_Module_Twitterfeed->action_index()
-
SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Module_Twitterfeed(8)
{ protected site_id => NULL protected shop_id => NULL protected lang_id => NULL public redirect => bool TRUE public template => object View(2)
{ protected _file => string(52) "/home/vhosts/medema.nl/httpdocs/site/views/empty.php" protected _data => array(4) ( "title" => string(11) "twitterfeed" "title_long" => string(0) "" "title_page" => string(16) " - Henk Medema " "unique_name" => string(11) "twitterfeed" ) }
public auto_render => bool TRUE public request => object Request(22){ protected unique_name => string(11) "twitterfeed" protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _callback => NULL protected _uri => string(43) "(nl/)twitterfeed(/<action>(/<id>(/<args>)))" protected _regex => array(1) ( "args" => string(2) ".*" ) protected _defaults => array(4) ( "directory" => string(6) "module" "lang" => string(2) "nl" "controller" => string(11) "twitterfeed" "action" => string(5) "index" ) protected _route_regex => string(99) "#^(?:nl/)?twitterfeed(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<args>.*))?)?)?$#uD" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(6) "module" protected _controller => string(11) "twitterfeed" protected _action => string(5) "index" protected _uri => string(24) "twitterfeed/index/medema" protected _external => bool FALSE protected _params => array(2) ( "id" => string(6) "medema" "lang" => string(2) "nl" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => 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" }113 throw new HTTP_Exception_404('The requested URL :uri was not found on this server.', 114 array(':uri' => $request->uri())); 115 } 116 117 $method = $class->getMethod('action_'.$action); 118 $method->invoke($controller); 119 120 // Execute the "after action" method 121 $class->getMethod('after')->invoke($controller); 122 } 123 catch (Exception $e)
-
SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(22)
{ protected unique_name => string(11) "twitterfeed" protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(43) "(nl/)twitterfeed(/<action>(/<id>(/<args>)))" protected _regex => array(1) ( "args" => string(2) ".*" ) protected _defaults => array(4) ( "directory" => string(6) "module" "lang" => string(2) "nl" "controller" => string(11) "twitterfeed" "action" => string(5) "index" ) protected _route_regex => string(99) "#^(?:nl/)?twitterfeed(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<args>.*))?)?)?$#uD" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(6) "module" protected _controller => string(11) "twitterfeed" protected _action => string(5) "index" protected _uri => string(24) "twitterfeed/index/medema" protected _external => bool FALSE protected _params => array(2) ( "id" => string(6) "medema" "lang" => string(2) "nl" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => array(0) }59 public function execute(Request $request) 60 { 61 if ($this->_cache instanceof HTTP_Cache) 62 return $this->_cache->execute($this, $request); 63 64 return $this->execute_request($request); 65 } 66 67 /** 68 * Processes the request passed to it and returns the response from 69 * the URI resource identified.
-
SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client->execute(arguments)
0
object Request(22)
{ protected unique_name => string(11) "twitterfeed" protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(43) "(nl/)twitterfeed(/<action>(/<id>(/<args>)))" protected _regex => array(1) ( "args" => string(2) ".*" ) protected _defaults => array(4) ( "directory" => string(6) "module" "lang" => string(2) "nl" "controller" => string(11) "twitterfeed" "action" => string(5) "index" ) protected _route_regex => string(99) "#^(?:nl/)?twitterfeed(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<args>.*))?)?)?$#uD" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(6) "module" protected _controller => string(11) "twitterfeed" protected _action => string(5) "index" protected _uri => string(24) "twitterfeed/index/medema" protected _external => bool FALSE protected _params => array(2) ( "id" => string(6) "medema" "lang" => string(2) "nl" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => array(0) }1133 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1134 ':uri' => $this->_uri, 1135 )); 1136 } 1137 1138 return $this->_client->execute($this); 1139 } 1140 1141 /** 1142 * Returns whether this request is the initial request Kohana received. 1143 * Can be used to test for sub requests.
-
APPPATH/classes/html.php [ 76 ] » Kohana_Request->execute()
71 foreach ($matches as $matches2) 72 { 73 foreach ($matches2 as $match) 74 { 75 $inline_item_name = substr($match, 1, -1); 76 $inline_html = Request::factory($inline_item_name)->execute(); 77 78 $string = str_replace($match, $inline_html, $string); 79 } 80 } 81
-
APPPATH/classes/view.php [ 24 ] » HTML::replace_markers(arguments)
0
string(5092) "<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html class …"
19 * @return string 20 */ 21 protected static function capture($kohana_view_filename, array $kohana_view_data) 22 { 23 $kohana_view_content = file_get_contents($kohana_view_filename); 24 $kohana_view_content = HTML::replace_markers($kohana_view_content); 25 $kohana_view_content = HTML::obfuscate_email($kohana_view_content); 26 27 // FIX ME, create shortcode replacement for settings and variables? 28 29 // Import the view variables to local namespace
-
SYSPATH/classes/kohana/view.php [ 343 ] » View::capture(arguments)
0
string(51) "/home/vhosts/medema.nl/httpdocs/site/views/home.php"
1
array(8) ( "content" => string(417) "<div>Welkom op mijn website, hier laat ik me graag vinden! - en ook in het gewone leven, trouwens. Ik ben Henk Medema, theologis …" "title" => string(4) "Home" "title_long" => string(47) "Kijk: medema is zichzelf weer, nu ook virtueel!" "title_page" => string(11) "Henk Medema" "unique_name" => string(0) "" "image" => NULL "meta_keywords" => string(0) "" "meta_description" => string(155) "Welkom op mijn website, hier laat ik me graag vinden! - en ook in het gewone leven, trouwens. Ik ben Henk Medema, theologisch on …" )
338 { 339 throw new View_Exception('You must set the file to use within your view before rendering'); 340 } 341 342 // Combine local and global data and capture the output 343 return View::capture($this->_file, $this->_data); 344 } 345 346 } // End View
-
SYSPATH/classes/kohana/controller/template.php [ 44 ] » Kohana_View->render()
39 */ 40 public function after() 41 { 42 if ($this->auto_render === TRUE) 43 { 44 $this->response->body($this->template->render()); 45 } 46 47 parent::after(); 48 } 49
-
{PHP internal call} » Kohana_Controller_Template->after()
-
SYSPATH/classes/kohana/request/client/internal.php [ 121 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Page(8)
{ protected site_id => NULL protected shop_id => NULL protected lang_id => NULL public redirect => bool TRUE public template => object View(2)
{ protected _file => string(51) "/home/vhosts/medema.nl/httpdocs/site/views/home.php" protected _data => array(8) ( "content" => string(417) "<div>Welkom op mijn website, hier laat ik me graag vinden! - en ook in het gewone leven, trouwens. Ik ben Henk Medema, theologis …" "title" => string(4) "Home" "title_long" => string(47) "Kijk: medema is zichzelf weer, nu ook virtueel!" "title_page" => string(11) "Henk Medema" "unique_name" => string(0) "" "image" => NULL "meta_keywords" => string(0) "" "meta_description" => string(155) "Welkom op mijn website, hier laat ik me graag vinden! - en ook in het gewone leven, trouwens. Ik ben Henk Medema, theologisch on …" ) }
public auto_render => bool TRUE public request => object Request(22){ protected unique_name => string(0) "" protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _callback => NULL protected _uri => string(28) "(<lang>)(/)(<page>(/<args>))" protected _regex => array(2) ( "lang" => string(4) "(nl)" "args" => string(2) ".*" ) protected _defaults => array(3) ( "lang" => string(2) "nl" "controller" => string(4) "page" "action" => string(5) "index" ) protected _route_regex => string(76) "#^(?:(?P<lang>(nl)))?(?:/)?(?:(?P<page>[^/.,;?\n]++)(?:/(?P<args>.*))?)?$#uD" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "page" protected _action => string(5) "index" protected _uri => string(0) "" protected _external => bool FALSE protected _params => array(1) ( "lang" => string(2) "nl" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => 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.0" }116 117 $method = $class->getMethod('action_'.$action); 118 $method->invoke($controller); 119 120 // Execute the "after action" method 121 $class->getMethod('after')->invoke($controller); 122 } 123 catch (Exception $e) 124 { 125 // Restore the previous request 126 if ($previous instanceof Request)
-
SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(22)
{ protected unique_name => string(0) "" protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(28) "(<lang>)(/)(<page>(/<args>))" protected _regex => array(2) ( "lang" => string(4) "(nl)" "args" => string(2) ".*" ) protected _defaults => array(3) ( "lang" => string(2) "nl" "controller" => string(4) "page" "action" => string(5) "index" ) protected _route_regex => string(76) "#^(?:(?P<lang>(nl)))?(?:/)?(?:(?P<page>[^/.,;?\n]++)(?:/(?P<args>.*))?)?$#uD" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "page" protected _action => string(5) "index" protected _uri => string(0) "" protected _external => bool FALSE protected _params => array(1) ( "lang" => string(2) "nl" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => array(0) }59 public function execute(Request $request) 60 { 61 if ($this->_cache instanceof HTTP_Cache) 62 return $this->_cache->execute($this, $request); 63 64 return $this->execute_request($request); 65 } 66 67 /** 68 * Processes the request passed to it and returns the response from 69 * the URI resource identified.
-
SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client->execute(arguments)
0
object Request(22)
{ protected unique_name => string(0) "" protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(28) "(<lang>)(/)(<page>(/<args>))" protected _regex => array(2) ( "lang" => string(4) "(nl)" "args" => string(2) ".*" ) protected _defaults => array(3) ( "lang" => string(2) "nl" "controller" => string(4) "page" "action" => string(5) "index" ) protected _route_regex => string(76) "#^(?:(?P<lang>(nl)))?(?:/)?(?:(?P<page>[^/.,;?\n]++)(?:/(?P<args>.*))?)?$#uD" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "page" protected _action => string(5) "index" protected _uri => string(0) "" protected _external => bool FALSE protected _params => array(1) ( "lang" => string(2) "nl" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => array(0) }1133 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1134 ':uri' => $this->_uri, 1135 )); 1136 } 1137 1138 return $this->_client->execute($this); 1139 } 1140 1141 /** 1142 * Returns whether this request is the initial request Kohana received. 1143 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 122 ] » Kohana_Request->execute()
117 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 118 * If no source is specified, the URI will be automatically detected. 119 */ 120 121 echo Request::factory() 122 ->execute() 123 ->send_headers() 124 ->body();