Welcome Guest, Not a member yet? Register   Sign In
CI update from 1.7 to 2.0 getting Fatal error: Class 'CI_Controller' not found in CodeIgniter.php on line 210
#13

[eluser]tdegryse[/eluser]
BTW MY_Security looks like this

Code:
class MY_Security extends CI_Security{

private $CI = null;

// TODO: ensure it's admin/user safe

/**
  * __construct()
  *
  * Constructor
  * Load the classes
  *
  * @access public
  * @param none
  * @return void
  */
public function __construct()
{
  $this->CI =& get_instance();
  
  $this->CI->load->library('encrypt');
  $this->CI->load->library('validation');
}

I get a Call to a member function library() on a non-object on the load library line


Messages In This Thread
CI update from 1.7 to 2.0 getting Fatal error: Class 'CI_Controller' not found in CodeIgniter.php on line 210 - by El Forum - 02-02-2013, 04:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB