<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Missing(?) MDB2 packages/support</title> 
  <pubDate>Fri, 10 Apr 2026 01:05:00 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/6804</link> 
  <atom:link rel="self" type="application/rss+xml" title="Missing(?) MDB2 packages/support" href="https://bugs.horde.org/ticket/6804/rss" /> 
  <description>Missing(?) MDB2 packages/support</description> 
 
   
   
  <item> 
   <title>I&#039;ve done a parallel install of 1.1, leaving my working 1.0.</title> 
   <description>I&#039;ve done a parallel install of 1.1, leaving my working 1.0.6 install alone.



I followed the installation notes, installing everything that&#039;s marked

as required and almost everything that was recommended.  I&#039;ve

configured it to use MySQL, like my 1.0.6 install (I&#039;m using a

different database, horde11 instead of horde, so I can run in

parallel).  However, I&#039;m getting the following error after trying to

login:



Fatal error: Call to undefined method MDB2_Error::execute() in

/www/webdocs/webmail/lib/Horde/Share/sql.php on line 554



I&#039;ve installed MDB2 and the mysql driver (version 1.4.1), PHP 5.2.5,

Apache 2.2.8 and Horde Webmail 1.1.  It all works fine with 1.0.6.

I&#039;m obviously missing something obvious, as I&#039;ve not seen anybody else

report this.</description> 
   <pubDate>Sat, 31 May 2008 18:23:32 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6804#t45732</link> 
  </item> 
   
  <item> 
   <title>We now at least catch and return this error.  Hopefully you&#039;</title> 
   <description>We now at least catch and return this error.  Hopefully you&#039;ll now see some more useful information in the logs or notifications.</description> 
   <pubDate>Sat, 31 May 2008 18:58:17 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6804#t45733</link> 
  </item> 
   
  <item> 
   <title>http://lists.horde.org/archives/cvs/Week-of-Mon-20080526/079</title> 
   <description>http://lists.horde.org/archives/cvs/Week-of-Mon-20080526/079142.html</description> 
   <pubDate>Sat, 31 May 2008 19:02:51 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6804#t45734</link> 
  </item> 
   
  <item> 
   <title>&gt; http://lists.horde.org/archives/cvs/Week-of-Mon-20080526/0</title> 
   <description>&gt; http://lists.horde.org/archives/cvs/Week-of-Mon-20080526/079142.html



After installing that patch I now see:



Call to undefined method MDB2_Error::execute() in /www/webdocs/webmail/lib/Horde/Share/sql.php on line 869

</description> 
   <pubDate>Sat, 31 May 2008 19:21:43 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6804#t45735</link> 
  </item> 
   
  <item> 
   <title>Added more error checking:

http://cvs.horde.org/diff.php?f=</title> 
   <description>Added more error checking:

http://cvs.horde.org/diff.php?f=framework%2FShare%2FShare%2Fsql.php&amp;r1=1.1.2.27&amp;r2=1.1.2.28&amp;t=unified

</description> 
   <pubDate>Sat, 31 May 2008 20:11:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6804#t45737</link> 
  </item> 
   
  <item> 
   <title>&gt; I&#039;ve done a parallel install of 1.1, leaving my working 1.</title> 
   <description>&gt; I&#039;ve done a parallel install of 1.1, leaving my working 1.0.6 install alone.

&gt;

&gt; I followed the installation notes, installing everything that&#039;s marked

&gt; as required and almost everything that was recommended.  I&#039;ve

&gt; configured it to use MySQL, like my 1.0.6 install (I&#039;m using a

&gt; different database, horde11 instead of horde, so I can run in

&gt; parallel).  However, I&#039;m getting the following error after trying to

&gt; login:

&gt;

&gt; Fatal error: Call to undefined method MDB2_Error::execute() in

&gt; /www/webdocs/webmail/lib/Horde/Share/sql.php on line 554

&gt;

&gt; I&#039;ve installed MDB2 and the mysql driver (version 1.4.1), PHP 5.2.5,

&gt; Apache 2.2.8 and Horde Webmail 1.1.  It all works fine with 1.0.6.

&gt; I&#039;m obviously missing something obvious, as I&#039;ve not seen anybody else

&gt; report this.



Hello! I&#039;ve got exactly the same problem here.

I&#039;m using PHP 5.2.0. mysql driver and mdb2 installed using pear.</description> 
   <pubDate>Mon, 02 Jun 2008 00:13:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6804#t45769</link> 
  </item> 
   
  <item> 
   <title>hello,



I got exactly the same error with lastest rc4 vers</title> 
   <description>hello,



I got exactly the same error with lastest rc4 version. Is there a way to fix it?



I&#039;ve tried several ways, but still have no clue why the script can not find the MDB2 package.  If I try to use mysql (not mysqlI) setup.php returns also another error:



Loading database module...

[  WARN  ] Database horde exists already, skipping.

Creating database...

[ ERROR! ] Creating the tables failed. Please see the manual at docs/INSTALL

           for how to setup the database manually. Error messages:

MDB2_Schema Error: unknown error

the database was only partially created (MDB2 Error: unknown error (_doQuery: [Error message: Could not execute statement]

[Last executed query: ALTER TABLE horde_datatree ADD PRIMARY KEY (datatree_id)]

[Native code: 1068]

[Native message: Multiple primary key defined]

))



Thanks,

Markus</description> 
   <pubDate>Mon, 02 Jun 2008 17:19:44 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6804#t45818</link> 
  </item> 
   
  <item> 
   <title>&gt; hello,

&gt;

&gt; I got exactly the same error with lastest rc4</title> 
   <description>&gt; hello,

&gt;

&gt; I got exactly the same error with lastest rc4 version. Is there a way 

&gt; to fix it?



Not until we know what the actual error is...



There have been a few more error checks and error logging added to the code that was producing the oringinal fatal.  If the someone can try this again after updating the code and report back any errors either displayed on in the horde log, it would be helpful.



&gt; I&#039;ve tried several ways, but still have no clue why the script can 

&gt; not find the MDB2 package.  



What makes you thing the MDB2 package is not found?  The problem reported in this ticket is that an MDB2_Error is being accessed as if it were an MDB2_Result or similar object...





If I try to use mysql (not mysqlI) 

&gt; setup.php returns also another error:

&gt;

&gt; Loading database module...

&gt; [  WARN  ] Database horde exists already, skipping.

&gt; Creating database...

&gt; [ ERROR! ] Creating the tables failed. Please see the manual at docs/INSTALL

&gt;            for how to setup the database manually. Error messages:

&gt; MDB2_Schema Error: unknown error

&gt; the database was only partially created (MDB2 Error: unknown error 

&gt; (_doQuery: [Error message: Could not execute statement]

&gt; [Last executed query: ALTER TABLE horde_datatree ADD PRIMARY KEY 

&gt; (datatree_id)]

&gt; [Native code: 1068]

&gt; [Native message: Multiple primary key defined]

&gt; ))



These are exactly what they say. You are attempting to create a database that already exists.</description> 
   <pubDate>Mon, 02 Jun 2008 18:44:05 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6804#t45820</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; I&#039;ve done a parallel install of 1.1, leaving my working 1</title> 
   <description>&gt;&gt; I&#039;ve done a parallel install of 1.1, leaving my working 1.0.6 install alone.

&gt;&gt;

&gt;&gt; I followed the installation notes, installing everything that&#039;s marked

&gt;&gt; as required and almost everything that was recommended.  I&#039;ve

&gt;&gt; configured it to use MySQL, like my 1.0.6 install (I&#039;m using a

&gt;&gt; different database, horde11 instead of horde, so I can run in

&gt;&gt; parallel).  However, I&#039;m getting the following error after trying to

&gt;&gt; login:

&gt;&gt;

&gt;&gt; Fatal error: Call to undefined method MDB2_Error::execute() in

&gt;&gt; /www/webdocs/webmail/lib/Horde/Share/sql.php on line 554

&gt;&gt;

&gt;&gt; I&#039;ve installed MDB2 and the mysql driver (version 1.4.1), PHP 5.2.5,

&gt;&gt; Apache 2.2.8 and Horde Webmail 1.1.  It all works fine with 1.0.6.

&gt;&gt; I&#039;m obviously missing something obvious, as I&#039;ve not seen anybody else

&gt;&gt; report this.



I had the same problem. After applying the two patches in this thread things started to work

apart from some moaning about the Calender Database.



The problem turned out to be that I had used .../scripts/sql/create.mysql.sql rather than

the correct .../scripts/sql/groupware.sql, and so was missing quite a few of the database tables.



The MDB2_Error::execute() stuff was just a red herring.

</description> 
   <pubDate>Wed, 11 Jun 2008 13:07:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6804#t46254</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
