MODPATH/database/classes/kohana/database/mysql.php [ 56 ]
51 try
52 {
53 if (empty($persistent))
54 {
55 // Create a connection and force it to be a new link
56 $this->_connection = mysql_connect($hostname, $username, $password, TRUE);
57 }
58 else
59 {
60 // Create a persistent connection
61 $this->_connection = mysql_pconnect($hostname, $username, $password);
-
{PHP internal call} » Kohana_Core::error_handler(arguments)
0
integer 2
1
string(88) "mysql_connect(): Host '200.211.137.164' is not allowed to connect to this MariaDB server"
2
string(87) "/home/www/abraceebrinque.com.br/www/modules3/database/classes/kohana/database/mysql.php"
3
integer 56
4
array(7) ( "hostname" => string(23) "mysql04-farm59.uni5.net" "database" => string(14) "abraceebrinque" "username" => string(14) "abraceebrinque" "password" => string(6) "edge69" "persistent" => bool FALSE "port" => NULL "socket" => NULL )
-
MODPATH/database/classes/kohana/database/mysql.php [ 56 ] » mysql_connect(arguments)
hostname
string(23) "mysql04-farm59.uni5.net"
username
string(14) "abraceebrinque"
password
string(6) "edge69"
new
bool TRUE
51 try 52 { 53 if (empty($persistent)) 54 { 55 // Create a connection and force it to be a new link 56 $this->_connection = mysql_connect($hostname, $username, $password, TRUE); 57 } 58 else 59 { 60 // Create a persistent connection 61 $this->_connection = mysql_pconnect($hostname, $username, $password);
-
MODPATH/database/classes/kohana/database/mysql.php [ 155 ] » Kohana_Database_MySQL->connect()
150 } 151 152 public function query($type, $sql, $as_object) 153 { 154 // Make sure the database is connected 155 $this->_connection or $this->connect(); 156 157 if ( ! empty($this->_config['profiling'])) 158 { 159 // Benchmark this query for the current instance 160 $benchmark = Profiler::start("Database ({$this->_instance})", $sql);
-
MODPATH/database/classes/kohana/database/query.php [ 207 ] » Kohana_Database_MySQL->query(arguments)
0
integer 1
1
string(254) "SELECT `e_id`, `e_title`, `e_seo`, `e_shortdesc`, `e_longdesc`, `e_timestamp`, DATE(`e_timestamp`) A …"
2
bool FALSE
202 return new Database_Result_Cached($result, $sql, $this->_as_object); 203 } 204 } 205 206 // Execute the query 207 $result = $db->query($this->_type, $sql, $this->_as_object); 208 209 if (isset($cache_key)) 210 { 211 // Cache the result array 212 Kohana::cache($cache_key, $result->as_array(), $this->_lifetime);
-
APPPATH/classes/events.php [ 152 ] » Kohana_Database_Query->execute()
147 ORDER BY `e_timestamp` DESC 148 149 $limit"); 150 151 //echo $sql; 152 $result = $sql->execute(); 153 154 if ($result->count() > 0) 155 { 156 foreach ($result as $row) 157 {
-
APPPATH/classes/controller/home.php [ 25 ] » Events->get_home_events(arguments)
0
integer 2
20 ->set('css_file', 'home.css') 21 ->set('dd', false) 22 ->set('png', true); 23 24 25 $events_array = $events->get_home_events(2); 26 27 $this->template->content 28 ->set('events_array', $events_array['array']); 29 30
-
{PHP internal call} » Controller_Home->action_index()
-
SYSPATH/classes/kohana/request.php [ 1046 ] » ReflectionMethod->invokeArgs(arguments)
0
object Controller_Home(3)
{ public template => object View(2)
{ protected _file => string(60) "/home/www/abraceebrinque.com.br/www/app_front/views/skin.php" protected _data => array(9) ( "top" => object View(2)
public auto_render => bool TRUE public request => object Request(9){ protected _file => string(64) "/home/www/abraceebrinque.com.br/www/app_front/views/_inc/top.php" protected _data => array(0) }
"bottom" => object View(2){ protected _file => string(67) "/home/www/abraceebrinque.com.br/www/app_front/views/_inc/bottom.php" protected _data => array(0) }
"page_title" => string(77) "Abrace e Brinque Berçário e Centro de Educação Infantil | Página Inicial" "content" => object View(2){ protected _file => string(60) "/home/www/abraceebrinque.com.br/www/app_front/views/home.php" protected _data => array(0) }
"description" => string(114) "Escola de Educação Infantil e Berçário na Vila Matilde/Zona Leste de SP. Confira nossos planos e diferenciais." "keywords" => string(249) "berçário, educação infantil, escolinha zona leste, escola zona leste, escolinha, escolinha vila matilde, berçário vila matilde, …" "css_file" => string(8) "home.css" "dd" => bool FALSE "png" => bool TRUE ) }{ public route => object Route(4)
}{ protected _uri => string(0) "" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "home" "action" => string(5) "index" ) protected _route_regex => string(6) "#^$#uD" }
public status => integer 500 public response => string(0) "" public headers => array(1) ( "Content-Type" => string(24) "text/html; charset=utf-8" ) public directory => string(0) "" public controller => string(4) "home" public action => string(5) "index" public uri => string(0) "" protected _params => array(0) }1
array(0)
1041 1042 // Determine the action to use 1043 $action = empty($this->action) ? Route::$default_action : $this->action; 1044 1045 // Execute the main action with the parameters 1046 $class->getMethod('action_'.$action)->invokeArgs($controller, $this->_params); 1047 1048 // Execute the "after action" method 1049 $class->getMethod('after')->invoke($controller); 1050 } 1051 catch (Exception $e)
-
APPPATH/bootstrap.php [ 130 ] » Kohana_Request->execute()
125 /** 126 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 127 * If no source is specified, the URI will be automatically detected. 128 */ 129 echo Request::instance() 130 ->execute() 131 ->send_headers() 132 ->response; 133 }
-
DOCROOT/index.php [ 104 ] » require(arguments)
0
string(59) "/home/www/abraceebrinque.com.br/www/app_front/bootstrap.php"
99 // Load empty core extension 100 require SYSPATH.'classes/kohana'.EXT; 101 } 102 103 // Bootstrap the application 104 require APPPATH.'bootstrap'.EXT;