[horde] Alarm problem in Horde-3.2alpha

David Chang david at tmv.gov.tw
Thu Aug 9 21:08:04 UTC 2007


Hello:
Every time i click Alarm in Administer i get these error message from browser:

A fatal error has occurred
Nonexistant class "Horde_Form_Type_sound" for field type "sound"
[line 161 of /usr/local/apache/horde-rc/lib/Horde/Form.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(64) "Nonexistant class "Horde_Form_Type_sound" for field  
type "sound""
   ["userinfo"]=>
   NULL
   ["backtrace"]=>
   array(5) {
     [0]=>
     array(6) {
       ["file"]=>
       string(27) "/usr/local/lib/php/PEAR.php"
       ["line"]=>
       int(572)
       ["function"]=>
       string(10) "pear_error"
       ["class"]=>
       string(10) "pear_error"
       ["type"]=>
       string(2) "->"
       ["args"]=>
       array(5) {
         [0]=>
         string(64) "Nonexistant class "Horde_Form_Type_sound" for  
field type "sound""
         [1]=>
         NULL
         [2]=>
         int(1)
         [3]=>
         int(1024)
         [4]=>
         NULL
       }
     }
     [1]=>
     array(6) {
       ["file"]=>
       string(45) "/usr/local/apache/horde-rc/lib/Horde/Form.php"
       ["line"]=>
       int(161)
       ["function"]=>
       string(10) "raiseerror"
       ["class"]=>
       string(4) "pear"
       ["type"]=>
       string(2) "::"
       ["args"]=>
       array(1) {
         [0]=>
         string(64) "Nonexistant class "Horde_Form_Type_sound" for  
field type "sound""
       }
     }
     [2]=>
     array(6) {
       ["file"]=>
       string(45) "/usr/local/apache/horde-rc/lib/Horde/Form.php"
       ["line"]=>
       int(233)
       ["function"]=>
       string(7) "gettype"
       ["class"]=>
       string(10) "horde_form"
       ["type"]=>
       string(2) "->"
       ["args"]=>
       array(2) {
         [0]=>
         &string(5) "sound"
         [1]=>
         &array(0) {
         }
       }
     }
     [3]=>
     array(6) {
       ["file"]=>
       string(45) "/usr/local/apache/horde-rc/lib/Horde/Form.php"
       ["line"]=>
       int(223)
       ["function"]=>
       string(20) "insertvariablebefore"
       ["class"]=>
       string(10) "horde_form"
       ["type"]=>
       string(2) "->"
       ["args"]=>
       array(8) {
         [0]=>
         &NULL
         [1]=>
         &string(13) "Play a sound?"
         [2]=>
         &string(12) "notify_sound"
         [3]=>
         &string(5) "sound"
         [4]=>
         &bool(false)
         [5]=>
         &bool(false)
         [6]=>
         &NULL
         [7]=>
         &array(0) {
         }
       }
     }
     [4]=>
     array(6) {
       ["file"]=>
       string(43) "/usr/local/apache/horde-rc/admin/alarms.php"
       ["line"]=>
       int(47)
       ["function"]=>
       string(11) "addvariable"
       ["class"]=>
       string(10) "horde_form"
       ["type"]=>
       string(2) "->"
       ["args"]=>
       array(4) {
         [0]=>
         &string(13) "Play a sound?"
         [1]=>
         &string(12) "notify_sound"
         [2]=>
         &string(5) "sound"
         [3]=>
         &bool(false)
       }
     }
   }
   ["callback"]=>
   NULL
}



And here are what horde.log say:
Aug 08 15:14:16 HORDE [emergency] [horde] Nonexistant class  
"Horde_Form_Type_sou
nd" for field type "sound" [on line 161 of  
"/usr/local/apache/horde-rc/lib/Horde
/Form.php"]


ENV:
Apache 1.3.33 + PHP 4.4.1
Horde 3.2alpha

David Chang




More information about the horde mailing list