ErrorException [ 8192 ]: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead

FCPATH/application/core/MY_Router.php [ 119 ]

114 	
115 	
116 	function _getDBRoute($route) {
117 	    include(APPPATH.'config/database'.EXT);
118 	
119 	    $conn = mysql_connect($db['default']['hostname'], $db['default']['username'], $db['default']['password']);
120 	    mysql_select_db($db['default']['database'],$conn);
121 		$sql = "SELECT route FROM `routes` WHERE `uri` = '" . mysql_real_escape_string($route) . "' LIMIT 1";
122 	    $query = mysql_query($sql);
123 	    $row = mysql_fetch_object($query);
124 		$r = $row->route;
  1. {PHP internal call} » MY_Exceptions::error_handler(arguments)

  2. FCPATH/application/core/MY_Router.php [ 119 ] » mysql_connect(arguments)

  3. FCPATH/application/core/MY_Router.php [ 88 ] » MY_Router->_getDBRoute(arguments)

  4. FCPATH/system/core/Router.php [ 227 ] » MY_Router->_validate_request(arguments)

  5. FCPATH/system/core/Router.php [ 395 ] » CI_Router->_set_request(arguments)

  6. FCPATH/system/core/Router.php [ 170 ] » CI_Router->_parse_routes()

  7. FCPATH/system/core/CodeIgniter.php [ 173 ] » CI_Router->_set_routing()

  8. FCPATH/index.php [ 253 ] » require_once(arguments)

Environment

ErrorException [ Fatal Error ]: The page you requested was not found.

[ 0 ]

  1. FCPATH/system/core/Exceptions.php [ 115 ] » MY_Exceptions->show_error(arguments)

  2. FCPATH/system/core/Common.php [ 331 ] » CI_Exceptions->show_404(arguments)

  3. FCPATH/application/core/MY_Router.php [ 111 ] » show_404(arguments)

  4. FCPATH/system/core/Router.php [ 227 ] » MY_Router->_validate_request(arguments)

  5. FCPATH/system/core/Router.php [ 395 ] » CI_Router->_set_request(arguments)

  6. FCPATH/system/core/Router.php [ 170 ] » CI_Router->_parse_routes()

  7. FCPATH/system/core/CodeIgniter.php [ 173 ] » CI_Router->_set_routing()

  8. FCPATH/index.php [ 253 ] » require_once(arguments)

Environment