Welcome Guest, Not a member yet? Register   Sign In
Load Model in subdirectory (3 level)
#12

[eluser]Glazz[/eluser]
[quote author="Matalina" date="1337011850"]Check the capitalization of your file. I get that and stumble until I realize duh, it can't be a capital letter on the file name. It must be lowercase.[/quote]

He says he is on windows, and windows works fine with something like "Test , test or tEsT" when loading the model.

Code:
$this->load->model('teste/1/2/3/4/5/TeSte_model', 'testingg');
echo $this->testingg->test();

And my file name is teste_model, and it works just fine, on linux it fails of course.



Messages In This Thread
Load Model in subdirectory (3 level) - by El Forum - 05-11-2012, 01:40 PM
Load Model in subdirectory (3 level) - by El Forum - 05-11-2012, 02:38 PM
Load Model in subdirectory (3 level) - by El Forum - 05-12-2012, 01:38 AM
Load Model in subdirectory (3 level) - by El Forum - 05-12-2012, 06:15 AM
Load Model in subdirectory (3 level) - by El Forum - 05-12-2012, 10:35 AM
Load Model in subdirectory (3 level) - by El Forum - 05-12-2012, 10:59 AM
Load Model in subdirectory (3 level) - by El Forum - 05-14-2012, 07:06 AM
Load Model in subdirectory (3 level) - by El Forum - 05-14-2012, 07:45 AM
Load Model in subdirectory (3 level) - by El Forum - 05-14-2012, 07:54 AM
Load Model in subdirectory (3 level) - by El Forum - 05-14-2012, 08:38 AM
Load Model in subdirectory (3 level) - by El Forum - 05-14-2012, 09:10 AM
Load Model in subdirectory (3 level) - by El Forum - 05-14-2012, 09:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB