Help with Unable to load the requested file |
[eluser]getbackwards[/eluser]
Hi, I am trying to make my way through Elliot Haughin's first screencast (http://www.haughin.com/screencasts/). I've got up to the part where http://localhost/codeig/index.php/ should be dynamically loading the header, content and footer to make up the page. Instead my header appears (In the CI error style) and I get this message: An Error Was Encountered Unable to load the requested file: front/modules/pages/loader.php this is my pages controller Code: <?php and this is my loader view file: Code: <?php I guess the problem is something to do with $view because if I code my loader file like this: Code: <?php What is going wrong? Who did this too me? Any help much appreciated :roll:
[eluser]gtech[/eluser]
you may kick yourself here but in the controller: $this->templates['view'] = $view; should be: $this->template['view'] = $view;
[eluser]getbackwards[/eluser]
You're right, I am kicking myself... ...but it works now Yay! Thank you so much :-)
|
Welcome Guest, Not a member yet? Register Sign In |