ErrorException [ Deprecated ]:
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(78) "/home1/norookie/public_html/modules/database/classes/kohana/database/mysql.php"
line
integer 56
4
array(7) ( "hostname" => string(9) "localhost" "username" => string(13) "norookie_user" "password" => string(4) "demo" "persistent" => bool FALSE "database" => string(11) "norookie_db" "port" => NULL "socket" => NULL )
-
MODPATH/database/classes/kohana/database/mysql.php [ 56 ] » mysql_connect(arguments)
hostname
string(9) "localhost"
username
string(13) "norookie_user"
password
string(4) "demo"
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 [ 151 ] » Kohana_Database_MySQL->connect()
146 } 147 148 public function query($type, $sql, $as_object) 149 { 150 // Make sure the database is connected 151 $this->_connection or $this->connect(); 152 153 if ( ! empty($this->_config['profiling'])) 154 { 155 // Benchmark this query for the current instance 156 $benchmark = Profiler::start("Database ({$this->_instance})", $sql);
-
MODPATH/database/classes/kohana/database/mysql.php [ 289 ] » Kohana_Database_MySQL->query(arguments)
type
integer 1
sql
string(31) "SHOW FULL COLUMNS FROM `slides`"
as_object
bool FALSE
284 $result = $this->query(Database::SELECT, 'SHOW FULL COLUMNS FROM '.$table.' LIKE '.$this->quote($like), FALSE); 285 } 286 else 287 { 288 // Find all column names 289 $result = $this->query(Database::SELECT, 'SHOW FULL COLUMNS FROM '.$table, FALSE); 290 } 291 292 $count = 0; 293 $columns = array(); 294 foreach ($result as $row)
-
MODPATH/orm/classes/kohana/orm.php [ 1149 ] » Kohana_Database_MySQL->list_columns(arguments)
table
string(6) "slides"
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/views/site/home.php [ 12 ] » Kohana_ORM::factory(arguments)
model
string(5) "slide"
7 <div class="slide-container"> 8 9 </div> 10 11 </div> */ ?> 12 <?php foreach (ORM::factory('slide')->where('position', '=', 'home')->find_all() as $slide): ?> 13 <?php echo View::factory('site/slides/item')->set('slide', $slide); ?> 14 <?php endforeach; ?> 15 </div> 16 <div class="slide-nav"> <a href="javascript:void(0)" class="slide-next" id="next">Next</a> <a href="javascript:void(0)" class="slide-prev" id="prev">Previous</a> </div> 17 </div>
-
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0
string(59) "/home1/norookie/public_html/application/views/site/home.php"
56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean();
-
SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture(arguments)
kohana_view_filename
string(59) "/home1/norookie/public_html/application/views/site/home.php"
kohana_view_data
array(0)
338 { 339 throw new Kohana_View_Exception('You must set the file to use within your view before rendering'); 340 } 341 342 // Combine local and global data and capture the output 343 return View::capture($this->_file, $this->_data); 344 } 345 346 } // End View
-
SYSPATH/classes/kohana/view.php [ 228 ] » Kohana_View->render()
223 */ 224 public function __toString() 225 { 226 try 227 { 228 return $this->render(); 229 } 230 catch (Exception $e) 231 { 232 // Display the exception message 233 Kohana::exception_handler($e);
-
APPPATH/views/template.php [ 28 ] » Kohana_View->__toString()
23 <li><a href="<?php echo URL::site('about'); ?>"<?php echo $current == 'about' ? ' class="current"' : ''; ?>>About</a></li> 24 <li><a href="<?php echo URL::site('contact'); ?>"<?php echo $current == 'contact' ? ' class="current"' : ''; ?>>Contact</a></li> 25 </ul> 26 </div> 27 <div id="content"> 28 <?php if ($template) echo View::factory('site/' . $template)->set($params); ?> 29 </div> 30 <div id="footer"> 31 <div class="address"> 32 <img src="<?php echo URL::base(); ?>assets/skins/default/images/footer-logo.jpg" alt="" /> 33
-
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0
string(58) "/home1/norookie/public_html/application/views/template.php"
56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean();
-
SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture(arguments)
kohana_view_filename
string(58) "/home1/norookie/public_html/application/views/template.php"
kohana_view_data
array(5) ( "title" => string(10) "Enjoy Life" "template" => string(4) "home" "head" => array(6) ( 0 => string(228) "<script type='text/javascript'>$(function(){$('.slides').cycle({fx:'scrollHorz',prev:'#prev',next:'#next',pause:1,pauseOnPagerHo …" 1 => string(75) "<script type="text/javascript" src="/assets/js/jquery.blockUI.js"></script>" 2 => string(75) "<script type="text/javascript" src="/assets/js/flashembed.min.js"></script>" 3 => string(72) "<script type="text/javascript" src="/assets/js/jScrollPane.js"></script>" 4 => string(70) "<script type="text/javascript" src="/assets/js/jquery.em.js"></script>" 5 => string(78) "<script type="text/javascript" src="/assets/js/jquery.mousewheel.js"></script>" ) "current" => string(8) "services" "params" => array(0) )
338 { 339 throw new Kohana_View_Exception('You must set the file to use within your view before rendering'); 340 } 341 342 // Combine local and global data and capture the output 343 return View::capture($this->_file, $this->_data); 344 } 345 346 } // End View
-
SYSPATH/classes/kohana/view.php [ 228 ] » Kohana_View->render()
223 */ 224 public function __toString() 225 { 226 try 227 { 228 return $this->render(); 229 } 230 catch (Exception $e) 231 { 232 // Display the exception message 233 Kohana::exception_handler($e);
-
APPPATH/classes/application.php [ 15 ] » Kohana_View->__toString()
10 $response = $request 11 ->execute() 12 ->send_headers() 13 ->response; 14 15 echo $response; 16 } 17 catch (Kohana_Request_Exception $ex) 18 { 19 //Kohana_Log::instance()->add(Kohana::ERROR, Kohana::exception_text($ex)); 20 die(View::factory('application/errors/404'));
-
APPPATH/bootstrap.php [ 116 ] » Application::run()
111 /** 112 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 113 * If no source is specified, the URI will be automatically detected. 114 */ 115 116 Application::run();
-
DOCROOT/index.php [ 103 ] » require(arguments)
0
string(53) "/home1/norookie/public_html/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;
Environment
Included files (51)
DOCROOT/index.php |
SYSPATH/base.php |
SYSPATH/classes/kohana/core.php |
SYSPATH/classes/kohana.php |
APPPATH/bootstrap.php |
SYSPATH/classes/profiler.php |
SYSPATH/classes/kohana/profiler.php |
SYSPATH/classes/kohana/log.php |
SYSPATH/classes/kohana/config.php |
SYSPATH/classes/kohana/log/file.php |
SYSPATH/classes/kohana/log/writer.php |
SYSPATH/classes/kohana/config/file.php |
SYSPATH/classes/kohana/config/reader.php |
SYSPATH/classes/route.php |
SYSPATH/classes/kohana/route.php |
APPPATH/classes/application.php |
SYSPATH/classes/request.php |
SYSPATH/classes/kohana/request.php |
APPPATH/classes/controller/index.php |
APPPATH/classes/appcontroller.php |
SYSPATH/classes/controller.php |
SYSPATH/classes/kohana/controller.php |
APPPATH/classes/userauth.php |
SYSPATH/classes/view.php |
SYSPATH/classes/kohana/view.php |
SYSPATH/classes/html.php |
SYSPATH/classes/kohana/html.php |
APPPATH/classes/url.php |
SYSPATH/classes/kohana/url.php |
APPPATH/views/template.php |
APPPATH/views/site/home.php |
MODPATH/orm/classes/orm.php |
MODPATH/orm/classes/kohana/orm.php |
APPPATH/classes/model/slide.php |
APPPATH/classes/orm/form.php |
MODPATH/ormform/classes/kohana/orm/form.php |
SYSPATH/classes/inflector.php |
SYSPATH/classes/kohana/inflector.php |
APPPATH/classes/arr.php |
SYSPATH/classes/kohana/arr.php |
SYSPATH/config/inflector.php |
MODPATH/database/classes/database.php |
MODPATH/database/classes/kohana/database.php |
MODPATH/database/config/database.php |
APPPATH/config/database.php |
MODPATH/database/classes/database/mysql.php |
MODPATH/database/classes/kohana/database/mysql.php |
SYSPATH/views/kohana/error.php |
SYSPATH/classes/i18n.php |
SYSPATH/classes/kohana/i18n.php |
SYSPATH/classes/utf8.php |
Loaded extensions (66)
Core |
date |
ereg |
libxml |
openssl |
pcre |
zlib |
filter |
hash |
Reflection |
SPL |
session |
standard |
litespeed |
bcmath |
bz2 |
calendar |
ctype |
curl |
dom |
mbstring |
fileinfo |
ftp |
gd |
gettext |
gmp |
iconv |
imagick |
imap |
intl |
json |
exif |
mcrypt |
mssql |
mysqlnd |
mysql |
mysqli |
odbc |
PDO |
pdo_dblib |
pdo_mysql |
PDO_ODBC |
pdo_pgsql |
pdo_sqlite |
pgsql |
Phar |
posix |
pspell |
SimpleXML |
soap |
sockets |
SourceGuardian |
sqlite3 |
tidy |
tokenizer |
xml |
wddx |
xmlreader |
xmlrpc |
xmlwriter |
xsl |
zip |
mhash |
ionCube Loader |
Zend Guard Loader |
Zend OPcache |
$_SERVER
LSPHP_ENABLE_USER_INI |
string(2) "on" |
PATH |
string(28) "/usr/local/bin:/usr/bin:/bin" |
TEMP |
string(4) "/tmp" |
TMP |
string(4) "/tmp" |
TMPDIR |
string(4) "/tmp" |
PWD |
string(1) "/" |
HTTP_ACCEPT |
string(3) "*/*" |
CONTENT_LENGTH |
string(1) "0" |
HTTP_HOST |
string(12) "norookie.com" |
HTTP_USER_AGENT |
string(9) "claudebot" |
UNIQUE_ID |
string(27) "ZflajGG1s7fjV3cipAZttgAAAFE" |
QS_SrvConn |
string(2) "42" |
QS_AllConn |
string(2) "42" |
QS_ConnectionId |
string(24) "171084045860700009716538" |
SCRIPT_URL |
string(1) "/" |
SCRIPT_URI |
string(20) "http://norookie.com/" |
SERVER_SIGNATURE |
string(0) "" |
SERVER_SOFTWARE |
string(6) "Apache" |
SERVER_NAME |
string(12) "norookie.com" |
SERVER_ADDR |
string(13) "192.185.29.14" |
SERVER_PORT |
string(2) "80" |
REMOTE_ADDR |
string(13) "107.23.85.179" |
DOCUMENT_ROOT |
string(27) "/home1/norookie/public_html" |
REQUEST_SCHEME |
string(4) "http" |
CONTEXT_PREFIX |
string(0) "" |
CONTEXT_DOCUMENT_ROOT |
string(27) "/home1/norookie/public_html" |
SERVER_ADMIN |
string(22) "webmaster@norookie.com" |
SCRIPT_FILENAME |
string(37) "/home1/norookie/public_html/index.php" |
REMOTE_PORT |
string(5) "36620" |
SERVER_PROTOCOL |
string(8) "HTTP/1.1" |
REQUEST_METHOD |
string(3) "GET" |
QUERY_STRING |
string(0) "" |
REQUEST_URI |
string(1) "/" |
SCRIPT_NAME |
string(10) "/index.php" |
PHP_SELF |
string(10) "/index.php" |
REQUEST_TIME_FLOAT |
float 1710840460.19 |
REQUEST_TIME |
integer 1710840460 |
argv |
array(0) |
argc |
integer 0 |