[agora] DB Error: insufficient data supplied

Steve Daniels horde at stedaniels.co.uk
Fri Sep 10 10:04:06 PDT 2004


When trying to update any options in the forum I get the below error.
 Please advise.

Thanks,
Steve


  A fatal error has occurred


      DB Error: insufficient data supplied

|[line 269 of /usr/share/pear/Horde/Prefs/sql.php]|


      Details (also in Horde's logfile):

object(db_error)(8) {
  ["error_message_prefix"]=>
  string(0) ""
  ["mode"]=>
  int(1)
  ["level"]=>
  int(1024)
  ["code"]=>
  int(-20)
  ["message"]=>
  string(36) "DB Error: insufficient data supplied"
  ["userinfo"]=>
  string(118) "INSERT INTO horde_prefs (pref_uid, pref_scope, pref_name, pref_value) VALUES('ldapuser', 'agora', 'forums_sortdir', ?)"
  ["backtrace"]=>
  array(7) {
    [0]=>
    array(6) {
      ["file"]=>
      string(22) "/usr/share/pear/DB.php"
      ["line"]=>
      int(642)
      ["function"]=>
      string(10) "pear_error"
      ["class"]=>
      string(8) "db_error"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(5) {
        [0]=>
        string(36) "DB Error: insufficient data supplied"
        [1]=>
        int(-20)
        [2]=>
        int(1)
        [3]=>
        int(1024)
        [4]=>
        string(118) "INSERT INTO horde_prefs (pref_uid, pref_scope, pref_name, pref_value) VALUES('ldapuser', 'agora', 'forums_sortdir', ?)"
      }
    }
    [1]=>
    array(6) {
      ["file"]=>
      string(24) "/usr/share/pear/PEAR.php"
      ["line"]=>
      int(525)
      ["function"]=>
      string(8) "db_error"
      ["class"]=>
      string(8) "db_error"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(4) {
        [0]=>
        int(-20)
        [1]=>
        int(1)
        [2]=>
        int(1024)
        [3]=>
        string(118) "INSERT INTO horde_prefs (pref_uid, pref_scope, pref_name, pref_value) VALUES('ldapuser', 'agora', 'forums_sortdir', ?)"
      }
    }
    [2]=>
    array(6) {
      ["file"]=>
      string(29) "/usr/share/pear/DB/common.php"
      ["line"]=>
      int(298)
      ["function"]=>
      string(10) "raiseerror"
      ["class"]=>
      string(4) "pear"
      ["type"]=>
      string(2) "::"
      ["args"]=>
      array(7) {
        [0]=>
        NULL
        [1]=>
        int(-20)
        [2]=>
        NULL
        [3]=>
        NULL
        [4]=>
        string(118) "INSERT INTO horde_prefs (pref_uid, pref_scope, pref_name, pref_value) VALUES('ldapuser', 'agora', 'forums_sortdir', ?)"
        [5]=>
        string(8) "DB_Error"
        [6]=>
        bool(true)
      }
    }
    [3]=>
    array(6) {
      ["file"]=>
      string(29) "/usr/share/pear/DB/common.php"
      ["line"]=>
      int(608)
      ["function"]=>
      string(10) "raiseerror"
      ["class"]=>
      string(8) "db_mysql"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        int(-20)
      }
    }
    [4]=>
    array(6) {
      ["file"]=>
      string(29) "/usr/share/pear/DB/common.php"
      ["line"]=>
      int(559)
      ["function"]=>
      string(19) "executeemulatequery"
      ["class"]=>
      string(8) "db_mysql"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(2) {
        [0]=>
        int(1)
        [1]=>
        string(1) "0"
      }
    }
    [5]=>
    array(6) {
      ["file"]=>
      string(35) "/usr/share/pear/Horde/Prefs/sql.php"
      ["line"]=>
      int(265)
      ["function"]=>
      string(7) "execute"
      ["class"]=>
      string(8) "db_mysql"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(2) {
        [0]=>
        int(1)
        [1]=>
        string(1) "0"
      }
    }
    [6]=>
    array(4) {
      ["function"]=>
      string(5) "store"
      ["class"]=>
      string(9) "prefs_sql"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
  }
  ["callback"]=>
  NULL
}




More information about the agora mailing list