<?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>Local SQL doesn&#039;t work (with fix)</title> 
  <pubDate>Sun, 05 Apr 2026 22:29:54 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/2419</link> 
  <atom:link rel="self" type="application/rss+xml" title="Local SQL doesn&#039;t work (with fix)" href="https://bugs.horde.org/ticket/2419/rss" /> 
  <description>Local SQL doesn&#039;t work (with fix)</description> 
 
   
   
  <item> 
   <title>I just installed Turba h3-2.0.3 on Horde 3.0.2, configured t</title> 
   <description>I just installed Turba h3-2.0.3 on Horde 3.0.2, configured to use my local MySQL database.



I added a contact without problems, but the lists didn&#039;t show the contact, just empty entries called &#039;D&#039; and another single letter name.



I tracked it down the file turba/lib/Driver/sql.php and the section around line 310:



                    $binds = Horde_SQL::buildClause($this-&gt;_db, $vals[&#039;field&#039;],\

 $vals[&#039;op&#039;], $rhs, true);

                    $clause .= $binds[0];

                    $values = array_merge($values, $binds[1]);



Horde_SQL::buildClause returns a string, not an array. Changing the clause line above to:



$clause .= $binds



and removing the &quot;$values=...&quot; line fixes the problem.



The bug was apparently introduced in CVS version 1.72 of the file on June 9.



Cheers!

</description> 
   <pubDate>Wed, 10 Aug 2005 09:38:12 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2419#t10426</link> 
  </item> 
   
  <item> 
   <title>What are the $Horde version numbers of framework/SQL/SQL.php</title> 
   <description>What are the $Horde version numbers of framework/SQL/SQL.php and turba/lib/Driver/sql.php?  Are you sure you installed the latest framework when you upgraded from CVS?</description> 
   <pubDate>Wed, 10 Aug 2005 22:23:42 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2419#t10455</link> 
  </item> 
   
  <item> 
   <title>I didn&#039;t upgrade from CVS; I installed both Horde and Turba </title> 
   <description>I didn&#039;t upgrade from CVS; I installed both Horde and Turba from the stable distributions. The reference to CVS in my comment was just because I checked CVS before posting the fix.



Do I have to upgrade Horde from 3.0.2 to 3.0.5 to use Turba H3 2.0.3? I don&#039;t think that was mentioned in the documentation anywhere. I didn&#039;t expect API changes in a minor version number upgrade.



The CVS header of the Horde SQL.php is:



$Horde: framework/SQL/SQL.php,v 1.30.2.1 2005/01/03 12:19:12 jan Exp $



and in Turba:



$Horde: turba/lib/Driver/sql.php,v 1.59.10.9 2005/06/10 04:29:14 selsky Exp \

$



Thanks for the help.

</description> 
   <pubDate>Thu, 11 Aug 2005 07:59:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2419#t10471</link> 
  </item> 
   
  <item> 
   <title>&gt; Do I have to upgrade Horde from 3.0.2 to 3.0.5 to use Turb</title> 
   <description>&gt; Do I have to upgrade Horde from 3.0.2 to 3.0.5 to use Turba H3 2.0.3? 

&gt; I don&#039;t think that was mentioned in the documentation anywhere. I 

&gt; didn&#039;t expect API changes in a minor version number upgrade.



No, and it shouldn&#039;t be necessary.



Note to Matt: it shouldn&#039;t even be necessary if using Turba from CVS. You can&#039;t rely on something you introduced in Horde or framework HEAD.</description> 
   <pubDate>Thu, 11 Aug 2005 08:36:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2419#t10474</link> 
  </item> 
   
  <item> 
   <title>OK.  Do I need to revert, or can I do a version check and us</title> 
   <description>OK.  Do I need to revert, or can I do a version check and use bind variables with Horde &gt;= 3.0.4?</description> 
   <pubDate>Thu, 11 Aug 2005 17:12:49 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2419#t10486</link> 
  </item> 
   
  <item> 
   <title>I guess you could check if the function result is an array o</title> 
   <description>I guess you could check if the function result is an array or a string? If not, revert.

And make sure to check if you need to fix other places too.</description> 
   <pubDate>Thu, 11 Aug 2005 17:25:51 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2419#t10487</link> 
  </item> 
   
  <item> 
   <title>This has been fixed in Turba 2.0.4 and Kronolith 2.0.4.</title> 
   <description>This has been fixed in Turba 2.0.4 and Kronolith 2.0.4.</description> 
   <pubDate>Thu, 11 Aug 2005 18:33:56 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2419#t10489</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit b624e669f35c</title> 
   <description>Changes have been made in Git (master):

commit b624e669f35c1c5e03edbc806389f7a22f867153
Author: Paul M Jones &lt;pmjones@ciaweb.net&gt;
Date:   Thu Sep 30 13:40:24 2004 +0000

    Wiki.php: fixed bug 2419 for getParseConf(), fixed similar bug in getFormatConf()
    package.xml: updated with new version and release date
    
    
    git-svn-id: https://svn.php.net/repository/pear/packages/Text_Wiki/trunk@169638 c90b9560-bf6c-de11-be94-00142212c4b1

 Text/Wiki.php | 6 +++---
 package.xml   | 8 +++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

http://github.com/horde/horde/commit/b624e669f35c1c5e03edbc806389f7a22f867153</description> 
   <pubDate>Wed, 06 Sep 2017 08:17:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2419#t92166</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
