What about translating FB ? What about a library in php to catch errors and send them through FB?

1 view
Skip to first unread message

FrVIPofm

unread,
Aug 31, 2008, 8:55:39 AM8/31/08
to FirePHP
I'm not skilfull enough in XUL to translate alone FB into french.(get
the list of files to be translated). But if there were a workshop
somewere to get the files and submit translations, I could take my
part of work...

I don't know anything into C or C++ or whatever to write a library for
php to catch errors and send them through FB, making FB the error
output. I don't even know if it is possible. Sometimes, there are more
than 1000 lines in my debug console when I have forgoten to declare a
variable in a loop. Does HTTP headers affort it ?

I'm shure a solution will come... I a few time the server s would be
LAMPFp...

Christoph Dorn

unread,
Aug 31, 2008, 12:54:51 PM8/31/08
to FirePHP
> I'm not skilfull enough in XUL to translate alone FB into french.(get
> the list of files to be translated). But if there were a workshop
> somewere to get the files and submit translations, I could take my
> part of work...

At the moment it is not going to be very easy to translate the FirePHP
extension, website, docs nor PHP library into other languages. My
focus has been on functionality for now. We can plan to add other
translations for FirePHP 0.2 I have created a ticket for this in the
issue tracker.


> I don't know anything into C or C++ or whatever to write a library for
> php to catch errors and send them through FB, making FB the error
> output. I don't even know if it is possible. Sometimes, there are more
> than 1000 lines in my debug console when I have forgoten to declare a
> variable in a loop. Does HTTP headers affort it ?

You don't need C to be able to do that. You can use the
set_error_handler() PHP function to register your own error handler
that converts the errors to PHP exceptions which you can then pass to
fb() to send them to the Firebug Console.

Christoph

Christoph Dorn

unread,
Aug 31, 2008, 1:43:53 PM8/31/08
to FirePHP
> I don't know anything into C or C++ or whatever to write a library for
> php to catch errors and send them through FB, making FB the error
> output. I don't even know if it is possible. Sometimes, there are more
> than 1000 lines in my debug console when I have forgoten to declare a
> variable in a loop. Does HTTP headers affort it ?

Take a look at: http://arbit.pl/2008/06/09/ultimate-error-handler-with-use-of-firephp/

Christoph

Reply all
Reply to author
Forward
0 new messages