"Undefined property: CI_Loader" - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: "Undefined property: CI_Loader" (/showthread.php?tid=9900) |
"Undefined property: CI_Loader" - El Forum - 07-12-2008 [eluser]Dauntless[/eluser] Hi, I've already built an entire site with CI, but for some reason I'm stuck at the start with my next site... What I have now: Code: <?php Code: <?php $this->load->view("includes/header") ?> Code: <?=$this->active ?> Quote:A PHP Error was encounteredWhy doesn't he find my $active ? I know it's probably something stupid, but I just can't figure it out :S Greets! "Undefined property: CI_Loader" - El Forum - 07-12-2008 [eluser]wiredesignz[/eluser] The error is telling you that $active is not a class variable of the view loader. Try just $active instead of $this->active "Undefined property: CI_Loader" - El Forum - 07-12-2008 [eluser]Dauntless[/eluser] That's weird, I thought I already tried that :S. It seems to work now, so thank you for your reply & sorry for wasting your time |