Cannot load Model? |
[eluser]helloworld7[/eluser]
Look at this on the section about loading. http://ellislab.com/codeigniter/user-gui...odels.html It has this: class Blog_controller extends CI_Controller { function blog() { $this->load->model('Blog'); $data['query'] = $this->Blog->get_last_ten_entries(); $this->load->view('blog', $data); } } It has UPPER CASE and worked on my machine then not on hosting. I will give it a try to change to lower case but if that works then I like to know why work on one place and not another. I think anyone would like to know too. |
Messages In This Thread |
Cannot load Model? - by El Forum - 06-16-2011, 01:51 PM
Cannot load Model? - by El Forum - 06-16-2011, 04:26 PM
Cannot load Model? - by El Forum - 06-16-2011, 08:25 PM
Cannot load Model? - by El Forum - 06-16-2011, 09:51 PM
Cannot load Model? - by El Forum - 06-16-2011, 09:59 PM
Cannot load Model? - by El Forum - 06-16-2011, 10:03 PM
Cannot load Model? - by El Forum - 06-16-2011, 10:03 PM
Cannot load Model? - by El Forum - 06-16-2011, 10:35 PM
Cannot load Model? - by El Forum - 06-17-2011, 02:34 AM
|