[sork] vacation, xml-config and realm

Martin Luethi horde at humbapa.ch
Mon Jan 26 01:25:32 PST 2004


hi list,

since the config was switched to xml I can't use the "default" config
anymore.

I use the "Exim mailer based SQL driver" with "Custom parameters".
when I access vacation I got the following error (see attachment
for full output):
A fatal error has occurred
Required 'table' not specified in vacation authentication SQL configuration.
The file /httproot/_mail/horde/config/../vacation/config/conf.php should
contain a $conf['server']['params']['table'] setting.

the table-setting is there, but under $conf['server']['params']['default']
['table']...

I think there should be a section in vacation/main.php or
vacation/lib/Driver.php who checks the realm and then cleans up this config-
array ($conf['server']).

is anybody working at this right now?


g. martin luethi
-------------- next part --------------
A fatal error has occurred
Required 'table' not specified in vacation authentication SQL configuration.
The file /httproot/_mail/horde/config/../vacation/config/conf.php should contain a $conf['server']['params']['table'] setting.
[line 338 of /httproot/_mail/horde/lib/Horde.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(208) "Required 'table' not specified in vacation authentication SQL configuration.The file /httproot/_mail/horde/config/../vacation/config/conf.php should contain a $conf['server']['params']['table'] setting."
  ["userinfo"]=>
  NULL
  ["backtrace"]=>
  array(6) {
    [0]=>
    array(6) {
      ["file"]=>
      string(35) "/usr/local/apache2/lib/php/PEAR.php"
      ["line"]=>
      int(525)
      ["function"]=>
      string(10) "pear_error"
      ["class"]=>
      string(10) "pear_error"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(5) {
        [0]=>
        string(208) "Required 'table' not specified in vacation authentication SQL configuration.The file /httproot/_mail/horde/config/../vacation/config/conf.php should contain a $conf['server']['params']['table'] setting."
        [1]=>
        NULL
        [2]=>
        int(1)
        [3]=>
        int(1024)
        [4]=>
        NULL
      }
    }
    [1]=>
    array(6) {
      ["file"]=>
      string(35) "/httproot/_mail/horde/lib/Horde.php"
      ["line"]=>
      int(337)
      ["function"]=>
      string(10) "raiseerror"
      ["class"]=>
      string(4) "pear"
      ["type"]=>
      string(2) "::"
      ["args"]=>
      array(1) {
        [0]=>
        string(208) "Required 'table' not specified in vacation authentication SQL configuration.The file /httproot/_mail/horde/config/../vacation/config/conf.php should contain a $conf['server']['params']['table'] setting."
      }
    }
    [2]=>
    array(6) {
      ["file"]=>
      string(49) "/httproot/_mail/horde/vacation/lib/Driver/sql.php"
      ["line"]=>
      int(189)
      ["function"]=>
      string(18) "assertdriverconfig"
      ["class"]=>
      string(5) "horde"
      ["type"]=>
      string(2) "::"
      ["args"]=>
      array(4) {
        [0]=>
        &array(9) {
          ["phptype"]=>
          string(5) "mysql"
          ["persistent"]=>
          bool(false)
          ["protocol"]=>
          string(3) "tcp"
          ["hostspec"]=>
          string(9) "localhost"
          ["username"]=>
          string(5) "horde"
          ["password"]=>
          string(8) "******"
          ["database"]=>
          string(5) "horde"
          ["charset"]=>
          string(10) "iso-8859-1"
          ["default"]=>
          array(14) {
            ["phptype"]=>
            string(5) "mysql"
            ["hostspec"]=>
            string(9) "localhost"
            ["username"]=>
            string(5) "linux"
            ["password"]=>
            string(8) "******"
            ["database"]=>
            string(5) "mysql"
            ["socket"]=>
            string(27) "/var/run/mysqld/mysqld.sock"
            ["protocol"]=>
            string(4) "unix"
            ["table"]=>
            string(8) "vacation"
            ["user_col"]=>
            string(12) "vac_vacation"
            ["pass_col"]=>
            string(16) "vac_password_md5"
            ["message"]=>
            string(8) "vac_text"
            ["subject"]=>
            string(11) "vac_subject"
            ["vacation"]=>
            string(12) "vac_vacation"
            ["driverconfig"]=>
            string(6) "custom"
          }
        }
        [1]=>
        &string(6) "server"
        [2]=>
        &array(5) {
          [0]=>
          string(7) "phptype"
          [1]=>
          string(8) "hostspec"
          [2]=>
          string(8) "username"
          [3]=>
          string(8) "database"
          [4]=>
          string(5) "table"
        }
        [3]=>
        &string(27) "vacation authentication SQL"
      }
    }
    [3]=>
    array(6) {
      ["file"]=>
      string(49) "/httproot/_mail/horde/vacation/lib/Driver/sql.php"
      ["line"]=>
      int(147)
      ["function"]=>
      string(8) "_connect"
      ["class"]=>
      string(19) "vacation_driver_sql"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [4]=>
    array(6) {
      ["file"]=>
      string(45) "/httproot/_mail/horde/vacation/lib/Driver.php"
      ["line"]=>
      int(91)
      ["function"]=>
      string(15) "_getuserdetails"
      ["class"]=>
      string(19) "vacation_driver_sql"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(3) {
        [0]=>
        &string(4) "tinu"
        [1]=>
        &string(10) "humbapa.ch"
        [2]=>
        &string(9) "******"
      }
    }
    [5]=>
    array(6) {
      ["file"]=>
      string(39) "/httproot/_mail/horde/vacation/main.php"
      ["line"]=>
      int(97)
      ["function"]=>
      string(9) "isenabled"
      ["class"]=>
      string(19) "vacation_driver_sql"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(3) {
        [0]=>
        &string(4) "tinu"
        [1]=>
        &string(10) "humbapa.ch"
        [2]=>
        &string(9) "******"
      }
    }
  }
  ["callback"]=>
  NULL
}


More information about the sork mailing list