Coder Social home page Coder Social logo

firephp's People

Stargazers

 avatar

Watchers

 avatar

firephp's Issues

Info output to wrong console

What steps will reproduce the problem?
1. FireBug 1.2 latest version
2. Generate output to console
3. Set Console to Enabled, rather than Enabled for {this site}

What is the expected output? What do you see instead?
Output in console is in a different (wrong) FF tab, so the output is not in
the console for {this site} but in the console for {another site}.

What version of the product are you using? On what operating system?
Ubuntu 8.4, FF 3.0, Firebug 1.2, FirePHP 0.1.1

Please provide any additional information below.
Wild guess: could be related to what John Reisig described under 'Selective
Panel Enablement' in http://ejohn.org/blog/firebug-12-released/

Original issue reported on code.google.com by [email protected] on 28 Aug 2008 at 8:29

Headers are not always parsed on very

With this test-script:
<?php
require('FirePHPCore/fb.php');
fb('Hello World');
echo 'hi';
?>

I don't get "Hello World" in the FB console.
The reason for this is because FirePHPProgress::observe() is called 
before Firebug.FirePHP::initContext() - and so the line would be placed 
in the old context.
FB has NetProgress::respondedTopWindow for that problem.

I created a small patch that solves the problem exactly the same way 
NetProgress does.

FirePHP trunk
FireBug 1.1.0b12
Firefox 2.0.0.14
Linux

Original issue reported on code.google.com by [email protected] on 14 May 2008 at 12:40

Attachments:

undefined index php notice

issue about FirePHP class:

I am getting PHP Notices about undefined indexes (class file, line 166,
167, 171, 172).

How to reproduce? Print a backtrace in procedural script (i.e., not inside
a class member) with E_NOTICE included in error_reporting()

Original issue reported on code.google.com by [email protected] on 11 Aug 2008 at 8:30

bad firefox checking on main website

What steps will reproduce the problem?
1. visit http://www.firephp.org/HQ in firefox
2.
3.

What is the expected output? 
Seeing the site

What do you see instead?
A message saying I must use firefox

What version of the product are you using? On what operating system?
n/a

Please provide any additional information below.
I'm using firefox 3 under Arch linux. I guess you are using user agent
string checking to try to stop non-firefox people from seeing the site, if
so, my user agent is:

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008072612
GranParadiso/3.0.1

Turning off js allows me to see the page. Is there a reason you don't want
non-firefox people from seeing what is available to firefox users?

Original issue reported on code.google.com by [email protected] on 31 Aug 2008 at 5:55

Suggestion : Log in same array or group with several call

I wish to be able to log in same array or group with multiple call.

Example
with a new fbg('placeHolder','label',object) log function where :
'placeHolder' is the group or array name
'label' is the label of object
object is the var to dump

use case: To log some SQL trace 
After a parse of request
fbg('sqlTrace1',  'request',$request);
After the exec
fbg('sqlTrace1', 'exec time', $elapseTime);
After reading data
fdg('sqlTrace1', 'fetch', $data);

At end of script, firePhp will parse each different placeHolder and dump
each one in a firebug group or an array

With this way, if i have multiple sql session, i will be able to log each
sql transactions of each sessions distinctly without to melted session log

Original issue reported on code.google.com by [email protected] on 10 Oct 2008 at 5:21

Support for a lot of data in response headers

Some proxies such as Squid block the response if there is a lot of data in
the response headers.

The solution for this is to only send a key which the client can use to
make a second request to the server to fetch the debug data.

This may be the preferred setup of some users to keep the response headers
small.

For temporary storage of the debug data on the server we need support for
files, APC and memcache.

Original issue reported on code.google.com by [email protected] on 22 Sep 2008 at 7:18

TRACE and EXCEPTION not working on windows servers

The TRACE and EXCEPTION logging styles are not properly working with the
FirePHPCore library running on windows servers.

The problem is caused by the backslashes in windows paths not being escaped
properly.

Original issue reported on code.google.com by [email protected] on 5 Oct 2008 at 9:10

Fast rendering for large object graphs

At the moment FirePHP gets very slow when rendering large object graphs in
the variable viewer.

The problem lies with pre-generating the HTML for the entire object graph
up-front.

Instead each nested object member needs to be rendered only when expanded.

Original issue reported on code.google.com by [email protected] on 15 Oct 2008 at 12:22

Clickability and tables broken in full-window view

I'm running FirePHP extension 0.1.0.1.  When Firebug is a panel at the
bottom of the main Firefox window, everything works.  However, when I
expand Firebug into its own window, I cannot click on logged objects to
view the details in the DOM tab, TABLE type output is displayed in full
without its formatting, and I cannot click to expand/collapse it.

Original issue reported on code.google.com by [email protected] on 1 Jul 2008 at 9:54

Array display in FirePHP::TABLE

[code]
fb(
array("Test",
array(array('Length',
'Type','Name','Value'),array("2","Array","Count",array("Len" =>
"1","Char" => "b")))), FirePHP::TABLE);
[/code]

"Test" <- Summary Line
array('Length', 'Type','Name','Value') <- Headers for the table

array("2","Array","Count",array("Len" => "1","Char" => "b")) <- The
value I want to print.

What's wrong with this? Simple: Firebug has problems displaying the
array with string keys. It just renders it as [object Object], without
me being able to click on the array to see it's elements. As soon as I
give it numeric keys, it works. Any fix for this? 

Original issue reported on code.google.com by [email protected] on 4 Jul 2008 at 8:05

accessing an array element that doesn't exist

What steps will reproduce the problem?
1. Install version 0.1.1 from the firephp site
2. visit the demo oo.php page
3.

What is the expected output?
A working demo

What do you see instead?
Notice: Undefined offset: 1 in
/xxx/htdocs/fire/lib/FirePHPCore/FirePHP.class.php on line 167
This is because you are looking at $trace[$i+1] when trace only contains
one element. There is no element 1.


What version of the product are you using? On what operating system?
0.1.1 on linux

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008072612
GranParadiso/3.0.1

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 31 Aug 2008 at 5:51

More data than 5000 characters

When my header exceed 5000 characters, It is break into multiple parts. All
parts seems to go out from my server (tested with my ZendStudio). They are
not correctly combined on my Firefox (FF3.0, Firebug 1.2b07, FirePHP 0.1.1).

Original issue reported on code.google.com by [email protected] on 21 Aug 2008 at 4:59

Incorrect type of vars dumped

Hello, I'm using FirePHP with ZendFramework in a smarty-like console for
dumping all variables assigned to the view, so I just dump them in a table.

The problem is that objects or null values are dumped as 'array'.

As an example, I have an object $role, with properties parent and parentId
set to NULL:

object(stdClass)#100 (5) {
  ["roleId"] => int(1)
  ["parentId"] => NULL
  ["parent"] => NULL
  ["role"] => string(5) "Admin"
  ["privileges"] => array(1) {
    [1] => string(3) "all"
  }
}

When I dump it in FirePHP, it looks like this:


array(
 ['roleId']   => 1
 ['parentId'] => array()
 ['parent']   => array()
 ['role']     => 'Admin'
 ['privileges'] => array(
   [1] => 'all'
 )
)

$role is not an array, and there are NULL properties markd as empty arrays.


What I'd like to see is basically the same as in a print_r. Something like
this:

stdClass(
 ['roleId']   => 1
 ['parentId'] => NULL
 ['parent']   => NULL
 ['role']     => 'Admin'
 ['privileges'] => array(
   [1] => 'all'
 )
)


I'm using the latest release (0.1.0.3) in fireox 3.0.1 with the latest firebug.

(FirePHP is now involved in all my projects, I think it's just great.
Congrats Cristoph!!!)

Original issue reported on code.google.com by [email protected] on 19 Jul 2008 at 5:12

Icon for type of members

Icons and colors for type of members are cool but i would
like to have choice to have text, icon or both. At least, both.



Original issue reported on code.google.com by [email protected] on 9 Oct 2008 at 6:27

Warning: ReflectionProperty::getValue() expects exactly 1 parameter, 0 given

I'm getting a warning:
 Warning: ReflectionProperty::getValue() expects exactly 1 parameter, 0
given in /usr/share/php/FirePHPCore/FirePHP.class.php on line 726

According to the documentation getValue should get 1 parameter.

I'm not sure about the same call on line 723 (because that is the part that
is executed by php 5.3)

Using 0.2beta4 from pear php 5.2.6


Original issue reported on code.google.com by [email protected] on 13 Oct 2008 at 12:56

Constants usage coding improvement request

What steps will reproduce the problem?

Not a issue but a coding improvement

Prefix the ERROR, LOG, WARNING, INFO, constants with f.e. MSG_ this makes
it faster and easier to find the message in a IDE with code lookup (like
eclipse).

Then when typing M [cntrl-space] will list only all available messages


Original issue reported on code.google.com by [email protected] on 28 Aug 2008 at 3:14

Variable inspection for arrays logged to console

If an array with many elements is logged to the console the current
implementation lists the first few elements and then truncates the rest
with no way to view them.

Need to simply render "Array(..)" so that the entire array can be viewed
with the variable inspector.

Original issue reported on code.google.com by [email protected] on 5 Aug 2008 at 5:26

FirePHP does not print to console when "open firebug in a new window"

What steps will reproduce the problem?
1. "open firebug in a new window" as opposed to in a panel at the bottom of
the page.
2. Hit a page that is sending FirePHP console writes

What is the expected output? What do you see instead?
Console message, logs, etc.

What version of the product are you using? On what operating system?
0.1.0.5 on Firefox 3 with Windows XP

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 1 Aug 2008 at 9:30

Wrong order in FireBug Console

I've got a strange error with FirePHP.
I've logged an exception with fb();
The exception should be between logmessages:
"Fri Sep 5 16:36:58 2008,427" and "Fri Sep 5 16:36:58 2008,468"

However in the console it appears between:
317 and 327

I'm convinced this is a bug in the clientside of firebug.

I'm Firefox 3.0.1, FireBug 1.2.0, FirePHP 0.1.2

Original issue reported on code.google.com by [email protected] on 5 Sep 2008 at 4:46

Attachments:

not well-formed error

Fix "not well-formed error" in Firefox console with:

req.open("GET", url, false);
req.overrideMimeType('text/plain; charset=us-ascii'); 
req.send(null);

Original issue reported on code.google.com by [email protected] on 5 Aug 2008 at 5:24

elements in array missing

What steps will reproduce the problem?
1.  send to fb an array  
so the Server tab will look like this:
array(
 ['FirePHP.Firebug.Console'] =>
array(... 2 elements ... )
   [0] =>
array(... 2 elements ... )
     [0] =>'LOG'
...
     [1] =>array(... 4 elements ... )
       [0] =>'<script language="javascript"> '
...
       [1] =>' document.domain = "dev.com"; '
...
       [2] =>'</script> '
...
       [3] =>'efa255e4-f1a9-4531-9370-467310ad85dd'
...

      )
    )
  )
)

2 .in the console output fb look like this:
http://dev.com/users/add
Array(4)

What is the expected output? 

clicking on the array(4)
must display the 4 elements in the array


What do you see instead?

clicking in the array(4) displays this:
array( [0] =>' '
...
 [3] => 'efa255e4-f1a9-4531-9370-467310ad85dd'
...
)

elements 1 and 2 are missing


What version of the product are you using? 
1.2.1

On what operating system?
gnu/linux kubuntu hardy heon

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 17 Sep 2008 at 10:56

Use PHP doc in FirePHP

Please, add php doc in FirePHP class (at least for public methods). This
will allow completion in editors like PDT, ZendStudio etc...

Eg:

/**
   * Get instance of singleton FirePHP
   *
   * @param boolean $AutoCreate
   * @return FirePHP
   */
  public static function getInstance($AutoCreate=false) {
    if($AutoCreate===true && !self::$instance) {
      self::init();
    }
    return self::$instance;
  }



In another file, if you do 
$foo = FirePHP::GetInstanc(true);
$foo-><Completion available for public members>

Original issue reported on code.google.com by [email protected] on 3 Oct 2008 at 7:18

firePHP info not display with firebug 1.2.0

What steps will reproduce the problem?
1. Go to a page with a firephp information
2. wait for firephp display.. nothing happen
3. Switch to a other tab
4. return to first tab (where fireph infos should display
5. Only NOW the infos are there.

What is the expected output? What do you see instead?
expected : fiephp infos
instead : nothing

What version of the product are you using? On what operating system?
firephp 0.1.1
firebig 1.2.0
firefox 2.0.0.16

Please provide any additional information below.
nothing more. Waiting for an updated version !

Original issue reported on code.google.com by [email protected] on 27 Aug 2008 at 6:51

FirePHP plugin no longer works with FireBug 1.2.0b13

----- Temporary Workaround -----

It works if you have another tab opened and you switch to this tab and
back to the first one which contains the site you want to check with
Firebug. The output will be reloaded into Firebug and the FirePHP
output is back.

----- or Downgrade -----

If you don't need the bugfixes in b13, do what I did: uninstall b13,
install b7 (from
https://addons.mozilla.org/en-US/firefox/addons/versions/1843) and disable
updates of FireBug (about:config,\
[email protected] = false ).
Don't forget to re-enable updates once this is fixed.

-----

After upgrading to FB 1.2.0b13, FirePHP no longer starts up:

With FireBug 1.2.0b7, FirePHP 0.1.1 works fine
After upgrade to FB 1.2.0.b13, FirePHP is not visible and not working
- like it was not installed
Uninstalling b13 and installing b7 returns to former functionality.
(I'm using Mozilla Firefox 3.0 on WinXP SP3)

The blue FirePHP icon is there, it just doesn't show anything in the 
console - until I open another tab, then it shows up.

Firebug Output appears in the Net panel,
but does not appear in the console until I go to a different tab and
then come back.



Original issue reported on code.google.com by [email protected] on 21 Aug 2008 at 10:04

messages are not displayed when the firebug console is opened in a new window

debug messages are not displayed when the firebug console is opened in a
new window. however, the firebug status bar indicator shows that there are
errors. in the example following on the home page, the status bar indicator
displays there are 2 errors.

everything works normal when the firebug console is attached to the current
firefox tab/window.

i'm using firefox 3.0, firebug 1.2.0b4 and firephp 0.1.0.1 on windows xp.

Original issue reported on code.google.com by [email protected] on 4 Jul 2008 at 9:31

Truncate dump when string have non utf8 cars

make an array or object with a string "mon numéro est le 0"

Dump will truncate the string before the "é".

This is because native json_dump accept only UTF8 string and sources are
not always encoded in UTF8.

Original issue reported on code.google.com by [email protected] on 10 Oct 2008 at 4:50

Error in plugin

Using 0.2beta4 and the latest plugin beta.

The attached (rather large) HTTP headers output causes the plugin to
generat an error.

The console window shows just the first group with an empty array (which is
correct) and an object with an error icon
Clicking the object shows the DOM tab with the following two errors:
0: "There was a problem writing your data from the Wildfire Plugin
http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1"

1: Object name=SyntaxError
   at 2
   message: "Expected 'r' instead of 'o'"
   name: "SyntaxError"
   text: "to get value
**","protected:_resources":[],"protected:static:_null":"** Need PHP 5.3 to
get value
**","undeclared:_oid":7}}},"protected:_columns":{"bed_id":{"primary":true,"autoi
ncrement":true,"type":"integer","length":4},"bed_naam":{"type":"string","length"
:50},"bed_telefoon":{"type":"string","length":50}},......


Original issue reported on code.google.com by [email protected] on 11 Oct 2008 at 11:42

Attachments:

log HTML formatted message

Need a way to dump on console html formatted message.

Could be a way to dump protected or private properties of object with
var_dump or xdebug enhanced var_dump.



Original issue reported on code.google.com by [email protected] on 3 Oct 2008 at 6:43

Problem if detached firebug

What steps will reproduce the problem?

1. Detach firebug from firefox window.
2. refresh page, or change location, where used fipephp.

In firebug tab Net/Server, recive data:
array(
 ['FirePHP.Firebug.Console'] =>
array(
...
...
...

BUT NO CHANGED IN CONSOLE TAB !!!!!!! (IT IS ONLY IN DETACHED MODE)


If firebug is NOT detached - all work is OK.


Original issue reported on code.google.com by [email protected] on 26 Jul 2008 at 7:21

Labels broken by Firebug 1.2.1

What steps will reproduce the problem?
1. Go to: http://www.firephp.org/
1. Enable Firebug 1.2.1 (Net and Console tabs) and FirePHP 0.1.2
2. Open Firebug console

What is the expected output? 
Sample1a.png

What do you see instead?
FirePHP Label Issue.png

What version of the product are you using? On what operating system?
Mac OSX 10.5.5, Firebug 1.2.1 and FirePHP 0.1.2 and
Windows XP SP3, Firebug 1.2.1 and FirePHP 0.1.2

Original issue reported on code.google.com by [email protected] on 16 Sep 2008 at 8:14

Attachments:

problem with TRACE when using with error_handler

What steps will reproduce the problem?
1. use attached archive
2. unpack archive and hit /firephp/error_handler.php in your browser

What is the expected output? What do you see instead?

I'd expect to see warning of division by zero in firebug and backtrace
also. Instead I see this (I'm using xdebug extension):

( ! ) Fatal error: Maximum function nesting level of '100' reached,
aborting! in
/home/kraken/workspace_local/tools/firephp/FirePHPCore/FirePHP.class.php on
line 596
Call Stack
#   Time    Memory  Function    Location
1   0.0005  59264   {main}( )   ../error_handler.php:0
2   0.0006  59980   userErrorHandler( ) ../error_handler.php:0
3   0.0140  223744  FirePHP->fb( )  ../error_handler.php:33
4   0.0145  227508  FirePHP->json_encode( ) ../FirePHP.class.php:202
5   0.0146  229504  array_map ( )   ../FirePHP.class.php:531
6   0.0181  233328  FirePHP->json_name_value( ) ../FirePHP.class.php:0

and so on.

Also sometimes or when not using xdebug, firefox is opening dialog for
saving file, which happens in situations when apache web-server is not
configured for php files properly.


What version of the product are you using? On what operating system?

Same behaviour on ubuntu 7.04 server (apache2 2.2.3-3.2ubuntu2.1, php5
5.2.3-1ubuntu6) and home on openSUSE 11.0 ( apache2-2.2.8-28.1,
php5-5.2.6-0.1).

firephp extension - 0.1.2
FirePHPCore - 0.1.2



Original issue reported on code.google.com by [email protected] on 12 Sep 2008 at 5:16

Attachments:

Need to switch tabs in FF3 to see the console output

What steps will reproduce the problem?
1. Just call fb() function

What is the expected output? What do you see instead?
I don't see output. I need to switch tab in FF3 and to go back - after that
I can see the console output.

What version of the product are you using? On what operating system?
FireBug: 1.2.0b15, FirePHP: 0.1.1, Windows XP SP2, FireFox 3.1


Original issue reported on code.google.com by [email protected] on 24 Aug 2008 at 3:00

Renderer for SQL queries

The renderer should parse the SQL statement and display it formatted and
color coded. There should also be an option to view the "raw" query.

Does anyone know of an open-source javascript library to parse an SQL query
and present it formatted?

Original issue reported on code.google.com by [email protected] on 15 Oct 2008 at 12:59

FirePHP produces no output because of a failed clientcheck

The PHP library checks for the "FirePHP/X.X.X" string in the user agent,
but with FirePHP extension 0.1.0.1 and Firefox:

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906
Firefox/3.0

The addition is not made to my user agent, so it does not work unless I
remove that check.

Original issue reported on code.google.com by [email protected] on 1 Jul 2008 at 9:55

Paamayim Nekudotayim (::) in exemple

In some pages like 

http://www.firephp.org/Wiki/Libraries/Symfony

it's written 

FirePHP:getInstance(true)->dump($myObject);

but we expect 

FirePHP::getInstance(true)->dump($myObject);

Original issue reported on code.google.com by [email protected] on 7 Sep 2008 at 3:30

Notice message in 0.2b2

What steps will reproduce the problem?
Dump an object class with any static properties public, protected or private

What is the expected output? What do you see instead?
Have a notice "Notice: Undefined index: spv in FirePHP.inc on line 1019"

Workaround:
Replace 
 if($members[$raw_name]) {
With
 if(isset($members[$raw_name])) {


One suggestion: Icons and colors for type of members are cool but i would
like to have choice to have text, icon or both. At least, both.

Original issue reported on code.google.com by [email protected] on 8 Oct 2008 at 12:23

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.