MODPATH/mysqli/classes/kohana/database/mysqli.php [ 182 ]
177 {
178 // This benchmark is worthless
179 Profiler::delete($benchmark);
180 }
181
182 throw new Database_Exception('[:code] :error ( :query )', array(
183 ':code' => $this->_connection->errno,
184 ':error' => $this->_connection->error,
185 ':query' => $sql,
186 ), $this->_connection->errno);
187 }
-
MODPATH/database/classes/kohana/database/query.php [ 207 ] » Kohana_Database_MySQLi->query(arguments)
0
integer 2
1
string(207) "INSERT INTO `page_not_found` (`pn_url`, `pn_referrer`, `pn_user_agent`, `pn_date`) VALUES ('/gallery/uploads/gallery/images/larg …"
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);
-
MODPATH/kohana-jelly/classes/jelly/builder/core.php [ 108 ] » Kohana_Database_Query->execute(arguments)
0
string(7) "default"
103 $this->select('*'); 104 } 105 } 106 107 // We've now left the Jelly 108 $this->_result = $this->_build()->execute($db); 109 110 // Hand it over to Jelly_Collection if it's a select 111 if ($this->_type === Database::SELECT) 112 { 113 $model = ($this->_meta) ? $this->_meta->model() : NULL;
-
MODPATH/kohana-jelly/classes/jelly/model/core.php [ 476 ] » Jelly_Builder_Core->execute()
471 else 472 { 473 list($id) = Jelly::insert($this) 474 ->columns(array_keys($values)) 475 ->values(array_values($values)) 476 ->execute(); 477 478 // Gotta make sure to set this 479 $this->_changed[$this->_meta->primary_key()] = $id; 480 } 481
-
APPPATH/bootstrap.php [ 382 ] » Jelly_Model_Core->save()
377 array( 378 'pn_url' => Arr::get($_SERVER, 'REQUEST_URI'), 379 'pn_referrer' => Arr::get($_SERVER, 'HTTP_REFERER', 'None'), 380 'pn_user_agent' => Arr::get($_SERVER, 'HTTP_USER_AGENT', 'Unknown'), 381 ) 382 )->save(); 383 Kohana::$log->add('DEBUG', '404: :url', array(':url' => Arr::get($_SERVER, 'REQUEST_URI'))); 384 echo Request::factory('/error/page_not_found') 385 ->execute() 386 ->send_headers() 387 ->response;
-
APPPATH/bootstrap.php [ 346 ] » show404()
341 show404(); 342 } catch (Kohana_Request_Exception $e) { 343 if (SHOW_ERRORS) { 344 throw $e; 345 } 346 show404(); 347 } catch (Exception $e) { 348 if (SHOW_ERRORS) { 349 throw $e; 350 } 351 mailError($e);
-
DOCROOT/index.php [ 103 ] » require(arguments)
0
string(50) "/usr/share/nginx/ts/live/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;