Welcome Guest, Not a member yet? Register   Sign In
CI Forensics - A Profiler Debug Bar
#13

(09-16-2015, 07:58 PM)kilishan Wrote: How did you install it? If you installed through Composer, it should fine the class just fine. Otherwise, you'll need to load the Console library manually at some point. This could be done through the autoload config file, or with a MY_Controller if you're using one.

1. I just reinstalled it through Composer. Before I simply dowloaded and unzip it to application/third_party folder.

2. Wrote in application/config/autoload.php
Code:
$autoload['packages'] = array(APPPATH.'third_party/codeigniter-forensics');

3. Wrote in the method:

PHP Code:
$data 'test';
Console::log($data); 

4. Point my browser to this controller/method and got the answer:
Fatal error: Class 'Console' not found in ...
Sad
 
Reply


Messages In This Thread
CI Forensics - A Profiler Debug Bar - by kilishan - 12-03-2014, 08:33 AM
RE: CI Forensics - A Profiler Debug Bar - by egormmm - 09-17-2015, 05:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB