6.0.0-beta1
7/23/25

[#4427] Menu problem with hermes
Summary Menu problem with hermes
Queue Hermes
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester fabien (at) reefs (dot) ch
Created 09/17/2006 (6884 days ago)
Due
Updated 03/31/2008 (6323 days ago)
Assigned 09/17/2006 (6884 days ago)
Resolved 09/17/2006 (6884 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/31/2008 05:44:24 PM php (at) ideacode (dot) com Comment #9 Reply to this comment
The block name is tree_stopwatch, not stopwatch.
Yes, definitely a configuration issue, but I encountered this problem 
in a stock Horde 2.2.x distribution that had the latest Hermes 
installed.  I think somewhere along the way hermes changed its block 
name, which diverged from all the older deployments out there.



I would recommend making the error message a little more friendly, 
stating that the block wasn't found and where to make the change to 
fix it.
08/22/2007 03:23:25 PM Chuck Hagenbuch Comment #8 Reply to this comment
The block name is tree_stopwatch, not stopwatch.
08/22/2007 11:54:22 AM martin (dot) holzer (at) wienerlinien (dot) at Comment #7 Reply to this comment
i've the same problem.



debian 4.0 (etch) with standart packages

imp4 turba2 gollem chora2 horde3.

configured and running.

then downloaded

http://ftp.horde.org/pub/snaps/2007-08-21/hermes-HEAD-2007-08-21.tar.gz

unpacked and configured the conf.php



when i browse my horde dir, i get



A fatal error has occurred

Horde_Block_hermes_stopwatch not found.



[line 235 of /usr/share/horde3/services/portal/sidebar.php]

Details (also in Horde's logfile):



object(pear_error)(8) {

   ["error_message_prefix"]=>

   string(0) ""

   ["mode"]=>

   int(1)

   ["level"]=>

   int(1024)

   ["code"]=>

   NULL

   ["message"]=>

   string(39) "Horde_Block_hermes_stopwatch not found."

   ["userinfo"]=>

   NULL

   ["backtrace"]=>

   array(3) {

     [0]=>

     array(6) {

       ["file"]=>

       string(30) "/usr/local/share/pear/PEAR.php"

       ["line"]=>

       int(542)

       ["function"]=>

       string(10) "pear_error"

       ["class"]=>

       string(10) "pear_error"

       ["type"]=>

       string(2) "->"

       ["args"]=>

       array(5) {

         [0]=>

         string(39) "Horde_Block_hermes_stopwatch not found."

         [1]=>

         NULL

         [2]=>

         int(1)

         [3]=>

         int(1024)

         [4]=>

         NULL

       }

     }

     [1]=>

     array(6) {

       ["file"]=>

       string(48) "/usr/share/horde3/lib/Horde/Block/Collection.php"

       ["line"]=>

       int(132)

       ["function"]=>

       string(10) "raiseerror"

       ["class"]=>

       string(4) "pear"

       ["type"]=>

       string(2) "::"

       ["args"]=>

       array(1) {

         [0]=>

         string(39) "Horde_Block_hermes_stopwatch not found."

       }

     }

     [2]=>

     array(6) {

       ["file"]=>

       string(45) "/usr/share/horde3/services/portal/sidebar.php"

       ["line"]=>

       int(233)

       ["function"]=>

       string(8) "getblock"

       ["class"]=>

       string(22) "horde_block_collection"

       ["type"]=>

       string(2) "::"

       ["args"]=>

       array(2) {

         [0]=>

         string(6) "hermes"

         [1]=>

         string(9) "stopwatch"

       }

     }

   }

   ["callback"]=>

   NULL

}




09/17/2006 08:07:10 PM Chuck Hagenbuch Comment #6
State ⇒ Not A Bug
Reply to this comment
This:



$this->applications['hermes-stopwatch'] = array(

     'status' => 'block',

     'app' => 'hermes',

     'blockname' => 'tree_stopwatch',

     'menu_parent' => 'hermes',

);



Have you read the error message? It's explicitly saying that block 
isn't being found in hermes/lib/Block/.



Please ask further questions on the mailing lists, this is a 
configuration issue.
09/17/2006 08:04:45 PM fabien (at) reefs (dot) ch Comment #5 Reply to this comment
Sorry :P



I dont know what the "stopwatch block" is. I just changed the name of 
the folder and the parameter in the registry.php from horde as usually.



$this->applications['hermes'] = array(

     'fileroot' => dirname(__FILE__) . '/../facturation',

     'webroot' => $this->applications['horde']['webroot'] . '/facturation',

     'name' => _("Time Tracking"),

     'status' => 'active',

     'menu_parent' => 'office',

     'provides' => 'time'

);
09/17/2006 08:01:47 PM Chuck Hagenbuch Comment #4
State ⇒ Feedback
Reply to this comment
Please don't re-post the error message, we know what the error is. The 
question is why. When you renamed hermes, did you fix all the 
parameters in the stopwatch block also?
09/17/2006 07:55:49 PM fabien (at) reefs (dot) ch Comment #3 Reply to this comment
Hi and thanks



I just installed Hermes with a special name (/facturation).

My Turba (which works) also has a special name (/annuaire).

Horde works normally without a folder (direct on /).

Hermes Databases has been installed. I was able to add a task in Hermes.

Only the menu seems to be problematic.

Thanks



Une erreur fatale s'est produite



Horde_Block_hermes_stopwatch non trouvé



[ligne 235 de 
/home/httpd/vhosts/reefs.ch/subdomains/clients/httpdocs/services/portal/sidebar.php]



Détails (aussi dans le fichier de traces de Horde) :



object(PEAR_Error)#58 (8) {

   ["error_message_prefix"]=>

   string(0) ""

   ["mode"]=>

   int(1)

   ["level"]=>

   int(1024)

   ["code"]=>

   NULL

   ["message"]=>

   string(40) "Horde_Block_hermes_stopwatch non trouvé"

   ["userinfo"]=>

   NULL

   ["backtrace"]=>

   array(3) {

     [0]=>

     array(7) {

       ["file"]=>

       string(24) "/usr/share/pear/PEAR.php"

       ["line"]=>

       int(534)

       ["function"]=>

       string(10) "PEAR_Error"

       ["class"]=>

       string(10) "PEAR_Error"

       ["object"]=>

       object(PEAR_Error)#58 (8) {

         ["error_message_prefix"]=>

         string(0) ""

         ["mode"]=>

         int(1)

         ["level"]=>

         int(1024)

         ["code"]=>

         NULL

         ["message"]=>

         string(40) "Horde_Block_hermes_stopwatch non trouvé"

         ["userinfo"]=>

         NULL

         ["backtrace"]=>

         array(3) {

           [0]=>

           array(7) {

             ["file"]=>

             string(24) "/usr/share/pear/PEAR.php"

             ["line"]=>

             int(534)

             ["function"]=>

             string(10) "PEAR_Error"

             ["class"]=>

             string(10) "PEAR_Error"

             ["object"]=>

             *RECURSION*

             ["type"]=>

             string(2) "->"

             ["args"]=>

             array(5) {

               [0]=>

               string(40) "Horde_Block_hermes_stopwatch non trouvé"

               [1]=>

               NULL

               [2]=>

               int(1)

               [3]=>

               int(1024)

               [4]=>

               NULL

             }

           }

           [1]=>

           array(6) {

             ["file"]=>

             string(86) 
"/home/httpd/vhosts/reefs.ch/subdomains/clients/httpdocs/lib/Horde/Block/Collection.php"

             ["line"]=>

             int(132)

             ["function"]=>

             string(10) "raiseError"

             ["class"]=>

             string(4) "PEAR"

             ["type"]=>

             string(2) "::"

             ["args"]=>

             array(1) {

               [0]=>

               string(40) "Horde_Block_hermes_stopwatch non trouvé"

             }

           }

           [2]=>

           array(6) {

             ["file"]=>

             string(83) 
"/home/httpd/vhosts/reefs.ch/subdomains/clients/httpdocs/services/portal/sidebar.php"

             ["line"]=>

             int(233)

             ["function"]=>

             string(8) "getBlock"

             ["class"]=>

             string(22) "Horde_Block_Collection"

             ["type"]=>

             string(2) "::"

             ["args"]=>

             array(2) {

               [0]=>

               string(6) "hermes"

               [1]=>

               string(9) "stopwatch"

             }

           }

         }

         ["callback"]=>

         NULL

       }

       ["type"]=>

       string(2) "->"

       ["args"]=>

       array(5) {

         [0]=>

         string(40) "Horde_Block_hermes_stopwatch non trouvé"

         [1]=>

         NULL

         [2]=>

         int(1)

         [3]=>

         int(1024)

         [4]=>

         NULL

       }

     }

     [1]=>

     array(6) {

       ["file"]=>

       string(86) 
"/home/httpd/vhosts/reefs.ch/subdomains/clients/httpdocs/lib/Horde/Block/Collection.php"

       ["line"]=>

       int(132)

       ["function"]=>

       string(10) "raiseError"

       ["class"]=>

       string(4) "PEAR"

       ["type"]=>

       string(2) "::"

       ["args"]=>

       array(1) {

         [0]=>

         string(40) "Horde_Block_hermes_stopwatch non trouvé"

       }

     }

     [2]=>

     array(6) {

       ["file"]=>

       string(83) 
"/home/httpd/vhosts/reefs.ch/subdomains/clients/httpdocs/services/portal/sidebar.php"

       ["line"]=>

       int(233)

       ["function"]=>

       string(8) "getBlock"

       ["class"]=>

       string(22) "Horde_Block_Collection"

       ["type"]=>

       string(2) "::"

       ["args"]=>

       array(2) {

         [0]=>

         string(6) "hermes"

         [1]=>

         string(9) "stopwatch"

       }

     }

   }

   ["callback"]=>

   NULL

}
09/17/2006 07:42:43 PM Chuck Hagenbuch Comment #2
State ⇒ Not A Bug
Reply to this comment
Don't enable tree blocks in config/registry.php that you don't have. 
If you have a current version of Hermes that has that block, then 
something else is going on and we need more info.
09/17/2006 07:38:01 PM fabien (at) reefs (dot) ch Comment #1
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Queue ⇒ Hermes
Summary ⇒ Menu problem with hermes
Type ⇒ Bug
Reply to this comment
Hi

I'm having a problem while loading the horde menu on the left. It 
comes from hermes.

The hermes programm seems ok when I directly access to it through the url.

Thanks



Une erreur fatale s'est produite

Horde_Block_hermes_stopwatch non trouvé

[ligne 235 de 
/home/httpd/vhosts/reefs.ch/subdomains/clients/httpdocs/services/portal/sidebar.php]



Détails (aussi dans le fichier de traces de Horde) :

object(PEAR_Error)#54 (8) {

   ["error_message_prefix"]=>

   string(0) ""

   ["mode"]=>

   int(1)

   ["level"]=>

   int(1024)

   ["code"]=>

   NULL

   ["message"]=>

   string(40) "Horde_Block_hermes_stopwatch non trouvé"

   ["userinfo"]=>

   NULL

   ["backtrace"]=>

   array(3) {

     [0]=>

     array(7) {

       ["file"]=>

       string(24) "/usr/share/pear/PEAR.php"

       ["line"]=>

       int(534)

       ["function"]=>

       string(10) "PEAR_Error"

       ["class"]=>

       string(10) "PEAR_Error"

       ["object"]=>

       object(PEAR_Error)#54 (8) {

         ["error_message_prefix"]=>

         string(0) ""

         ["mode"]=>

         int(1)

         ["level"]=>

         int(1024)

         ["code"]=>

         NULL

         ["message"]=>

         string(40) "Horde_Block_hermes_stopwatch non trouvé"

         ["userinfo"]=>

         NULL

         ["backtrace"]=>

         array(3) {

           [0]=>

           array(7) {

             ["file"]=>

             string(24) "/usr/share/pear/PEAR.php"

             ["line"]=>

             int(534)

             ["function"]=>

             string(10) "PEAR_Error"

             ["class"]=>

             string(10) "PEAR_Error"

             ["object"]=>

             *RECURSION*

...

Saved Queries