[#3501] Missing phptype config item when inheriting sql config from Horde
Summary Missing phptype config item when inheriting sql config from Horde
Queue Forwards
Queue Version HEAD
Type Bug
State Resolved
Priority 2. Medium
Owners Jan Schneider <jan (at) horde (dot) org>
Requester dorm (at) dorm (dot) org
Created 02/16/2006 (815 days ago)
Due
Updated 02/17/2006 (814 days ago)
Assigned 02/17/2006 (814 days ago)
Resolved 02/17/2006 (814 days ago)
Attachments
Milestone
Patch

History
02/17/2006 Jan Schneider Comment #2
Summary ⇒ Missing phptype config item when inheriting sql config from Horde
State ⇒ Resolved
Reply to this comment
Fixed in CVS.
02/17/2006 Jan Schneider State ⇒ Assigned
Assigned to Jan Schneider
 
02/16/2006 dorm (at) dorm (dot) org Comment #1
Summary ⇒ Missing phptype config item when inhereting sql config from Horde
Queue ⇒ Forwards
Type ⇒ Bug
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Reply to this comment
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 "phptype" 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.


<?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. */