<?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>postgresql syntax error</title> 
  <pubDate>Fri, 10 Apr 2026 13:16:44 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/2203</link> 
  <atom:link rel="self" type="application/rss+xml" title="postgresql syntax error" href="https://bugs.horde.org/ticket/2203/rss" /> 
  <description>postgresql syntax error</description> 
 
   
   
  <item> 
   <title>I have installed Horde FRAMEWORK_3 branch + Whups HEAD branc</title> 
   <description>I have installed Horde FRAMEWORK_3 branch + Whups HEAD branch on postgresql, php-4.3.11, users kept in SQL.

I have configured it properly - as admin I can post new tickets, browse, etc.

I have configured queue access right for guests (full access).

When I log as guest, i get &quot;There are no queues which you can create tickets in.&quot; error.

Postgresql log indicates several query parse errors:



LOG:  statement: SELECT datatree_id, datatree_parents FROM horde_datatree WHERE datatree_name = ? AND group_uid = ? ORDER BY datatree_id

ERROR:  syntax error at or near &quot;AND&quot; at character 82

LOG:  statement: SELECT queue_id, queue_name FROM whups_queues ORDER BY queue_name 

LOG:  statement: SELECT datatree_id, datatree_parents FROM horde_datatree WHERE datatree_name = ? AND group_uid = ? ORDER BY datatree_id

ERROR:  syntax error at or near &quot;AND&quot; at character 82



It seems that Whups (Horde?) has query variable substitution problem.

There is also syntax error in Horde/Form.php (framework module), in version:

$Horde: framework/Form/Form.php,v 1.306.2.21 2005/06/23 22:31:25 selsky Exp $



Patch:



--- /root/.backups/Form.php~    Thu Jun 30 12:33:52 2005

+++ /usr/share/php/PEAR/Horde/Form.php  Thu Jun 30 12:33:52 2005

@@ -3372,9 +3372,9 @@

      */

     var $_autofilled = false;

 

-     *

+     /*

      * @var boolean

-    /**

+     *

      * Whether this is a hidden variable.

      *

      * @var boolean

</description> 
   <pubDate>Thu, 30 Jun 2005 11:10:05 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2203#t9456</link> 
  </item> 
   
  <item> 
   <title>This has been fixed in CVS already.</title> 
   <description>This has been fixed in CVS already.</description> 
   <pubDate>Thu, 30 Jun 2005 11:18:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2203#t9458</link> 
  </item> 
   
  <item> 
   <title>&gt; This has been fixed in CVS already.



In which repository</title> 
   <description>&gt; This has been fixed in CVS already.



In which repository/branch?

I have just done cvs update (horde/framework FRAMEWORK_3 branch) and nothing has changed.</description> 
   <pubDate>Thu, 30 Jun 2005 11:29:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2203#t9459</link> 
  </item> 
   
  <item> 
   <title>Oh, I misread your comment. I thought you were running Horde</title> 
   <description>Oh, I misread your comment. I thought you were running Horde 3.0.4.



The form issue has been fixed now, but I don&#039;t use PostgreSQL, so someone else would have to step in.</description> 
   <pubDate>Thu, 30 Jun 2005 11:48:19 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2203#t9460</link> 
  </item> 
   
  <item> 
   <title>Okay, this has nothing to do with Whups; if it&#039;s anything, i</title> 
   <description>Okay, this has nothing to do with Whups; if it&#039;s anything, it&#039;s a datatree problem. Please make sure you&#039;re actually using FRAMEWORK_3 CVS, in case this has been fixed after 3.0.4, and please look at your postgres logs to see the query that is actually being sent to postgres.



We run bugs.horde.org on postgres, so I doubt the current code has a problem, but something might not have been merged...</description> 
   <pubDate>Sat, 02 Jul 2005 00:09:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2203#t9496</link> 
  </item> 
   
  <item> 
   <title>&gt; We run bugs.horde.org on postgres, so I doubt the current </title> 
   <description>&gt; We run bugs.horde.org on postgres, so I doubt the current code has a 

&gt; problem, but something might not have been merged...



I just noticed that we have the same messages in the logs.</description> 
   <pubDate>Mon, 11 Jul 2005 10:25:39 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2203#t9644</link> 
  </item> 
   
  <item> 
   <title>Fixed in HEAD and FRAMEWORK_3.</title> 
   <description>Fixed in HEAD and FRAMEWORK_3.</description> 
   <pubDate>Mon, 11 Jul 2005 19:02:16 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/2203#t9655</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
