Problems with altervista |
This is my code:
Code: <?php Also the folder "membri" that appears in the path is not part of my site but I think it's part of altervista Code: Message: Unable to locate the model you have specified: Home_model
Debug the method CI_Loader::model directly on the production site and try to see what path is really built about loading the model. Use temporary code, something like: var_dump($path); exit;
Make sure the model's class and filename both start with an uppercase letter: "Home_model". You can use all lowercase when calling the loader and when referencing it via $this->home_model, but the loader is going to look for Home_model.php with a class named Home_model, and some filesystems (like those used in Windows) are case-insensitive, but the filesystems on most servers are not.
If that's not the problem, make sure your APPPATH is set correctly, since APPPATH . 'models/' is where it's most likely to be looking for your model.
My APPPATH is set to
PHP Code: /membri/***/application/ |
Welcome Guest, Not a member yet? Register Sign In |