Fwd: Small bug with SAM?
Chuck Hagenbuch <[email protected]> Sat, 14 Feb 2004 20:51:34 -0500
| Newsgroups | gmane.comp.horde.sam |
|---|---|
| Message-ID | <[email protected]> |
----- Forwarded message from [email protected] ----- Date: Sun, 15 Feb 2004 13:34:13 +1300 From: Reuben Farrelly <[email protected]> Reply-To: Reuben Farrelly <[email protected]> Subject: Small bug with SAM? To: [email protected] Hi Chuck, I'm getting a message appearing above the top row of icons whenever I use Sam, with latest CVS of all modules: Warning: htmlentities() expects parameter 1 to be string, object given in /usr/share/pear/Horde.php on line 410 If I do a bit more debugging I can get information: object(pear_error)(8) { ["error_message_prefix"]=> string(0) "" ["mode"]=> int(1) ["level"]=> int(1024) ["code"]=> NULL ["message"]=> string(55) "The method "showWhitelist" is not defined in imp's API." ["userinfo"]=> NULL ["backtrace"]=> array(7) { [0]=> array(6) { ["file"]=> string(24) "/usr/share/pear/PEAR.php" ["line"]=> int(527) ["function"]=> string(10) "pear_error" ["class"]=> string(10) "pear_error" ["type"]=> string(2) "->" ["args"]=> array(5) { [0]=> string(55) "The method "showWhitelist" is not defined in imp's API." [1]=> NULL [2]=> int(1) [3]=> int(1024) [4]=> NULL } } [1]=> array(6) { ["file"]=> string(34) "/usr/share/pear/Horde/Registry.php" ["line"]=> int(498) ["function"]=> string(10) "raiseerror" ["class"]=> string(4) "pear" ["type"]=> string(2) "::" ["args"]=> array(1) { [0]=> string(55) "The method "showWhitelist" is not defined in imp's API." } } [2]=> array(6) { ["file"]=> string(34) "/usr/share/pear/Horde/Registry.php" ["line"]=> int(475) ["function"]=> string(13) "linkbypackage" ["class"]=> string(8) "registry" ["type"]=> string(2) "->" ["args"]=> array(4) { [0]=> string(3) "imp" [1]=> string(13) "showWhitelist" [2]=> array(0) { } [3]=> string(0) "" } } [3]=> array(6) { ["file"]=> string(47) "/var/www/html/horde/sam/templates/menu/menu.inc" ["line"]=> int(9) ["function"]=> string(4) "link" ["class"]=> string(8) "registry" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(18) "mail/showWhitelist" } } [4]=> array(4) { ["file"]=> string(35) "/var/www/html/horde/sam/lib/SAM.php" ["line"]=> int(128) ["args"]=> array(1) { [0]=> string(47) "/var/www/html/horde/sam/templates/menu/menu.inc" } ["function"]=> string(7) "require" } [5]=> array(6) { ["file"]=> string(32) "/var/www/html/horde/sam/spam.php" ["line"]=> int(77) ["function"]=> string(4) "menu" ["class"]=> string(3) "sam" ["type"]=> string(2) "::" ["args"]=> array(0) { } } [6]=> array(4) { ["file"]=> string(33) "/var/www/html/horde/sam/index.php" ["line"]=> int(27) ["args"]=> array(1) { [0]=> string(32) "/var/www/html/horde/sam/spam.php" } ["function"]=> string(7) "require" } } ["callback"]=> NULL } Warning: htmlentities() expects parameter 1 to be string, object given in /usr/share/pear/Horde.php on line 410 whitelist Whitelist object(pear_error)(8) { ["error_message_prefix"]=> string(0) "" ["mode"]=> int(1) ["level"]=> int(1024) ["code"]=> NULL ["message"]=> string(55) "The method "showBlacklist" is not defined in imp's API." ["userinfo"]=> NULL ["backtrace"]=> array(7) { [0]=> array(6) { ["file"]=> string(24) "/usr/share/pear/PEAR.php" ["line"]=> int(527) ["function"]=> string(10) "pear_error" ["class"]=> string(10) "pear_error" ["type"]=> string(2) "->" ["args"]=> array(5) { [0]=> string(55) "The method "showBlacklist" is not defined in imp's API." [1]=> NULL [2]=> int(1) [3]=> int(1024) [4]=> NULL } } [1]=> array(6) { ["file"]=> string(34) "/usr/share/pear/Horde/Registry.php" ["line"]=> int(498) ["function"]=> string(10) "raiseerror" ["class"]=> string(4) "pear" ["type"]=> string(2) "::" ["args"]=> array(1) { [0]=> string(55) "The method "showBlacklist" is not defined in imp's API." } } [2]=> array(6) { ["file"]=> string(34) "/usr/share/pear/Horde/Registry.php" ["line"]=> int(475) ["function"]=> string(13) "linkbypackage" ["class"]=> string(8) "registry" ["type"]=> string(2) "->" ["args"]=> array(4) { [0]=> string(3) "imp" [1]=> string(13) "showBlacklist" [2]=> array(0) { } [3]=> string(0) "" } } [3]=> array(6) { ["file"]=> string(47) "/var/www/html/horde/sam/templates/menu/menu.inc" ["line"]=> int(12) ["function"]=> string(4) "link" ["class"]=> string(8) "registry" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> string(18) "mail/showBlacklist" } } [4]=> array(4) { ["file"]=> string(35) "/var/www/html/horde/sam/lib/SAM.php" ["line"]=> int(128) ["args"]=> array(1) { [0]=> string(47) "/var/www/html/horde/sam/templates/menu/menu.inc" } ["function"]=> string(7) "require" } [5]=> array(6) { ["file"]=> string(32) "/var/www/html/horde/sam/spam.php" ["line"]=> int(77) ["function"]=> string(4) "menu" ["class"]=> string(3) "sam" ["type"]=> string(2) "::" ["args"]=> array(0) { } } [6]=> array(4) { ["file"]=> string(33) "/var/www/html/horde/sam/index.php" ["line"]=> int(27) ["args"]=> array(1) { [0]=> string(32) "/var/www/html/horde/sam/spam.php" } ["function"]=> string(7) "require" } } ["callback"]=> NULL } Warning: htmlentities() expects parameter 1 to be string, object given in /usr/share/pear/Horde.php on line 410 I only see showBlacklist and showWhitelist mentioned inside the files horde/sam/templates/menu/menu.inc and horde/ingo/templates/menu/menu.inc. What am I missing here or is this a bug? I do have imp installed so guessing it's an API mismatch? Reuben ----- End forwarded message ----- -chuck -- "Here, I brought some cole slaw. It's made from peeeooople! Just kidding." -- sam mailing list - Join the hunt: http://horde.org/bounties/#sam Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]