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 (at) horde (dot) org |
Requester | dorm (at) dorm (dot) org |
Created | 02/16/2006 (7050 days ago) |
Due | |
Updated | 02/17/2006 (7049 days ago) |
Assigned | 02/17/2006 (7049 days ago) |
Resolved | 02/17/2006 (7049 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Summary ⇒ Missing phptype config item when inheriting sql config from Horde
State ⇒ Resolved
State ⇒ Assigned
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Missing phptype config item when inhereting sql config from Horde
Queue ⇒ Forwards
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. */