FirePHP 1.0 Server Library stops PHP-App

10 views
Skip to first unread message

kinglo...@googlemail.com

unread,
Jul 8, 2011, 10:31:45 AM7/8/11
to firephp-dev

Hi there,

I updated from FirePHP 0.x to FirePHP 1.0 Server Library (an a Domain
running Contao CMS).

If I include the old way (FirePHPCore) everything works well together
with the DeveloperCompanion.

But if I try to swith over to the inclusion with insight, the whole
app stops working if the DeveloperCompanion is toggled on. It seems
that my Classes (and the Classes from Contao) could not be called
because of FirePHP 1.0 Server Library.


- FirePHP is found at /plugins/FirePHP
- App/Contao starts by /index.php
- FirePHP is called with require_once at /system/config/
initializeconfig.php which is included in index.php

Code:
define('INSIGHT_IPS', '*');
define('INSIGHT_AUTHKEYS', '36A3166396231A01C36C5407AC7FE901');
define('INSIGHT_PATHS', __DIR__);
define('INSIGHT_SERVER_PATH', '/index.php');
require_once(TL_ROOT.'/plugins/FirePHP/fb.php');

-> It seems DeveloperCompanion stops running /system/config/
initializeconfig.php after beeing called.


Any ideas whats wrong with my code?
Cheers!

Christoph Dorn

unread,
Jul 11, 2011, 1:11:40 PM7/11/11
to firep...@googlegroups.com

I presume you got the authkey from DeveloperCompanion and have added the
workspace successfully?

See: http://docs.sourcemint.org/firephp.org/firephp/1/-docs/Authorizing

Do you get any errors in the PHP error log?

Are you running a default install of Contao CMS or have you made any
customizations prior to including FirePHP?

Christoph

P.S. There is currently a bug in DeveloperCompanion that causes issues
when multiple browser windows are open. This will be fixed shortly.

Reply all
Reply to author
Forward
0 new messages