can't get started

16 views
Skip to first unread message

Edward de Jong

unread,
Jun 9, 2011, 5:22:01 PM6/9/11
to firephp-dev
Using firefox 3.6, I have installed firebug and the latest firephp 1.0
beta (which shows up as Narwhal 0.0.0master...)

i uploaded the LIB folder to my server.

i try to run some PHP code, which is going to handle a POST of a form,
but nothing works.

<?php
require_once('lib/FirePHPCore/fb.php'); // (procedural API) or
require_once('lib/FirePHPCore/FirePHP.class.php'); // (object oriented
API)

$firephp = FirePHP::getInstance(true);
$firephp-> *
$firephp->trace('Trace Label'); // or FB::

$firephp->log('Plain Message'); // or FB::
$firephp->info('Info Message'); // or FB::
$firephp->warn('Warn Message'); // or FB::
$firephp->error('Error Message'); // or FB::
...etc...

when i run this PHP code, i only see the message ""Reload to activate
window console" in firebug, with no tracing coming back.

Christoph Dorn

unread,
Jun 10, 2011, 11:13:40 AM6/10/11
to firep...@googlegroups.com
On 11-06-09 2:22 PM, Edward de Jong wrote:
> Using firefox 3.6, I have installed firebug and the latest firephp 1.0
> beta (which shows up as Narwhal 0.0.0master...)

So on the client you have?:

- Firebug 1.7.2
- DeveloperCompanion extension 0.0.0master1105241503
- Narwhal for XULRunner ...1459

And on the server?: FirePHP Server Library 0.0.0master1106021548

> <?php
> require_once('lib/FirePHPCore/fb.php'); // (procedural API) or
> require_once('lib/FirePHPCore/FirePHP.class.php'); // (object oriented
> API)
>
> $firephp = FirePHP::getInstance(true);
> $firephp-> *
> $firephp->trace('Trace Label'); // or FB::
>
> $firephp->log('Plain Message'); // or FB::
> $firephp->info('Info Message'); // or FB::
> $firephp->warn('Warn Message'); // or FB::
> $firephp->error('Error Message'); // or FB::
> ...etc...
>
> when i run this PHP code, i only see the message ""Reload to activate
> window console" in firebug, with no tracing coming back.

Do you have the Firebug console and net panels enabled?

If it still does not work, please try a fresh firefox profile. That
usually resolves any issues.

The best solution would be to switch to DeveloperCompanion for Firefox 4
on the client and try again:

http://developercompanion.com/

Hope this helps!

Christoph

Reply all
Reply to author
Forward
0 new messages