<?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>DB: Error no such field -- adding members to a group</title> 
  <pubDate>Fri, 10 Apr 2026 17:02:41 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7075</link> 
  <atom:link rel="self" type="application/rss+xml" title="DB: Error no such field -- adding members to a group" href="https://bugs.horde.org/ticket/7075/rss" /> 
  <description>DB: Error no such field -- adding members to a group</description> 
 
   
   
  <item> 
   <title>hello,



I have been trying to track down why I was getting</title> 
   <description>hello,



I have been trying to track down why I was getting &#039;DB: Error no such field&#039; when trying to add members to a group in horde-groupware-1.1.1.



I&#039;m still very new to horde and am still trying to learn my way around, but there is no mention of this error in /tmp/horde.log.  I was however able to get postgresql to log this error:



In horde/lib/Horde/Group/sql.php, I made the following change, and members were successfully added to the group.



    880         if (!empty($this-&gt;data[&#039;users&#039;])) {

    881             $query = &#039;INSERT INTO horde_groups_members (group_uid, user_uid)&#039;

    882                 .&#039; VALUES (&#039; . $this-&gt;id . &#039;, ?)&#039;;

    882 // original line       .&#039; VALUES (&quot;&#039; . $this-&gt;id . &#039;&quot;, ?)&#039;;

    883             $sth = $this-&gt;_groupOb-&gt;_write_db-&gt;prepare($query);

    884             $result = $this-&gt;_groupOb-&gt;_write_db-&gt;executeMultiple($sth, array_keys($this-&gt;data[&#039;users&#039;]));

    885             if (is_a($result, &#039;PEAR_Error&#039;)) {

    886                 return $result;

    887             }

    888         }



The database is postgresql 8.1.11-1.el5_1.1 if that means anything.



I would appreciate if this find can be confirmed,... or maybe I have something set up wrong to cause this behaviour.  The reason I say that is that during the horde setup I used the default encoding of ISO_8859_1.  In postgresql I also left the default of UTF8.



I wonder if this may be part of it.



Klaus</description> 
   <pubDate>Thu, 17 Jul 2008 03:27:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7075#t47593</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/framework/Group/Group/sql.php?r1=1.7&amp;r2=1.8&amp;ty=u
http://cvs.horde.org/diff.php/horde/docs/CHANGES?r1=1.1127&amp;r2=1.1128&amp;ty=u</description> 
   <pubDate>Thu, 17 Jul 2008 04:25:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7075#t47594</link> 
  </item> 
   
  <item> 
   <title>Not quite the right fix, but on the right track. This has be</title> 
   <description>Not quite the right fix, but on the right track. This has been fixed in CVS and for 3.2.2 - thanks!</description> 
   <pubDate>Thu, 17 Jul 2008 04:26:00 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7075#t47595</link> 
  </item> 
   
  <item> 
   <title>true,



must be a PEAR issue, not postgresql database,...  </title> 
   <description>true,



must be a PEAR issue, not postgresql database,...  I usually do the same syntax as in the original file.



hmmm, is there a qualified solution in PEAR?



Klaus Kruger

TECS Company Inc 

15 Eury Lane

Somerset KY 42501



606-451-3005</description> 
   <pubDate>Thu, 17 Jul 2008 05:59:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7075#t47596</link> 
  </item> 
   
  <item> 
   <title>Double quotes are not valid as a data quoting method in most</title> 
   <description>Double quotes are not valid as a data quoting method in most databases.</description> 
   <pubDate>Thu, 17 Jul 2008 14:35:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7075#t47599</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
