APPPATH/classes/controller/page.php [ 100 ]
95 public function action_haber()
96 {
97 $r = explode("-", $this->slug);
98 $x = sizeof($r)-1;
99 $haber = R::findOne("haberler", "id=? AND visible=?", array($r[$x], 1));
100 if(sizeof($haber))
101 {
102 $currentslug = R::findOne("kategori", "id=?", array($haber->parent));
103 $this->data->currentslug = $currentslug;
104
105 //$this->data->others = R::find("haberler","parent=? AND id!=? AND visible=? ORDER BY ordertime DESC, ord ASC limit 4", array($haber->parent, $haber->id, 1));
-
{PHP internal call} » Kohana_Core::error_handler(arguments)
0
integer 2
1
string(75) "sizeof(): Parameter must be an array or an object that implements Countable"
2
string(62) "/home/bizimtorbali/public_html/app/classes/controller/page.php"
3
integer 100
4
array(3) ( "r" => array(8) ( 0 => string(5) "aydin" 1 => string(5) "izmir" 2 => string(8) "hattinda" 3 => string(5) "azili" 4 => string(5) "katil" 5 => string(8) "heryerde" 6 => string(8) "araniyor" 7 => string(4) "3421" ) "x" => integer 7 "haber" => NULL )
-
APPPATH/classes/controller/page.php [ 100 ] » sizeof(arguments)
var
NULL
95 public function action_haber() 96 { 97 $r = explode("-", $this->slug); 98 $x = sizeof($r)-1; 99 $haber = R::findOne("haberler", "id=? AND visible=?", array($r[$x], 1)); 100 if(sizeof($haber)) 101 { 102 $currentslug = R::findOne("kategori", "id=?", array($haber->parent)); 103 $this->data->currentslug = $currentslug; 104 105 //$this->data->others = R::find("haberler","parent=? AND id!=? AND visible=? ORDER BY ordertime DESC, ord ASC limit 4", array($haber->parent, $haber->id, 1));
-
{PHP internal call} » Controller_Page->action_haber()
-
SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Page(14)
{ public view => NULL public template => string(8) "template" public data => object stdClass(2)
{ public menuler => array(8) ( 1 => object RedBean_OODBBean(7)
public id => NULL public parent => NULL public grandpa => NULL public viewtypes => array(0) public allow => integer 0 public allowed_ips => array(7) ( 0 => string(9) "95.6.4.98" 1 => string(9) "95.6.4.97" 2 => string(9) "95.6.4.96" 3 => string(12) "95.70.143.34" 4 => string(13) "159.146.58.82" 5 => string(15) "193.192.114.170" 6 => string(13) "85.100.70.181" ) public request => object Request(21){ private null => NULL private properties => array(20) ( "id" => string(1) "1" "title" => string(7) "Gündem" "ord" => string(1) "0" "slug" => string(6) "gundem" "parent" => string(1) "0" "manset" => string(1) "0" "ortamanset" => string(1) "0" "kucukmansetsag" => string(1) "0" "kucukmansetsol" => string(1) "0" "photos" => NULL "background" => NULL "thumb" => NULL "contentphotos" => NULL "mansetphoto" => NULL "altilihaber" => string(1) "0" "anasayfa" => string(1) "1" "position" => string(3) "sol" "visible" => NULL "time" => NULL "ordertime" => NULL ) private __info => array(4) ( "type" => string(8) "kategori" "sys.id" => string(2) "id" "tainted" => bool FALSE "sys.orig" => array(20) ( "id" => string(1) "1" "title" => string(7) "Gündem" "ord" => string(1) "0" "slug" => string(6) "gundem" "parent" => string(1) "0" "manset" => string(1) "0" "ortamanset" => string(1) "0" "kucukmansetsag" => string(1) "0" "kucukmansetsol" => string(1) "0" "photos" => NULL "background" => NULL "thumb" => NULL "contentphotos" => NULL "mansetphoto" => NULL "altilihaber" => string(1) "0" "anasayfa" => string(1) "1" "position" => string(3) "sol" "visible" => NULL "time" => NULL "ordertime" => NULL ) ) private beanHelper => object RedBean_BeanHelper_Facade(0)
5 => object RedBean_OODBBean(7){ }
private fetchType => NULL private withSql => string(0) "" private aliasName => NULL }{ private null => NULL private properties => array(20) ( "id" => string(1) "5" "title" => string(5) "Video" "ord" => string(1) "1" "slug" => string(5) "video" "parent" => string(1) "0" "manset" => string(1) "0" "ortamanset" => string(1) "0" "kucukmansetsag" => string(1) "0" "kucukmansetsol" => string(1) "0" "photos" => string(2) "[]" "background" => string(0) "" "thumb" => string(2) "[]" "contentphotos" => string(2) "[]" "mansetphoto" => string(2) "[]" "altilihaber" => string(1) "0" "anasayfa" => string(1) "1" "position" => string(3) "sag" "visible" => NULL "time" => NULL "ordertime" => NULL ) private __info => array(4) ( "type" => string(8) "kategori" "sys.id" => string(2) "id" "tainted" => bool FALSE "sys.orig" => array(20) ( "id" => string(1) "5" "title" => string(5) "Video" "ord" => string(1) "1" "slug" => string(5) "video" "parent" => string(1) "0" "manset" => string(1) "0" "ortamanset" => string(1) "0" "kucukmansetsag" => string(1) "0" "kucukmansetsol" => string(1) "0" "photos" => string(2) "[]" "background" => string(0) "" "thumb" => string(2) "[]" "contentphotos" => string(2) "[]" "mansetphoto" => string(2) "[]" "altilihaber" => string(1) "0" "anasayfa" => string(1) "1" "position" => string(3) "sag" "visible" => NULL "time" => NULL "ordertime" => NULL ) ) private beanHelper => object RedBean_BeanHelper_Facade(0)
4 => object RedBean_OODBBean(7){ }
private fetchType => NULL private withSql => string(0) "" private aliasName => NULL }{ private null => NULL private properties => array(20) ( "id" => string(1) "4" "title" => string(7) "Ekonomi" "ord" => string(1) "2" "slug" => string(7) "ekonomi" "parent" => string(1) "0" "manset" => string(1) "0" "ortamanset" => string(1) "0" "kucukmansetsag" => string(1) "0" "kucukmansetsol" => string(1) "0" "photos" => string(2) "[]" "background" => string(0) "" "thumb" => string(2) "[]" "contentphotos" => string(2) "[]" "mansetphoto" => NULL "altilihaber" => string(1) "0" "anasayfa" => string(1) "1" "position" => string(3) "sag" "visible" => NULL "time" => NULL "ordertime" => NULL ) private __info => array(4) ( "type" => string(8) "kategori" "sys.id" => string(2) "id" "tainted" => bool FALSE "sys.orig" => array(20) ( "id" => string(1) "4" "title" => string(7) "Ekonomi" "ord" => string(1) "2" "slug" => string(7) "ekonomi" "parent" => string(1) "0" "manset" => string(1) "0" "ortamanset" => string(1) "0" "kucukmansetsag" => string(1) "0" "kucukmansetsol" => string(1) "0" "photos" => string(2) "[]" "background" => string(0) "" "thumb" => string(2) "[]" "contentphotos" => string(2) "[]" "mansetphoto" => NULL "altilihaber" => string(1) "0" "anasayfa" => string(1) "1" "position" => string(3) "sag" "visible" => NULL "time" => NULL "ordertime" => NULL ) ) private beanHelper => object RedBean_BeanHelper_Facade(0)
3 => object RedBean_OODBBean(7){ }
private fetchType => NULL private withSql => string(0) "" private aliasName => NULL }{ private null => NULL private properties => array(20) ( "id" => string(1) "3" "title" => string(8) "Politika" "ord" => string(1) "3" "slug" => string(8) "politika" "parent" => string(1) "0" "manset" => string(1) "0" "ortamanset" => string(1) "0" "kucukmansetsag" => string(1) "0" "kucukmansetsol" => string(1) "0" "photos" => string(2) "[]" "background" => string(0) "" "thumb" => string(2) "[]" "contentphotos" => string(2) "[]" "mansetphoto" => NULL "altilihaber" => string(1) "0" "anasayfa" => string(1) "1" "position" => string(3) "sol" "visible" => NULL "time" => NULL "ordertime" => NULL ) private __info => array(4) ( "type" => string(8) "kategori" "sys.id" => string(2) "id" "tainted" => bool FALSE "sys.orig" => array(20) ( "id" => string(1) "3" "title" => string(8) "Politika" "ord" => string(1) "3" "slug" => string(8) "politika" "parent" => string(1) "0" "manset" => string(1) "0" "ortamanset" => string(1) "0" "kucukmansetsag" => string(1) "0" "kucukmansetsol" => string(1) "0" "photos" => string(2) "[]" "background" => string(0) "" "thumb" => string(2) "[]" "contentphotos" => string(2) "[]" "mansetphoto" => NULL "altilihaber" => string(1) "0" "anasayfa" => string(1) "1" "position" => string(3) "sol" "visible" => NULL "time" => NULL "ordertime" => NULL ) ) private beanHelper => object RedBean_BeanHelper_Facade(0)
7 => object RedBean_OODBBean(7){ }
private fetchType => NULL private withSql => string(0) "" private aliasName => NULL }{ private null => NULL private properties => array(20) ( "id" => string(1) "7" "title" => string(6) "Turizm" "ord" => string(1) "4" "slug" => string(6) "turizm" "parent" => string(1) "0" "manset" => string(1) "0" "ortamanset" => string(1) "0" "kucukmansetsag" => string(1) "0" "kucukmansetsol" => string(1) "0" "photos" => string(2) "[]" "background" => string(0) "" "thumb" => string(2) "[]" "contentphotos" => string(2) "[]" "mansetphoto" => string(2) "[]" "altilihaber" => string(1) "0" "anasayfa" => string(1) "0" "position" => string(3) "sag" "visible" => string(1) "0" "time" => NULL "ordertime" => NULL ) private __info => array(4) ( "type" => string(8) "kategori" "sys.id" => string(2) "id" "tainted" => bool FALSE "sys.orig" => array(20) ( "id" => string(1) "7" "title" => string(6) "Turizm" "ord" => string(1) "4" "slug" => string(6) "turizm" "parent" => string(1) "0" "manset" => string(1) "0" "ortamanset" => string(1) "0" "kucukmansetsag" => string(1) "0" "kucukmansetsol" => string(1) "0" "photos" => string(2) "[]" "background" => string(0) "" "thumb" => string(2) "[]" "contentphotos" => string(2) "[]" "mansetphoto" => string(2) "[]" "altilihaber" => string(1) "0" "anasayfa" => string(1) "0" "position" => string(3) "sag" "visible" => string(1) "0" "time" => NULL "ordertime" => NULL ) ) private beanHelper => object RedBean_BeanHelper_Facade(0)
2 => object RedBean_OODBBean(7){ }
private fetchType => NULL private withSql => string(0) "" private aliasName => NULL }{ private null => NULL private properties => array(20) ( "id" => string(1) "2" "title" => string(4) "Spor" "ord" => string(1) "5" "slug" => string(4) "spor" "parent" => string(1) "0" "manset" => string(1) "0" "ortamanset" => string(1) "0" "kucukmansetsag" => string(1) "0" "kucukmansetsol" => string(1) "0" "photos" => string(2) "[]" "background" => string(0) "" "thumb" => string(2) "[]" "contentphotos" => string(2) "[]" "mansetphoto" => NULL "altilihaber" => string(1) "0" "anasayfa" => string(1) "0" "position" => string(3) "sol" "visible" => string(1) "0" "time" => NULL "ordertime" => NULL ) private __info => array(4) ( "type" => string(8) "kategori" "sys.id" => string(2) "id" "tainted" => bool FALSE "sys.orig" => array(20) ( "id" => string(1) "2" "title" => string(4) "Spor" "ord" => string(1) "5" "slug" => string(4) "spor" "parent" => string(1) "0" "manset" => string(1) "0" "ortamanset" => string(1) "0" "kucukmansetsag" => string(1) "0" "kucukmansetsol" => string(1) "0" "photos" => string(2) "[]" "background" => string(0) "" "thumb" => string(2) "[]" "contentphotos" => string(2) "[]" "mansetphoto" => NULL "altilihaber" => string(1) "0" "anasayfa" => string(1) "0" "position" => string(3) "sol" "visible" => string(1) "0" "time" => NULL "ordertime" => NULL ) ) private beanHelper => object RedBean_BeanHelper_Facade(0)
9 => object RedBean_OODBBean(7){ }
private fetchType => NULL private withSql => string(0) "" private aliasName => NULL }{ private null => NULL private properties => array(20) ( "id" => string(1) "9" "title" => string(17) "Sağlık / Yaşam" "ord" => string(1) "6" "slug" => string(12) "saglik-yasam" "parent" => string(1) "0" "manset" => string(1) "0" "ortamanset" => string(1) "0" "kucukmansetsag" => string(1) "0" "kucukmansetsol" => string(1) "0" "photos" => string(2) "[]" "background" => string(0) "" "thumb" => string(2) "[]" "contentphotos" => string(2) "[]" "mansetphoto" => string(2) "[]" "altilihaber" => string(1) "0" "anasayfa" => string(1) "0" "position" => string(3) "sol" "visible" => string(1) "0" "time" => string(10) "1494674955" "ordertime" => string(10) "1494674955" ) private __info => array(4) ( "type" => string(8) "kategori" "sys.id" => string(2) "id" "tainted" => bool FALSE "sys.orig" => array(20) ( "id" => string(1) "9" "title" => string(17) "Sağlık / Yaşam" "ord" => string(1) "6" "slug" => string(12) "saglik-yasam" "parent" => string(1) "0" "manset" => string(1) "0" "ortamanset" => string(1) "0" "kucukmansetsag" => string(1) "0" "kucukmansetsol" => string(1) "0" "photos" => string(2) "[]" "background" => string(0) "" "thumb" => string(2) "[]" "contentphotos" => string(2) "[]" "mansetphoto" => string(2) "[]" "altilihaber" => string(1) "0" "anasayfa" => string(1) "0" "position" => string(3) "sol" "visible" => string(1) "0" "time" => string(10) "1494674955" "ordertime" => string(10) "1494674955" ) ) private beanHelper => object RedBean_BeanHelper_Facade(0)
8 => object RedBean_OODBBean(7){ }
private fetchType => NULL private withSql => string(0) "" private aliasName => NULL }{ private null => NULL private properties => array(20) ( "id" => string(1) "8" "title" => string(14) "Kültür/Sanat" "ord" => string(1) "8" "slug" => string(11) "kultursanat" "parent" => string(1) "0" "manset" => string(1) "0" "ortamanset" => string(1) "0" "kucukmansetsag" => string(1) "0" "kucukmansetsol" => string(1) "0" "photos" => string(2) "[]" "background" => string(0) "" "thumb" => string(2) "[]" "contentphotos" => string(2) "[]" "mansetphoto" => string(2) "[]" "altilihaber" => string(1) "0" "anasayfa" => string(1) "0" "position" => string(3) "sag" "visible" => string(1) "0" "time" => string(10) "1485442900" "ordertime" => string(10) "1485442900" ) private __info => array(4) ( "type" => string(8) "kategori" "sys.id" => string(2) "id" "tainted" => bool FALSE "sys.orig" => array(20) ( "id" => string(1) "8" "title" => string(14) "Kültür/Sanat" "ord" => string(1) "8" "slug" => string(11) "kultursanat" "parent" => string(1) "0" "manset" => string(1) "0" "ortamanset" => string(1) "0" "kucukmansetsag" => string(1) "0" "kucukmansetsol" => string(1) "0" "photos" => string(2) "[]" "background" => string(0) "" "thumb" => string(2) "[]" "contentphotos" => string(2) "[]" "mansetphoto" => string(2) "[]" "altilihaber" => string(1) "0" "anasayfa" => string(1) "0" "position" => string(3) "sag" "visible" => string(1) "0" "time" => string(10) "1485442900" "ordertime" => string(10) "1485442900" ) ) private beanHelper => object RedBean_BeanHelper_Facade(0)
) public currentslug => string(0) "" }{ }
private fetchType => NULL private withSql => string(0) "" private aliasName => NULL }{ 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(36) "(<lang>/)(<action>(/<slug>(/<pro>)))" protected _regex => array(1) ( "lang" => string(8) "[a-z]{2}" ) protected _defaults => array(2) ( "controller" => string(4) "page" "action" => string(8) "anasayfa" ) protected _route_regex => string(114) "#^(?:(?P<lang>[a-z]{2})/)?(?:(?P<action>[^/.,;?\n]++)(?:/(?P<slug>[^/.,;?\n]++)(?:/(?P<pro>[^/.,;?\n]++))?)?)?$#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(0) "" protected _controller => string(4) "page" protected _action => string(5) "haber" protected _uri => string(61) "haber/aydin-izmir-hattinda-azili-katil-heryerde-araniyor-3421" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(0) "" "slug" => string(55) "aydin-izmir-hattinda-azili-katil-heryerde-araniyor-3421" ) 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)
public is_ajax => bool FALSE public slug => string(55) "aydin-izmir-hattinda-azili-katil-heryerde-araniyor-3421" public pro => NULL }{ }
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(21)
{ 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(36) "(<lang>/)(<action>(/<slug>(/<pro>)))" protected _regex => array(1) ( "lang" => string(8) "[a-z]{2}" ) protected _defaults => array(2) ( "controller" => string(4) "page" "action" => string(8) "anasayfa" ) protected _route_regex => string(114) "#^(?:(?P<lang>[a-z]{2})/)?(?:(?P<action>[^/.,;?\n]++)(?:/(?P<slug>[^/.,;?\n]++)(?:/(?P<pro>[^/.,;?\n]++))?)?)?$#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(0) "" protected _controller => string(4) "page" protected _action => string(5) "haber" protected _uri => string(61) "haber/aydin-izmir-hattinda-azili-katil-heryerde-araniyor-3421" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(0) "" "slug" => string(55) "aydin-izmir-hattinda-azili-katil-heryerde-araniyor-3421" ) 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(21)
{ 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(36) "(<lang>/)(<action>(/<slug>(/<pro>)))" protected _regex => array(1) ( "lang" => string(8) "[a-z]{2}" ) protected _defaults => array(2) ( "controller" => string(4) "page" "action" => string(8) "anasayfa" ) protected _route_regex => string(114) "#^(?:(?P<lang>[a-z]{2})/)?(?:(?P<action>[^/.,;?\n]++)(?:/(?P<slug>[^/.,;?\n]++)(?:/(?P<pro>[^/.,;?\n]++))?)?)?$#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(0) "" protected _controller => string(4) "page" protected _action => string(5) "haber" protected _uri => string(61) "haber/aydin-izmir-hattinda-azili-katil-heryerde-araniyor-3421" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(0) "" "slug" => string(55) "aydin-izmir-hattinda-azili-katil-heryerde-araniyor-3421" ) 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 [ 221 ] » Kohana_Request->execute()
216 217 */ 218 219 echo Request::factory() 220 221 ->execute() 222 223 ->send_headers(TRUE) 224 225 ->body(); 226