6.0.0-beta1
7/30/25

[#9536] MDB2 Error for all horde modules
Summary MDB2 Error for all horde modules
Queue Horde Groupware Webmail Edition
Queue Version 1.2.9
Type Bug
State Duplicate
Priority 1. Low
Owners
Requester info (at) web-unity (dot) de
Created 01/25/2011 (5300 days ago)
Due
Updated 01/25/2011 (5300 days ago)
Assigned
Resolved 01/25/2011 (5300 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/25/2011 09:38:19 AM info (at) web-unity (dot) de Comment #3 Reply to this comment
Duplicate of bug #9090 and others.
Ahhh, disappears with

$conf['sql']['phptype'] = 'mysql';

in /horde/config/conf.php

Thanks a lot
01/25/2011 09:30:11 AM Jan Schneider Comment #2
State ⇒ Duplicate
Priority ⇒ 1. Low
Reply to this comment
Duplicate of bug #9090 and others.
01/25/2011 07:29:22 AM info (at) web-unity (dot) de Comment #1
Priority ⇒ 3. High
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Groupware Webmail Edition
Summary ⇒ MDB2 Error for all horde modules
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Hi, here I have Debian Squeeze, MySQL 5.5.8, PHP 5.3.5. Horde 
Groupware Webmail 1.2.9 was installed on this fresh system (no 
upgrade). I can log in to Horde/IMP and send mail, but when trying to 
create an address book an "MDB2 Error" occurs.
There are no errors in webserver log (nginx), horde.log gives

Jan 25 08:22:26 HORDE [error] [turba] MDB2 Error: unknown error: 
_execute: [Error message: Unable to execute statement]
[Last executed query: INSERT INTO turba_shares (share_name, 
share_owner, attribute_name, attribute_params, perm_creator, 
perm_default, perm_guest, share_flags, share_id) VALUES (?, ?, ?, ?, 
?, ?, ?, ?, ?)]
[Native code: 0]
  [pid 3882 on line 452 of "/var/www/horde/turba/lib/Turba.php"]

This error occurs for all modules (mnemo, turba, kronolith, nag). 
MySQL-Log gives


  24 Connect   horde@localhost on horde
                    22 Init DB   horde
                    22 Query     INSERT INTO turba_shares_seq (id) 
VALUES (NULL)
                    22 Init DB   horde
                    22 Query     SELECT LAST_INSERT_ID()
                    22 Init DB   horde
                    22 Query     DELETE FROM turba_shares_seq WHERE id < 26
                    22 Prepare   INSERT INTO turba_shares (share_name, 
share_owner, attribute_name, attribute_params, perm_creator, 
perm_default, perm_guest, share_flags, share_id) VALUES (?, ?, ?, ?, 
?, ?, ?,
  ?, ?)
                    22 Init DB   horde


...so, there is no error. Like I said, DB was fresh installed. The 
*_seq-Tables contain all one row with an id. horde_prefs and 
horde_sessionhandler is filled up with some entries, but all other 
tables are empty? DB was set up with groupware.mysql.sql script from 
scripts-directory.

Saved Queries