[eluser]Lacsap[/eluser]
Hello
I'm working now with Codeigniter and i must say it saves a lot of time

But my problem now costs me a lot of time.
First:
I dont have this problem on localhost!
If i upload this site to my webhoster im getting this error!
And i wanna ask. Is it important to pay attention on writing:
Code:
$this->my_model->function();
with my_model or My_model?
If i call this model with a lower case first letter i'm getting error on localhost and on my webhost. But only with this model! I call all other models with lower case first letter!
With a upper case first latter i dont get any errors on localhost but on my webhost.
Error on webhost:
Quote:Fatal error: Call to undefined method My_model::get() in .../system/application/controllers/mycontroller.php on line 29
on line 29:
Code:
$data['vars'] = $this->My_model->get();
the function is:
Code:
return $this->db->query($sql)->result();
Ive got PHP Version 5.2.11 on webhost.
And PHP Version 5.3.0 on localhost.
I hope that are enough imformations to solve my problem :-(
THANKS !