Welcome Guest, Not a member yet? Register   Sign In
Need Help With Phil's Sturgeons AutoLog - Giving Error Log Message
#5

[eluser]wiredesignz[/eluser]
CodeIgniter 2.x is still coded to use the PHP4 version of the class_exists() function to check for the user defined (MY_) extension of a core library.

If your CodeIgniter application is running on a PHP5.x installation then the __autoload or spl_autoload function(s) will be called to additionally search for the missing class extension as well, and this is what is causing your error.

http://php.net/manual/en/function.class-exists.php

The solution is to modify Sturgeons simplistic __autoload function to exclude MY_ prefixed classes in addition to the CI_ prefixed classes.


Messages In This Thread
Need Help With Phil's Sturgeons AutoLog - Giving Error Log Message - by El Forum - 10-23-2012, 11:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB