Always E_NOTICE error exeptions in Console

32 views
Skip to first unread message

kimpixel

unread,
May 26, 2011, 4:38:24 AM5/26/11
to firephp-dev
Hallo Christoph

After update to FF 4 and the newest Developer Companion Clint and
Server Software i got always a bunch off Error Exceptions in my
Firebug Console.

My Webserver has a Standard error_reporting configuration (E_ALL &
~E_NOTICE)
i can also turn off the error_reporting complete but i have just the
same output.

I can reproduce this on to different Systems (win7 ff4)

I found this solution:
***********
$firephp = FirePHP::getInstance(true);
$firephp->registerErrorHandler();
$firephp->registerExceptionHandler();
***********

This solves the problem - but is this the right way?
I can not believe that i have to register a error handler for errors
that have not to appear.

Christoph Dorn

unread,
May 26, 2011, 12:35:21 PM5/26/11
to firep...@googlegroups.com

Not the right way as that should not stop the messages. Can you send me
your FirePHP include code?

What errors are you getting? Are they notices? Please send some samples.

Are these errors that should be fixed or do you want to ignore them?

I'll check why setting error_reporting has no effect.

Thanks
Christoph

Alex

unread,
May 28, 2011, 4:23:09 AM5/28/11
to firephp-dev
I have the same problem here.

I want to ignore them.
These error exceptions are all notices

Here ist an Example:
"Notice: Undefined index: 8192:Assigning the return value of new by
reference is deprecated"

Here is my FirePHP include:

require_once('./include/firephp/FirePHP/Init.php');

$inspector = FirePHP::to('page');
$console = $inspector->console();
$console = $console->nolimit();

I'm using
FX3.6.17
Companion Version: 0.0.0master1105241503
FirePHP Version 0.0.0master1105261453

Trun off error reporting in php don't help

Thanks for your help.
Alex

Christoph Dorn

unread,
May 30, 2011, 12:30:40 PM5/30/11
to firep...@googlegroups.com
Thanks for the feedback! Will take a look.

Christoph

Christoph Dorn

unread,
May 30, 2011, 4:38:26 PM5/30/11
to firep...@googlegroups.com
Just pushed a new release:

http://reference.developercompanion.com/#/Companion/News/

FirePHP should now respect the error_reporting() configuration option.

Let me know if you run into any other issues.

Thanks!
Christoph

Reply all
Reply to author
Forward
0 new messages