$autoload['model'] isn't loading models

#1
[eluser]Unknown[/eluser]
The only way that I can load models is through $this->load->model('modelname);

Anyone experience this issue?

Also, if I load a model, within a model, it is just ignored and not loaded.

#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');


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.