[horde] Patched to horde 3.0.4 no sidebar.php

Damien McKenna damien at mc-kenna.com
Mon Jun 20 12:50:04 PDT 2005


With a bit of digging I've found that this block is the last block to 
execute:

foreach ($menu as $app => $params) {
	echo "1.";
     if ($params['status'] == 'block') {
		echo "2.";
         if (isset($menu[$params['app']])) {
			echo "4.";
             $block = &Horde_Block_Collection::getBlock($params['app'], 
$params['blockname']);
             if (is_a($block, 'PEAR_Error')) {
				echo "5.";
                 Horde::fatal($block, __FILE__, __LINE__);
             }
			echo "6.";
             $block->buildTree($tree,
                    isset($params['menu_parent']) ? 1 : 0,
                    isset($params['menu_parent']) ? 
$params['menu_parent'] : null);
         }
     } else {
		echo "3.";

As you can see I put in a whole bunch of echo statements through the 
file.  The output from this is:

1.3.1.3.1.2.4.6.

which says that it stops right after:

   $block->buildTree($tree,
      isset($params['menu_parent']) ? 1 : 0,
      isset($params['menu_parent']) ? $params['menu_parent'] : null);

What would help work out what is going on with this - a print_r of the 
$menu variable, a copy of my conf.php file?

Thanks.

Damien



More information about the horde mailing list