ErrorException Object ( [message:protected] => mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead [string:Exception:private] => [code:protected] => 8192 [file:protected] => /home/endeavor/public_html2/staging2/modules/database/classes/kohana/database/mysql.php [line:protected] => 56 [trace:Exception:private] => Array ( [0] => Array ( [function] => error_handler [class] => Kohana_Core [type] => :: [args] => Array ( [0] => 8192 [1] => mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead [2] => /home/endeavor/public_html2/staging2/modules/database/classes/kohana/database/mysql.php [3] => 56 [4] => Array ( [hostname] => localhost [username] => endeavor_staging [password] => staging@123 [persistent] => [database] => endeavor_staging [port] => [socket] => ) ) ) [1] => Array ( [file] => /home/endeavor/public_html2/staging2/modules/database/classes/kohana/database/mysql.php [line] => 56 [function] => mysql_connect [args] => Array ( [0] => localhost [1] => endeavor_staging [2] => staging@123 [3] => 1 ) ) [2] => Array ( [file] => /home/endeavor/public_html2/staging2/modules/database/classes/kohana/database/mysql.php [line] => 151 [function] => connect [class] => Kohana_Database_MySQL [type] => -> [args] => Array ( ) ) [3] => Array ( [file] => /home/endeavor/public_html2/staging2/modules/database/classes/kohana/database/mysql.php [line] => 289 [function] => query [class] => Kohana_Database_MySQL [type] => -> [args] => Array ( [0] => 1 [1] => SHOW FULL COLUMNS FROM `programs` [2] => ) ) [4] => Array ( [file] => /home/endeavor/public_html2/staging2/modules/orm/classes/kohana/orm.php [line] => 1149 [function] => list_columns [class] => Kohana_Database_MySQL [type] => -> [args] => Array ( [0] => programs ) ) [5] => Array ( [file] => /home/endeavor/public_html2/staging2/modules/orm/classes/kohana/orm.php [line] => 1033 [function] => list_columns [class] => Kohana_ORM [type] => -> [args] => Array ( [0] => 1 ) ) [6] => Array ( [file] => /home/endeavor/public_html2/staging2/modules/orm/classes/kohana/orm.php [line] => 509 [function] => reload_columns [class] => Kohana_ORM [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /home/endeavor/public_html2/staging2/modules/orm/classes/kohana/orm.php [line] => 140 [function] => _initialize [class] => Kohana_ORM [type] => -> [args] => Array ( ) ) [8] => Array ( [file] => /home/endeavor/public_html2/staging2/modules/orm/classes/kohana/orm.php [line] => 112 [function] => __construct [class] => Kohana_ORM [type] => -> [args] => Array ( [0] => 2 ) ) [9] => Array ( [file] => /home/endeavor/public_html2/staging2/application/classes/controller/model.php [line] => 38 [function] => factory [class] => Kohana_ORM [type] => :: [args] => Array ( [0] => program [1] => 2 ) ) [10] => Array ( [function] => action_program [class] => Controller_Model [type] => -> [args] => Array ( [0] => emba-program [1] => 2 ) ) [11] => Array ( [file] => /home/endeavor/public_html2/staging2/system/classes/kohana/request.php [line] => 996 [function] => invokeArgs [class] => ReflectionMethod [type] => -> [args] => Array ( [0] => Controller_Model Object ( [template] => View Object ( [_file:protected] => /home/endeavor/public_html2/staging2/application/views/templates/default.php [_data:protected] => Array ( [title] => Endeavor [content] => [header_section] => [section] => [sub_section] => [post_javascript] => [styles] => Array ( ) [scripts] => Array ( ) ) ) [auto_render] => 1 [request] => Request Object ( [route] => Route Object ( [_uri:protected] => model/programs// [_regex:protected] => Array ( ) [_defaults:protected] => Array ( [controller] => model [action] => program ) [_route_regex:protected] => #^model/programs/(?P[^/.,;?\n]++)/(?P[^/.,;?\n]++)$#uD ) [status] => 500 [response] => [headers] => Array ( [Content-Type] => text/html; charset=utf-8 ) [directory] => [controller] => model [action] => program [uri] => model/programs/emba-program/2 [_params:protected] => Array ( [name] => emba-program [id] => 2 ) ) [session] => Session_Native Object ( [_name:protected] => session [_lifetime:protected] => 0 [_encrypted:protected] => [_data:protected] => Array ( ) [_destroyed:protected] => ) ) [1] => Array ( [name] => emba-program [id] => 2 ) ) ) [12] => Array ( [file] => /home/endeavor/public_html2/staging2/application/bootstrap.php [line] => 95 [function] => execute [class] => Kohana_Request [type] => -> [args] => Array ( ) ) [13] => Array ( [file] => /home/endeavor/public_html2/staging2/index.php [line] => 103 [args] => Array ( [0] => /home/endeavor/public_html2/staging2/application/bootstrap.php ) [function] => require ) ) [previous:Exception:private] => [severity:protected] => 0 ) exception 'ErrorException' with message 'mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead' in /home/endeavor/public_html2/staging2/modules/database/classes/kohana/database/mysql.php:56 Stack trace: #0 [internal function]: Kohana_Core::error_handler(8192, 'mysql_connect()...', '/home/endeavor/...', 56, Array) #1 /home/endeavor/public_html2/staging2/modules/database/classes/kohana/database/mysql.php(56): mysql_connect('localhost', 'endeavor_stagin...', 'staging@123', true) #2 /home/endeavor/public_html2/staging2/modules/database/classes/kohana/database/mysql.php(151): Kohana_Database_MySQL->connect() #3 /home/endeavor/public_html2/staging2/modules/database/classes/kohana/database/mysql.php(289): Kohana_Database_MySQL->query(1, 'SHOW FULL COLUM...', false) #4 /home/endeavor/public_html2/staging2/modules/orm/classes/kohana/orm.php(1149): Kohana_Database_MySQL->list_columns('programs') #5 /home/endeavor/public_html2/staging2/modules/orm/classes/kohana/orm.php(1033): Kohana_ORM->list_columns(true) #6 /home/endeavor/public_html2/staging2/modules/orm/classes/kohana/orm.php(509): Kohana_ORM->reload_columns() #7 /home/endeavor/public_html2/staging2/modules/orm/classes/kohana/orm.php(140): Kohana_ORM->_initialize() #8 /home/endeavor/public_html2/staging2/modules/orm/classes/kohana/orm.php(112): Kohana_ORM->__construct('2') #9 /home/endeavor/public_html2/staging2/application/classes/controller/model.php(38): Kohana_ORM::factory('program', '2') #10 [internal function]: Controller_Model->action_program('emba-program', '2') #11 /home/endeavor/public_html2/staging2/system/classes/kohana/request.php(996): ReflectionMethod->invokeArgs(Object(Controller_Model), Array) #12 /home/endeavor/public_html2/staging2/application/bootstrap.php(95): Kohana_Request->execute() #13 /home/endeavor/public_html2/staging2/index.php(103): require('/home/endeavor/...') #14 {main}