[horde] DB Error: extension not found

Jacob Geigle techie at tp.ath.cx
Sun Nov 20 23:08:03 PST 2005


I have horde 3.1-cvs installed on Mandrake 10.0  kernel 2.6.3-7mdk 
php-4.3.8 mysql and apache2 with mod_php.  I can access the database 
manually but trying to use the DataTree admin utility gives me this error:
is this a pear problem or a php problem?


  A fatal error has occurred


      DB Error: extension not found

[line 34 of /var/www/horde/admin/sqlshell.php]


      Details (also in Horde's logfile):

object(db_error)(8) {
  ["error_message_prefix"]=>
  string(0) ""
  ["mode"]=>
  int(1)
  ["level"]=>
  int(1024)
  ["code"]=>
  int(-25)
  ["message"]=>
  string(29) "DB Error: extension not found"
  ["userinfo"]=>
  string(41) " [DB Error: extension not found] ** Array"
  ["backtrace"]=>
  array(6) {
    [0]=>
    array(6) {
      ["file"]=>
      string(22) "/usr/share/pear/DB.php"
      ["line"]=>
      int(888)
      ["function"]=>
      string(10) "pear_error"
      ["class"]=>
      string(8) "db_error"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(5) {
        [0]=>
        string(29) "DB Error: extension not found"
        [1]=>
        int(-25)
        [2]=>
        int(1)
        [3]=>
        int(1024)
        [4]=>
        string(32) " [DB Error: extension not found]"
      }
    }
    [1]=>
    array(6) {
      ["file"]=>
      string(24) "/usr/share/pear/PEAR.php"
      ["line"]=>
      int(557)
      ["function"]=>
      string(8) "db_error"
      ["class"]=>
      string(8) "db_error"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(4) {
        [0]=>
        int(-25)
        [1]=>
        int(1)
        [2]=>
        int(1024)
        [3]=>
        string(32) " [DB Error: extension not found]"
      }
    }
    [2]=>
    array(6) {
      ["file"]=>
      string(29) "/usr/share/pear/DB/common.php"
      ["line"]=>
      int(1849)
      ["function"]=>
      string(10) "raiseerror"
      ["class"]=>
      string(4) "pear"
      ["type"]=>
      string(2) "::"
      ["args"]=>
      array(7) {
        [0]=>
        NULL
        [1]=>
        int(-25)
        [2]=>
        NULL
        [3]=>
        NULL
        [4]=>
        string(32) " [DB Error: extension not found]"
        [5]=>
        string(8) "DB_Error"
        [6]=>
        bool(true)
      }
    }
    [3]=>
    array(6) {
      ["file"]=>
      string(29) "/usr/share/pear/DB/mysqli.php"
      ["line"]=>
      int(281)
      ["function"]=>
      string(10) "raiseerror"
      ["class"]=>
      string(9) "db_mysqli"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        int(-25)
      }
    }
    [4]=>
    array(6) {
      ["file"]=>
      string(22) "/usr/share/pear/DB.php"
      ["line"]=>
      int(556)
      ["function"]=>
      string(7) "connect"
      ["class"]=>
      string(9) "db_mysqli"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(2) {
        [0]=>
        array(12) {
          ["phptype"]=>
          string(6) "mysqli"
          ["dbsyntax"]=>
          string(6) "mysqli"
          ["username"]=>
          string(5) "horde"
          ["password"]=>
          string(6) "3xz9fb"
          ["protocol"]=>
          bool(false)
          ["hostspec"]=>
          string(9) "localhost"
          ["port"]=>
          int(3306)
          ["socket"]=>
          bool(false)
          ["database"]=>
          string(5) "horde"
          ["persistent"]=>
          bool(false)
          ["charset"]=>
          string(10) "iso-8859-1"
          ["splitwrite"]=>
          bool(false)
        }
        [1]=>
        bool(false)
      }
    }
    [5]=>
    array(6) {
      ["file"]=>
      string(33) "/var/www/horde/admin/sqlshell.php"
      ["line"]=>
      int(32)
      ["function"]=>
      string(7) "connect"
      ["class"]=>
      string(2) "db"
      ["type"]=>
      string(2) "::"
      ["args"]=>
      array(1) {
        [0]=>
        array(9) {
          ["persistent"]=>
          bool(false)
          ["hostspec"]=>
          string(9) "localhost"
          ["username"]=>
          string(5) "horde"
          ["password"]=>
          string(6) "3xz9fb"
          ["port"]=>
          int(3306)
          ["database"]=>
          string(5) "horde"
          ["charset"]=>
          string(10) "iso-8859-1"
          ["splitwrite"]=>
          bool(false)
          ["phptype"]=>
          string(6) "mysqli"
        }
      }
    }
  }
  ["callback"]=>
  NULL
}
  




More information about the horde mailing list