xoops forums

timgno

Module Developer
Posted on: 2012/3/12 14:20
timgno
timgno (Show more)
Module Developer
Posts: 1504
Since: 2007/6/21
#11

Re: Tutorial: Debugging XOOPS with FirePHP/Firebug

I have a problem with Chrome when used at the bottom, comes a popup and I can not operate any button

timgno

Module Developer
Posted on: 2012/3/12 17:18
timgno
timgno (Show more)
Module Developer
Posts: 1504
Since: 2007/6/21
#12

Re: Tutorial: Debugging XOOPS with FirePHP/Firebug

I created this little hack to switch firephp and legacy using the System Configuration

xoopsconfig.php:
"debugLogger" => (($GLOBALS['xoopsConfig']['debug_firephp'] == 1) ? 'firephp' 'legacy'),


database query:
INSERT INTO `xoops254final`.`xxxx_config` (`conf_id`, `conf_modid`, `conf_catid`, `conf_name`, `conf_title`, `conf_value`, `conf_desc`, `conf_formtype`, `conf_valuetype`, `conf_order`) VALUES ('3511''0''1''debug_firephp''_MD_AM_DEBUGFIREPHP''0''_MD_AM_DEBUGFIREPHPDSC''yesno''int''25');


change xoops254final with your db and xxxx with your prefix

timgno

Module Developer
Posted on: 2013/9/17 10:53
timgno
timgno (Show more)
Module Developer
Posts: 1504
Since: 2007/6/21
#13

Re: Tutorial: Debugging XOOPS with FirePHP/Firebug

You refreshed my memory?

I installed locally on xoops 2.5.6 and Chrome I get blank page, while with FireFox works in half.

I inserted the line of code in the file mainfile.php

require_once XOOPS_ROOT_PATH.'/class/logger/firephp/FirePHPCore/fb.php';


As it is written in the documentation