Zend OPcache [ 525 ]
-
{PHP internal call} » Kohana_Core::error_handler(arguments)
0
integer 8192
1
string(80) "preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead"
2
string(78) "/home/pluralmack/www/kohana/3.2.0/modules/database/classes/kohana/database.php"
3
integer 525
4
array(3) ( "column" => string(28) "COUNT( DISTINCT "posts.ID" )" "alias" => string(10) "total_rows" "this" => object Database_MySQL(6)
{ protected _connection_id => NULL protected _identifier => string(1) "`" public last_query => NULL protected _instance => string(7) "default" protected _connection => NULL protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(5) ( "hostname" => string(23) "mysql.pluralmack.com.br" "database" => string(10) "pluralmack" "username" => string(10) "pluralmack" "password" => string(6) "niknak" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
) -
MODPATH/database/classes/kohana/database.php [ 525 ] » preg_replace(arguments)
regex
string(10) "/"(.+?)"/e"
replace
string(25) "$this->quote_column("$1")"
subject
string(28) "COUNT( DISTINCT "posts.ID" )"
520 return $column; 521 } 522 elseif (strpos($column, '"') !== FALSE) 523 { 524 // Quote the column in FUNC("column") identifiers 525 $column = preg_replace('/"(.+?)"/e', '$this->quote_column("$1")', $column); 526 } 527 elseif (strpos($column, '.') !== FALSE) 528 { 529 $parts = explode('.', $column); 530
-
{PHP internal call} » Kohana_Database->quote_column(arguments)
0
array(2) ( 0 => string(28) "COUNT( DISTINCT "posts.ID" )" 1 => string(10) "total_rows" )
-
MODPATH/database/classes/kohana/database/query/builder/select.php [ 352 ] » array_map(arguments)
callback
array(2) ( 0 => object Database_MySQL(6)
{ protected _connection_id => NULL protected _identifier => string(1) "`" public last_query => NULL protected _instance => string(7) "default" protected _connection => NULL protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(5) ( "hostname" => string(23) "mysql.pluralmack.com.br" "database" => string(10) "pluralmack" "username" => string(10) "pluralmack" "password" => string(6) "niknak" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
1 => string(12) "quote_column" )arrays
array(1) ( 0 => array(2) ( 0 => string(28) "COUNT( DISTINCT "posts.ID" )" 1 => string(10) "total_rows" ) )
347 $query .= '*'; 348 } 349 else 350 { 351 // Select all columns 352 $query .= implode(', ', array_unique(array_map($quote_column, $this->_select))); 353 } 354 355 if ( ! empty($this->_from)) 356 { 357 // Set tables to select from
-
MODPATH/database/classes/kohana/database/query.php [ 228 ] » Kohana_Database_Query_Builder_Select->compile(arguments)
0
object Database_MySQL(6)
{ protected _connection_id => NULL protected _identifier => string(1) "`" public last_query => NULL protected _instance => string(7) "default" protected _connection => NULL protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(5) ( "hostname" => string(23) "mysql.pluralmack.com.br" "database" => string(10) "pluralmack" "username" => string(10) "pluralmack" "password" => string(6) "niknak" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
223 { 224 $object_params = $this->_object_params; 225 } 226 227 // Compile the SQL query 228 $sql = $this->compile($db); 229 230 if ($this->_lifetime !== NULL AND $this->_type === Database::SELECT) 231 { 232 // Set the cache key based on the database instance name and SQL 233 $cache_key = 'Database::query("'.$db.'", "'.$sql.'")';
-
APPPATH/classes/wordpress.php [ 114 ] » Kohana_Database_Query->execute()
109 'author.user_login', 110 'author.user_nicename', 111 'author.user_email', 112 'author.display_name'); 113 114 $total_rows = $total_rows->execute()->as_array(); 115 $total_rows = $total_rows[0]['total_rows']; 116 117 self::$total_rows = $total_rows; 118 119 //echo $query;//die();
-
APPPATH/classes/controller/home/home.php [ 18 ] » Wordpress::get_posts(arguments)
0
integer 3
1
integer 5
13 'description' => 'A Pluralmack fabrica máquinas e equipamentos para Aplicação de Rótulos Termoencolhíveis. Atendemos diversos segmentos: cosméticos, bebidas, farmacêuticos, alimentícios, fornecedores de frascos, batons entre outros.', 14 'keywords' => 'Pluralmack, pluralmack, aplicação de rótulos, aplicação de lacres, rótulos termoencolhíveis, máquinas, fábrica, cosméticos, bebidas, alimentício, farmacêutico' 15 16 )); 17 18 $posts_array_novidades = Wordpress::get_posts(3, 5); // id categoria novidades, limite de postagens 19 //$posts_array_eventos = Wordpress::get_posts(2, 5); // id categoria eventos, limite de postagens 20 21 //echo Debug::vars($posts_array_novidades); die(); 22 23 // Set Template vars
-
{PHP internal call} » Controller_Home_Home->action_index()
-
SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Home_Home(4)
{ public template => object View(2)
{ protected _file => string(57) "/home/pluralmack/www/apps/site/application/views/skin.php" protected _data => array(7) ( "top" => object View(2)
public auto_render => bool TRUE public request => object Request(21){ protected _file => string(61) "/home/pluralmack/www/apps/site/application/views/html/top.php" protected _data => array(0) }
"bottom" => object View(2){ protected _file => string(64) "/home/pluralmack/www/apps/site/application/views/html/bottom.php" protected _data => array(0) }
"menu" => object View(2){ protected _file => string(62) "/home/pluralmack/www/apps/site/application/views/html/menu.php" protected _data => array(0) }
"page_title" => string(84) "Pluralmack - Máquinas e Equipamentos para Aplicação de Rótulos Termoencolhíveis" "content" => object View(2){ protected _file => string(62) "/home/pluralmack/www/apps/site/application/views/home/home.php" protected _data => array(0) }
"description" => string(222) "A Pluralmack fabrica máquinas e equipamentos para Aplicação de Rótulos Termoencolhíveis. Atendemos diversos segmentos: cosmético …" "keywords" => string(170) "Pluralmack, pluralmack, aplicação de rótulos, aplicação de lacres, rótulos termoencolhíveis, máquinas, fábrica, cosméticos, bebi …" ) }{ 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(0) "" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(4) "home" "controller" => string(4) "home" "action" => string(5) "index" ) protected _route_regex => string(6) "#^$#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(4) "home" protected _controller => string(4) "home" protected _action => string(5) "index" protected _uri => string(0) "" protected _external => bool FALSE protected _params => array(0) protected _get => array(1) ( "/" => string(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(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(0) "" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(4) "home" "controller" => string(4) "home" "action" => string(5) "index" ) protected _route_regex => string(6) "#^$#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(4) "home" protected _controller => string(4) "home" protected _action => string(5) "index" protected _uri => string(0) "" protected _external => bool FALSE protected _params => array(0) protected _get => array(1) ( "/" => string(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(0) "" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(4) "home" "controller" => string(4) "home" "action" => string(5) "index" ) protected _route_regex => string(6) "#^$#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(4) "home" protected _controller => string(4) "home" protected _action => string(5) "index" protected _uri => string(0) "" protected _external => bool FALSE protected _params => array(0) protected _get => array(1) ( "/" => string(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 [ 108 ] » Kohana_Request->execute()
103 /** 104 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 105 * If no source is specified, the URI will be automatically detected. 106 */ 107 echo Request::factory() 108 ->execute() 109 ->send_headers() 110 ->body(); 111 112 //echo Debug::vars(Session::instance('database')->id(), $GLOBALS);