[horde] horde.php and conf.php - db connect error

Adrian DeBoer stud_muffin_540 at yahoo.com
Thu Aug 7 05:58:14 PDT 2003


> Maybe post a copy to the mailing list after removing
> any sensitive info
> like passwords...

This won't be live on the internet...so passwords
don't really matter if you see them or not.

OK.....Here is my /horde/kronolith/config/conf.php
file:

<?php
/**
 * Kronolith Configuration File
 *
 * This file contains global configuration settings
for Kronolith. Values
 * may be safely edited by hand. Use conf.php.dist as
a reference.
 *
 * Strings should be enclosed in 'quotes'.
 * Integers should be given literally (without
quotes).
 * Boolean values may be true or false (no quotes).
 *
 * $Horde: kronolith/config/conf.php.dist,v 1.29.2.3
2003/04/04 19:23:54 chuck E
xp $
 */


/**
 ** Calendar Driver Settings
 **/

// What calendar backend is being used? Right now, the
only options are
// 'mcal' and 'sql', but others may appear at some
point in the future.
//$conf['calendar']['driver'] = 'mcal';
$conf['calendar']['driver'] = 'sql';

// What MCAL driver is being used? 'mstore' is the
local file driver,
// and is the only one with extensive testing. There
is also an ICAP
// driver, and theoretically an ICAP server, but
Kronolith has not
// been tested with them.
$conf['calendar']['params']['driver'] = 'mstore';

// The mstore driver requires a username and a
password that is in
// /etc/mpasswd in order to access local calendars.
$conf['calendar']['params']['username'] = '';
$conf['calendar']['params']['password'] = '';

// This is an example configuration for an sql driver,
in this case MySQL.
$conf['calendar']['params']['phptype'] = 'mysql';
$conf['calendar']['params']['hostspec'] = 'localhost';
$conf['calendar']['params']['username'] = 'horde';
$conf['calendar']['params']['password'] = '*****';
//$conf['calendar']['params']['password'] = 'horde';
$conf['calendar']['params']['database'] = 'horde';
$conf['calendar']['params']['table'] =
'kronolith_events';


/**
 ** Metadata Settings
 **/

// If this is true, then an array of keywords will be
read from
// config/keywords.php and you will be able to assign
any or all of
// them to events.
$conf['metadata']['keywords'] = false;


/**
 ** Menu settings
 **/

// Should we display a Import/Export link in the Horde
application
// menus?
$conf['menu']['import_export'] = true;

// This is an array of applications (using the names
defined in
// horde/config/registry.php) to include links to in
the menubar. An
// example providing a link to Turba (an addressbook
program) would
// be: $conf['menu']['apps'] = array('turba');
//$conf['menu']['apps'] = array();
$conf['menu']['apps'] = array('kronolith');




Here is my horde.php....I cut out all the commented
sentances and provided only the relevaent information:

General Horde Settings

$conf['debug_level'] = E_ALL;
$conf['max_exec_time'] = 0;
$conf['session_name'] = 'Horde';
$conf['cache_limiter'] = 'nocache';
$conf['session_timeout'] = 0;
$conf['use_ssl'] = 2;
$conf['compress_pages'] = true;
$conf['umask'] = 077;
$conf['tmpdir'] = null;

Horde Authentication

$conf['auth']['driver'] = 'sql';

// An array holding any parameters that the Auth
object will need to
// function correctly.
$conf['auth']['params'] = array();
$conf['auth']['params']['phptype'] = 'mysql';
$conf['auth']['params']['hostspec'] = 'localhost';
$conf['auth']['params']['username'] = 'horde';
//$conf['auth']['params']['password'] = '*****';
$conf['auth']['params']['password'] = 'horde';
$conf['auth']['params']['database'] = 'horde';
$conf['auth']['params']['table'] = 'horde_users';

Horde Logging

$conf['log']['type'] = 'file';
$conf['log']['name'] = '/tmp/horde.log';
$conf['log']['priority'] = LOG_NOTICE;
$conf['log']['ident'] = 'HORDE';
$conf['log']['params'] = array();

Preference System Settings

$conf['prefs']['driver'] = 'sql';

// Any parameters that the preferences driver needs.
This includes
// database or ldap server, username/password to
connect with, etc.
$conf['prefs']['params'] = array();
$conf['prefs']['params']['phptype'] = 'mysql';
$conf['prefs']['params']['hostspec'] = 'localhost';
$conf['prefs']['params']['username'] = 'horde';
$conf['prefs']['params']['password'] = '*****';
//$conf['prefs']['params']['password'] = 'horde';
$conf['prefs']['params']['database'] = 'horde';
$conf['prefs']['params']['table'] = 'horde_prefs';

Problem Reporting
$conf['problems']['enabled'] = false;

User Capabilities and Constraint
$conf['user']['online_help'] = true;

Stylesheets
$conf['css']['cached'] = true;

Menu settings
$conf['menu']['floating_bar'] = false;

Hopefully someone can help me out.

Thanks.

Adrian















__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



More information about the horde mailing list