Having trouble getting FirePHP to work

4 messages Options
Embed this post
Permalink
Cathy () Having trouble getting FirePHP to work
Reply Threaded More More options
Print post
Permalink
Hi,
I am very new to php. So these questions may seem silly, but this is really baffling me...

I have downloaded firePHP. Installed it correctly, I think. It's icon shows in firebug. Turned on Console and Net. Doesn't seem to do anything. I added the site I'm working on to the list of allowed sites.

I downloaded the FirePHPCore library. I am not sure where to put it. Is this installed on my computer or do I put in on the server with the site I am working on? I have MAMP installed and I thought that installed some sort of php library, so I'm not sure FirePHPCore library is necessary...?

I'm running Mac OS 10.5.7 and FF 3.0.11

Can anyone help me?
Thanks,
Cathy
louis () Re: Having trouble getting FirePHP to work
Reply Threaded More More options
Print post
Permalink
I'm having trouble too. Getting error messages that the required files are not being found. I put the FirePHPCore folder as specified in the instructions, but can't get it to work using MAMP and local server.

Switched to XAMPP, did everything the same and it works fine. So OK, maybe some quirk of MAMP.

Then I tried uploading to my web hosting account, installed identically (www/FirePHPCore/), but it does not work, still can't find the required files. Just like the MAMP problem.

I'm guessing this is some sort of PHP problem with my include path. Any experts wanna give advice?

Thanks,
Louis
Christoph Dorn () Re: Having trouble getting FirePHP to work
Reply Threaded More More options
Print post
Permalink
In reply to this post by Cathy
You need to download and include the FirePHPCore library in your project. If you have "." as part of your PHP include path you can simply create a FirePHPCore folder in your document root and place the FirePHP.class.php file into this directory.

Then load FirePHP with: require_once('FirePHPCore/FirePHP.class.php');
Christoph Dorn () Re: Having trouble getting FirePHP to work
Reply Threaded More More options
Print post
Permalink
In reply to this post by louis
The FirePHPCore library must be in your include path just like any other PHP files you include.

See: http://www.firephp.org/HQ/Learn.htm