[turba] create_default_histories.php error

Josh Kelley joshkel at gmail.com
Tue May 30 07:32:21 PDT 2006


We just upgraded from Turba 2.0.5 to Turba 2.1.1 (along with upgrading
from Horde 3.0.10 to Horde 3.1.1).  We're using localsql
(MySQL-backed) and localldap sources as modified from
sources.php.dist.  As instructed by Turba's UPGRADING doc, I tried
running create_default_histories.php, but it errors out with output
similar to the following:

PHP Notice:  Undefined index:   in
/var/www/horde/turba/scripts/upgrades/create_default_histories.php on
line 66
(repeated lots of times)
PHP Notice:  Undefined index:  type in
/var/www/horde/turba/lib/Driver.php on line 996
PHP Warning:  factory(/var/www/horde/turba/lib/Driver/.php): failed to
open stream: No such file or directory in
/var/www/horde/turba/lib/Driver.php on line 997PHP Warning:
factory(): Failed opening '/var/www/horde/turba/lib/Driver/.php' for
inclusion (include_path='/var/www/horde/lib:.:/usr/share/pear') in
/var/www/horde/turba/lib/Driver.php on line 997
X-Powered-By: PHP/4.3.9
Set-Cookie: Horde=ca7374dac238bd22cb6a820df11ff1bb; path=/horde;
domain=127.0.0.1; secure
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: auth_key=ca7374dac238bd22cb6a820df11ff1bb; path=/horde;
domain=127.0.0.1; secure
Content-Type: text/html; charset=ISO-8859-1

Creating default histories for localsql ...
Creating default histories for localldap ...
object(pear_error)(8) {
  ["error_message_prefix"]=>
  string(0) ""
  ["mode"]=>
  int(1)
  ["level"]=>
  int(1024)
  ["code"]=>
  NULL
  ["message"]=>
  string(47) "Unable to load the definition of Turba_Driver_."
  ["userinfo"]=>
  NULL
  ["backtrace"]=>
  array(4) {
    [0]=>
    array(6) {
      ["file"]=>
      string(24) "/usr/share/pear/PEAR.php"
      ["line"]=>
      int(539)
      ["function"]=>
      string(10) "pear_error"
      ["class"]=>
      string(10) "pear_error"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(5) {
        [0]=>
        string(47) "Unable to load the definition of Turba_Driver_."
        [1]=>
        NULL
        [2]=>
        int(1)
        [3]=>
        int(1024)
        [4]=>
        NULL
      }
    }
    [1]=>
    array(6) {
      ["file"]=>
      string(35) "/var/www/horde/turba/lib/Driver.php"
      ["line"]=>
      int(1002)
      ["function"]=>
      string(10) "raiseerror"
      ["class"]=>
      string(4) "pear"
      ["type"]=>
      string(2) "::"
      ["args"]=>
      array(1) {
        [0]=>
        string(47) "Unable to load the definition of Turba_Driver_."
      }
    }
    [2]=>
    array(6) {
      ["file"]=>
      string(35) "/var/www/horde/turba/lib/Driver.php"
      ["line"]=>
      int(1081)
      ["function"]=>
      string(7) "factory"
      ["class"]=>
      string(12) "turba_driver"
      ["type"]=>
      string(2) "::"
      ["args"]=>
      array(2) {
        [0]=>
        string(7) ":272965"
        [1]=>
        array(1) {
          ["title"]=>
          string(26) "John Doe's Address Book"
        }
      }
    }
    [3]=>
    array(6) {
      ["file"]=>
      string(66)
"/var/www/horde/turba/scripts/upgrades/create_default_histories.php"
      ["line"]=>
      int(75)
      ["function"]=>
      string(9) "singleton"
      ["class"]=>
      string(12) "turba_driver"
      ["type"]=>
      string(2) "::"
      ["args"]=>
      array(1) {
        [0]=>
        string(7) ":272965"
      }
    }
  }
  ["callback"]=>
  NULL
}

Do I need to do anything about these errors?

Thanks.

Josh Kelley


More information about the turba mailing list