[Tickets #3501] NEW: Missing phptype config item when inhereting sql config from Horde
bugs@bugs.horde.org
bugs at bugs.horde.org
Thu Feb 16 14:00:58 PST 2006
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=3501
-----------------------------------------------------------------------
Ticket | 3501
Created By | dorm at dorm.org
Summary | Missing phptype config item when inhereting sql config from Horde
Queue | Forwards
Version | HEAD
State | Unconfirmed
Priority | 2. Medium
Type | Bug
Owners |
-----------------------------------------------------------------------
dorm at dorm.org (2006-02-16 14:00) wrote:
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. */
More information about the bugs
mailing list