I see the following error that occurs in the entire application log file when it tries to load MY_Log.
ERROR - 03/26/2013 22: 52: 20-> Severity: warning → include_once (application / core / MY_Log.php) [function.include-once]: could not open the stream: there is no such file or directory C: \ dev \ mysite \ application \ config \ config.php 377
My startup file has the following:
$autoload['libraries'] = array('parser', 'session', 'log');
The MY_Log class is defined in the application / library / MY _Log.php
class MY_Log extends CI_Log
The MY_Parser class, which is located in the / library / MY _Parser.php application, loads normally.
class MY_Parser extends CI_Parser
When I debug the bootloader to understand why Parser behaves differently than Log, it looks like it looks in the application / kernel for MY_Log, but searches (and finds) MY_Parser ok in the application / libraries.
I am using CI 2.1.1
Any ideas why this is the difference?
source share