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 8192
1
string(111) "mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead"
2
string(68) "/home/galaxis/www/modules/database/classes/kohana/database/mysql.php"
3
integer 56
4
array(7) ( "hostname" => string(20) "mysql.galaxis.com.br" "database" => string(7) "galaxis" "username" => string(7) "galaxis" "password" => string(9) "gal290810" "persistent" => bool FALSE "port" => NULL "socket" => NULL )
-
MODPATH/database/classes/kohana/database/mysql.php [ 56 ] » mysql_connect(arguments)
hostname
string(20) "mysql.galaxis.com.br"
username
string(7) "galaxis"
password
string(9) "gal290810"
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/mysql.php [ 293 ] » Kohana_Database_MySQL->query(arguments)
0
integer 1
1
string(32) "SHOW FULL COLUMNS FROM `PAGINAS`"
2
bool FALSE
288 $result = $this->query(Database::SELECT, 'SHOW FULL COLUMNS FROM '.$table.' LIKE '.$this->quote($like), FALSE); 289 } 290 else 291 { 292 // Find all column names 293 $result = $this->query(Database::SELECT, 'SHOW FULL COLUMNS FROM '.$table, FALSE); 294 } 295 296 $count = 0; 297 $columns = array(); 298 foreach ($result as $row)
-
MODPATH/orm/classes/kohana/orm.php [ 1149 ] » Kohana_Database_MySQL->list_columns(arguments)
0
string(7) "PAGINAS"
1144 * @return array 1145 */ 1146 public function list_columns() 1147 { 1148 // Proxy to database 1149 return $this->_db->list_columns($this->_table_name); 1150 } 1151 1152 /** 1153 * Proxy method to Database field_data. 1154 *
-
MODPATH/orm/classes/kohana/orm.php [ 1033 ] » Kohana_ORM->list_columns(arguments)
0
bool TRUE
1028 $this->_table_columns = ORM::$_column_cache[$this->_object_name]; 1029 } 1030 else 1031 { 1032 // Grab column information from database 1033 $this->_table_columns = $this->list_columns(TRUE); 1034 1035 // Load column cache 1036 ORM::$_column_cache[$this->_object_name] = $this->_table_columns; 1037 } 1038 }
-
MODPATH/orm/classes/kohana/orm.php [ 509 ] » Kohana_ORM->reload_columns()
504 505 $this->_has_many[$alias] = array_merge($defaults, $details); 506 } 507 508 // Load column information 509 $this->reload_columns(); 510 } 511 512 /** 513 * Initializes validation rules, callbacks, filters, and labels 514 *
-
MODPATH/orm/classes/kohana/orm.php [ 140 ] » Kohana_ORM->_initialize()
135 // Optimize for performance 136 $this->_ignored_columns = array_combine($this->_ignored_columns, $this->_ignored_columns); 137 } 138 139 // Initialize database 140 $this->_initialize(); 141 142 // Clear the object 143 $this->clear(); 144 145 if ($id !== NULL)
-
MODPATH/orm/classes/kohana/orm.php [ 112 ] » Kohana_ORM->__construct(arguments)
0
integer 8
107 public static function factory($model, $id = NULL) 108 { 109 // Set class name 110 $model = 'Model_'.ucfirst($model); 111 112 return new $model($id); 113 } 114 115 /** 116 * Prepares the model database connection and loads the object. 117 *
-
APPPATH/classes/controller/consultoria.php [ 9 ] » Kohana_ORM::factory(arguments)
0
string(6) "pagina"
1
integer 8
4 Class Controller_consultoria extends Controller_Layout { 5 public function action_index() { 6 $config = Kohana::$config->load('template'); 7 $page = View::factory('pages/'.$config->template['version'].'/fazemos'); 8 9 $paginas = ORM::factory('pagina', 8); 10 11 12 $page->title = $paginas->PAG_TITULO; 13 $page->text = $paginas->PAG_TEXTO; 14 $page->menu = $paginas->MEN_IDMENU;
-
{PHP internal call} » Controller_consultoria->action_index()
-
SYSPATH/classes/kohana/request.php [ 1046 ] » ReflectionMethod->invokeArgs(arguments)
0
object Controller_consultoria(3)
{ public template => object View(2)
{ protected _file => string(54) "/home/galaxis/www/application/views/templates/2014.php" protected _data => array(9) ( "title" => string(0) "" "meta_keywords" => string(0) "" "meta_description" => string(0) "" "meta_copywrite" => string(0) "" "header" => string(0) "" "content" => string(0) "" "footer" => string(0) "" "styles" => array(0) "scripts" => array(0) ) }
public auto_render => bool TRUE public request => object Request(9){ public route => object Route(4)
}{ protected _uri => string(23) "consultoria-estrategica" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(11) "consultoria" "action" => string(5) "index" ) protected _route_regex => string(29) "#^consultoria-estrategica$#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(11) "consultoria" public action => string(5) "index" public uri => string(23) "consultoria-estrategica" 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 [ 170 ] » Kohana_Request->execute()
165 /** 166 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 167 * If no source is specified, the URI will be automatically detected. 168 */ 169 echo Request::instance() 170 ->execute() 171 ->send_headers() 172 ->response; 173 }
-
DOCROOT/index.php [ 104 ] » require(arguments)
0
string(43) "/home/galaxis/www/application/bootstrap.php"
99 // Load empty core extension 100 require SYSPATH.'classes/kohana'.EXT; 101 } 102 103 // Bootstrap the application 104 require APPPATH.'bootstrap'.EXT;