[eluser]CI Coder[/eluser]
[quote author="jedd" date="1256316498"]FWIW, this forum isn't scattered with people having the same problem, so it's probably something specific to your environment there.
Right now I'd probably just dump what I have, and start again with a new copy of the CI core, and pick a different tutorial to be getting on with.
If you have an Apache / Linux web server, I'd stick with developing on that - IIS is the smaller camp for most people around here, and has generally been regarded as a product that does Weird Things (and not just by CI types).[/quote]
I ran into the same problem on Apache / Linux. I am not sure, but I kind of guess why it happens. When I try to load a model from another model I get the error. If, however, I do this:
Code:
$CI =& get_instance();
$CI->load->model('my_model');
$CI->my_model->method('something');
it works just as intended. I am guessing CI doesn't quite like the fact that I name instances of my models differently than their class names. There might be something with the way CI assigns variables to objects. Anyway, CI is still best.