[dev] customsql driver for forwards

Matt Selsky selsky at columbia.edu
Mon Oct 24 12:00:47 PDT 2005


I'm trying to use the customsql driver for Forwards and I want to be 
able to use the "default" Horde-wide database settings that I set up.

forwards/config/conf.php contains:

$conf['server']['params']['driverconfig'] = 'horde';
$conf['server']['params']['query_select'] = 'SELECT ...';
$conf['server']['params']['query_set'] = 'UPDATE ...';
$conf['server']['params']['query_disable'] = 'DELETE ...';
$conf['server']['params']['column_target'] = 'target';
$conf['server']['params']['column_keeplocal'] = 'keeplocal';
$conf['server']['driver'] = 'customsql';

However, when I load up the forwards app, I get a Horde fatal error:

A fatal error has occurred

Required "phptype" not specified in authentication SQL configuration. The file /etc/httpd/htdocs/horde/config/../forwards/config/conf.php 
should contain a $conf['server']['params']['phptype'] setting.

Details have been logged for the administrator.

And in horde.log:

Oct 24 14:55:30 HORDE [emergency] [forwards] Required "phptype" not specified in authentication SQL configuration.

The file /etc/httpd/htdocs/horde/config/../forwards/config/conf.php should contain a $conf['server']['params']['phptype'] setting. [on line 519 of "/etc/httpd/htdocs/horde/framework/Horde/Horde.php"]


Am I doing something wrong or does customsql.php not inherit Horde 
database settings properly?


-- 
Matt


More information about the dev mailing list