Can't get ChromePHP working? |
[eluser]chefnelone[/eluser]
Hello I tried to use ChromePHP (firephp for Chrome) but I can't get it working. I download the library from: https://github.com/ccampbell/chromephp Then I put ChromePhp.php into applications/libraries and autoloaded the library from autoload.php Code: $autoload['libraries'] = array('ChromePhp', 'firephp'); Code: ErrorException [ Fatal Error ]: Call to private ChromePhp::__construct() from context 'CI_Loader' Is anyone using this library? What am I missing?
[eluser]AbeEstrada[/eluser]
Here is the answer: http://ellislab.com/forums/viewthread/165540/ find the __construct: private function __construct() and replace "private" with "public" public function __construct()
[eluser]chefnelone[/eluser]
[quote author="AbeEstrada" date="1292894497"]Here is the answer: http://ellislab.com/forums/viewthread/165540/ find the __construct: private function __construct() and replace "private" with "public" public function __construct()[/quote] good , the error message is gone, But... where do I get the log, in the console's Chrome??
[eluser]AbeEstrada[/eluser]
[quote author="chefnelone" date="1292899000"][quote author="AbeEstrada" date="1292894497"]Here is the answer: http://ellislab.com/forums/viewthread/165540/ find the __construct: private function __construct() and replace "private" with "public" public function __construct()[/quote] good , the error message is gone, But... where do I get the log, in the console's Chrome??[/quote] Load the library: Code: $this->load->library('ChromePhp'); In your function you can log: Code: $this->chromephp->log('yeah'); |
Welcome Guest, Not a member yet? Register Sign In |