getting continuous "error parsing raw data" error

11 views
Skip to first unread message

Trick Rick

unread,
May 2, 2012, 12:12:45 AM5/2/12
to dev...@googlegroups.com
so I searched the group, and found a simliar error, but I think different circumstance.

I have the following instance of FirePHP within the constructor of an output class that I use
// setup FirePHP output
define('INSIGHT_CONFIG_PATH', FS_ROOT.'includes/FirePHP/package.json');
require_once(FS_ROOT.'includes/FirePHP/FirePHP/Init.php');
$inspector = FirePHP::to('page');
self::$FirePHP = $inspector->console();
further logging down the page runs just fine
if (TEST_MODE) {
self::$FirePHP->label('Browser_info')->info(self::$browser);
self::$FirePHP->label('$_SESSION')->info($_SESSION);
self::$FirePHP->label('$_GET')->info($_GET);
self::$FirePHP->label('$_POST')->info($_POST);
self::$FirePHP->label('$_COOKIE')->info($_COOKIE);
}
If I add a simple test log, it also works fine
$foo = 'foo';self::$FirePHP->group('startup')->label('foo')->info($foo);
however if I take this same test line, and put it inside a separate function
public static function log() {
  $foo = 'foo';self::$FirePHP->group('startup')->label('foo')->info($foo);
  }
and then perform an
  output::foo();
elsewere int he code, Developer Companion comes up with an error as shown here: http://gyazo.com/5eff7d959a007a804dd76ee0cfa659e6

Not really sure how Developer Companion is processing the difference in calls, but i'd like to be able to call it from within my own logging function. (i use my own wrapper log function so I can divert to a file/email depending on teh circumstances)

any idea why firephp calls would be causing the hiccup when called from a separate function?

Trick Rick

unread,
May 2, 2012, 6:07:26 AM5/2/12
to dev...@googlegroups.com
should add some details:
FireFox v12.0 release
Firebug v1.10.0a7
Developer Companion v1.0b1rc45

Trick Rick

unread,
May 2, 2012, 6:41:44 AM5/2/12
to dev...@googlegroups.com
disregard post, narrowed down my problem, will start new topic.
Reply all
Reply to author
Forward
0 new messages