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)
code
integer 8192
error
string(111) "mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead"
file
string(117) "/data/9/7/973e2051-a388-4993-99ef-7ebdac6c89a6/kasl-nabytek.cz/www/modules/database/classes/kohana/database/mysql.php"
line
integer 56
4
array(7) ( "hostname" => string(9) "localhost" "username" => string(10) "kasl_nabyt" "password" => string(8) "Bww4KX6A" "persistent" => bool FALSE "database" => string(10) "kasl_nabyt" "port" => NULL "socket" => NULL )
-
MODPATH/database/classes/kohana/database/mysql.php [ 56 ] » mysql_connect(arguments)
hostname
string(9) "localhost"
username
string(10) "kasl_nabyt"
password
string(8) "Bww4KX6A"
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)
type
integer 1
sql
string(32) "SHOW FULL COLUMNS FROM `kuchyne`"
as_object
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)
table
string(7) "kuchyne"
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)
id
NULL
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/sortiment.php [ 333 ] » Kohana_ORM::factory(arguments)
model
string(7) "kuchyne"
328 $this->template->title = 'Kuchyně - '; 329 $this->template->descriptions = 'V našem sortimentu nábytku nabízíme velký výběr kuchyní, materiálů a jejich barevných kombinací.'; 330 331 $paging = new Pagination(array 332 ( 333 'total_items' => ORM::factory('kuchyne')->count_all(), 334 'items_per_page' => 12, 335 'current_page' => array('source' => 'route', 'key' => 'page'), 336 'auto_hide' => TRUE, 337 'view' => 'pagination/jonny', 338 ));
-
{PHP internal call} » Controller_Sortiment->action_kuchyne(arguments)
page
string(1) "2"
-
SYSPATH/classes/kohana/request.php [ 1025 ] » ReflectionMethod->invokeArgs(arguments)
object
object Controller_Sortiment(6)
{ public template => object View(2)
{ protected _file => string(97) "/data/9/7/973e2051-a388-4993-99ef-7ebdac6c89a6/kasl-nabytek.cz/www/application/views/template.php" protected _data => array(13) ( "title" => string(11) "Kuchyně - " "meta_keywords" => string(0) "" "meta_description" => string(0) "" "styles" => array(0) "scripts" => array(0) "scripts_end" => array(0) "active" => string(17) "sortiment-nabytku" "descriptions" => string(108) "V našem sortimentu nábytku nabízíme velký výběr kuchyní, materiálů a jejich barevných kombinací." "keywords" => string(0) "" "content" => object View(2)
public auto_render => bool TRUE public auth_required => bool FALSE public secure_actions => bool FALSE public request => object Request(9){ protected _file => string(102) "/data/9/7/973e2051-a388-4993-99ef-7ebdac6c89a6/kasl-nabytek.cz/www/application/views/admin/content.php" protected _data => array(0) }
"h1" => string(0) "" "controllerName" => string(9) "sortiment" "actionName" => string(7) "kuchyne" ) }{ public route => object Route(4)
public session => object Session_Native(5){ protected _uri => string(37) "sortiment-nabytku(/<action>(/<page>))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(9) "sortiment" "action" => string(5) "index" ) protected _route_regex => string(81) "#^sortiment-nabytku(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<page>[^/.,;?\n]++))?)?$#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(9) "sortiment" public action => string(7) "kuchyne" public uri => string(27) "sortiment-nabytku/kuchyne/2" protected _params => array(1) ( "page" => string(1) "2" ) }{ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(0) protected _destroyed => bool FALSE }
}args
array(1) ( "page" => string(1) "2" )
1020 1021 // Determine the action to use 1022 $action = empty($this->action) ? Route::$default_action : $this->action; 1023 1024 // Execute the main action with the parameters 1025 $class->getMethod('action_'.$action)->invokeArgs($controller, $this->_params); 1026 1027 // Execute the "after action" method 1028 $class->getMethod('after')->invoke($controller); 1029 } 1030 catch (Exception $e)
-
APPPATH/bootstrap.php [ 222 ] » Kohana_Request->execute()
217 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 218 * If no source is specified, the URI will be automatically detected. 219 */ 220 try { 221 // Attempt to execute the response 222 $request = Request::instance()->execute(); 223 224 // Display the request response. 225 echo $request->send_headers()->response; 226 } catch (Exception $e) { 227 if (!IN_PRODUCTION) {
-
DOCROOT/index.php [ 103 ] » require(arguments)
0
string(92) "/data/9/7/973e2051-a388-4993-99ef-7ebdac6c89a6/kasl-nabytek.cz/www/application/bootstrap.php"
98 // Load empty core extension 99 require SYSPATH.'classes/kohana'.EXT; 100 } 101 102 // Bootstrap the application 103 require APPPATH.'bootstrap'.EXT;