<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet href="http://bugs.horde.org/themes/feed-rss.xsl" type="text/xsl"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <title>Missing phptype config item when inheriting sql config from Horde</title>
  <pubDate>Sat, 05 Jul 2008 12:51:38 -0400</pubDate>
  <link>http://bugs.horde.org/ticket/3501</link>
  <atom:link rel="self" type="application/rss+xml" title="Missing phptype config item when inheriting sql config from Horde" href="http://bugs.horde.org/ticket/3501/rss" />
  <description>Missing phptype config item when inheriting sql config from Horde</description>

  
  
  <item>
   <title>This is actually for forwards 3.0-RC1, but that queue versio</title>
   <description>This is actually for forwards 3.0-RC1, but that queue version is not available yet.

When I select to use the SQL configuration from Horde for this module, I end up with the following fatal error:

Required &quot;phptype&quot; not specified in Forwards SQL configuration. The file /var/www/gwp-members/config/../forwards/config/conf.php should contain a $conf['server']['params']['phptype'] setting.

[line 522 of /var/www/gwp-members/lib/Horde.php]

If I configure the SQL driver separately for forwards (with the same settings as Horde), then it works just fine.

I've included the config file it does generate below.  For some reason it's not correctly inhereting the settings from Horde.


&lt;?php
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Horde: forwards/config/conf.xml,v 1.7 2005/04/13 18:06:16 chuck Exp $
$conf['server']['params']['driverconfig'] = 'horde';
$conf['server']['params']['query_select'] = 'SELECT forward FROM gwp_users WHERE CONCAT(username, \'@\', maildomain) = \U AND forwar
d != \'\'';
$conf['server']['params']['query_set'] = 'UPDATE gwp_users SET forward = \T WHERE CONCAT(username, \'@\', maildomain) = \U';
$conf['server']['params']['query_disable'] = 'UPDATE gwp_users SET forward = \'\' WHERE CONCAT(username, \'@\', maildomain) = \U';
$conf['server']['params']['column_target'] = 'forward';
$conf['server']['params']['column_keeplocal'] = 'forward';
$conf['server']['driver'] = 'customsql';
$conf['enabled']['keeplocal'] = false;
$conf['enabled']['authenticate'] = false;
$conf['user']['refused'] = array('root', 'bin', 'daemon', 'adm', 'lp', 'shutdown', 'halt', 'uucp', 'ftp', 'anonymous', 'nobody', 'ht
tpd', 'operator', 'guest', 'diginext', 'bind', 'cyrus', 'courier', 'games', 'kmem', 'mailnull', 'man', 'mysql', 'news', 'postfix', '
sshd', 'tty', 'www');
$conf['menu']['apps'] = array('imp');
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
</description>
   <pubDate>Thu, 16 Feb 2006 17:00:57 -0500</pubDate>
   <link>http://bugs.horde.org/ticket/3501#t16885</link>
  </item>
  <item>
   <title>Fixed in CVS.</title>
   <description>Fixed in CVS.</description>
   <pubDate>Fri, 17 Feb 2006 11:51:27 -0500</pubDate>
   <link>http://bugs.horde.org/ticket/3501#t16899</link>
  </item>
  

 </channel>
</rss>
