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 2
error
string(17) "mysql_connect(): "
file
string(70) "C:\xa54\htdocs\kasl\modules\database\classes\kohana\database\mysql.php"
line
integer 56
4
array(7) ( "hostname" => string(9) "localhost" "username" => string(4) "root" "password" => string(0) "" "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(4) "root"
password
string(0) ""
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(39) "SHOW FULL COLUMNS FROM `loznicepostele`"
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(14) "loznicepostele"
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 [ 409 ] » Kohana_ORM::factory(arguments)
model
string(14) "loznicepostele"
404 $this->template->title = 'Ložnice a postele - '; 405 $this->template->descriptions = 'Nabízíme masivní postele vyráběné z kvalitního masivního dřeva, laminofólie, čalouněné nebo kovové. Postele z masivního dřeva mají pevnou konstrukci s dlouhou životností.'; 406 407 $paging = new Pagination(array 408 ( 409 'total_items' => ORM::factory('loznicepostele')->count_all(), 410 'items_per_page' => 12, 411 'current_page' => array('source' => 'route', 'key' => 'page'), 412 'auto_hide' => TRUE, 413 'view' => 'pagination/jonny', 414 ));
-
{PHP internal call} » Controller_Sortiment->action_loznice_postele()
-
SYSPATH/classes\kohana\request.php [ 1025 ] » ReflectionMethod->invokeArgs(arguments)
object
object Controller_Sortiment(6)
{ public template => object View(2)
{ protected _file => string(50) "C:\xa54\htdocs\kasl\application\views\template.php" protected _data => array(13) ( "title" => string(21) "Ložnice a postele - " "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(189) "Nabízíme masivní postele vyráběné z kvalitního masivního dřeva, laminofólie, čalouněné nebo kovové. Postele z masivního dřeva ma …" "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(55) "C:\xa54\htdocs\kasl\application\views\admin/content.php" protected _data => array(0) }
"h1" => string(0) "" "controllerName" => string(9) "sortiment" "actionName" => string(15) "loznice-postele" ) }{ 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(15) "loznice_postele" public uri => string(33) "sortiment-nabytku/loznice-postele" protected _params => array(0) }{ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(1) ( "last_active" => integer 1713277396 ) protected _destroyed => bool FALSE }
}args
array(0)
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(45) "C:\xa54\htdocs\kasl\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;