CodeIgniter Forums
Need Help with writing my first library - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Need Help with writing my first library (/thread-27289.html)



Need Help with writing my first library - El Forum - 02-06-2010

[eluser]mlage[/eluser]
NEVERMIND: I figured it all out.

I'm writing a library to handle all of my errors (both code, and user/visitor errors) and for some reason, the class isn't recognized after loading it in my controller.

A PHP Error was encountered

Severity: Notice

Message: Undefined property: Auth::$Debugclass

Filename: controllers/auth.php

Line Number: 73

Fatal error: Call to a member function arrayOutput() on a non-object in /var/www/LageCMS/system/application/controllers/auth.php on line 73

Line 73: $debug = $this->Debugclass->arrayOutput();

My class seems to compile and I have even tried "auto-loading" the Debugclass. Any help?