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 |
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.
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
}
State ⇒ Not A Bug
$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.
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'
);
State ⇒ Feedback
question is why. When you renamed hermes, did you fix all the
parameters in the stopwatch block also?
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
}
State ⇒ Not A Bug
If you have a current version of Hermes that has that block, then
something else is going on and we need more info.
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Queue ⇒ Hermes
Summary ⇒ Menu problem with hermes
Type ⇒ Bug
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*
...