Welcome Guest, Not a member yet? Register   Sign In
Cannot extend or over-ride CI_Log
#1

[eluser]RJ[/eluser]
I've been trying to extend CI_Log. Every time I add the file class MY_Log extends CI_Log the site goes blank white.

I tried copying the system Log.php file into my applications/libraries folder to completely over-ride with no result (not even white screen this time).

I removed the Log.php file in system/libraries and then it would use the over-ride file except still a white screen. Mind you this is the exact same file just placed in app/lib folder.

I am over-riding and extending several other libraries with no issue.

Any thoughts?

Quote:Edit: I can now extend and echo "test" from the construct. If I add log_message() to end of construct we go white again (with "test" printed), and nothing is added to the log.. at all. Any thoughts?




Theme © iAndrew 2016 - Forum software by © MyBB