Welcome Guest, Not a member yet? Register   Sign In
Debugging CI 3 using Firefox, Firebug, and firePHP?
#1

In trying to set up a resource for debugging CI 3, I have installed Firefox and the add-ons Firebug and firePHP. But I have not been able to find enough information about the required server-side firePHP library and its installation. The firePHP project lies in https://github.com/firephp/firephp , but the documentation links are unresponsive. I wonder if this project is still current.
If anybody in the CI community has traveled this path, I shall appreciate any pointers as to how to access the firePHP library and its documentation. Thanks a lot.
Reply
#2

(This post was last modified: 06-24-2015, 04:36 PM by skunkbad.)

I use FirePHP every day. It's awesome. You should put FirePHP.class.php and fb.php in your libraries directory, and then autoload them in config/autoload.php by just adding 'fb' to the libraries array. Then when you want to log something, just use:

$this->fb->log('whatever');

I don't think that the files I am using have been modified, but if you want to look they are in the libraries directory of the older Community Auth:

https://bitbucket.org/skunkbad/community...n/overview

For the Firefox extension, choose the one that is called FirePHP 0.7.4.1-signed. The other one you may find isn't as good.
Reply
#3

(06-24-2015, 04:34 PM)skunkbad Wrote: I use FirePHP every day. It's awesome. You should put FirePHP.class.php and fb.php in your libraries directory, and then autoload them in config/autoload.php by just adding 'fb' to the libraries array. Then when you want to log something, just use:

$this->fb->log('whatever');

I don't think that the files I am using have been modified, but if you want to look they are in the libraries directory of the older Community Auth:

https://bitbucket.org/skunkbad/community...n/overview

For the Firefox extension, choose the one that is called FirePHP 0.7.4.1-signed. The other one you may find isn't as good.

Thanks a a lot @skunkbad for your useful pointers. I set up the debugging resource and it works great. The gitHub link is now working for the project, so I downloaded the server-side library from there. Cheers.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB