Welcome Guest, Not a member yet? Register   Sign In
$autoload['model'] isn't loading models
#2

[eluser]Unknown[/eluser]
I added:
Code:
function __construct() {
        parent::__construct();
        $CI =& get_instance();
  $CI->load->model('fileOps','fileOps',true);
    }

to the constructor of the model I'm currently working in. I still get the same error message:

Quote:Unable to locate the model you have specified: fileops

when I reference it likes this:

Code:
$pdf = $CI->fileOps->uploadPDF('pdf');


Messages In This Thread
$autoload['model'] isn't loading models - by El Forum - 07-02-2013, 09:30 AM
$autoload['model'] isn't loading models - by El Forum - 07-02-2013, 09:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB