Welcome Guest, Not a member yet? Register   Sign In
Need Help with writing my first library
#1

[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?




Theme © iAndrew 2016 - Forum software by © MyBB