[horde] **** Fw: file ../config/conf.php should contain $conf['prefs']['params']['charset']

Craig White craigwhite at azapple.com
Mon Oct 9 16:23:45 PDT 2006


cd horde/scripts/sql/
mysql horde -u horde -p < create.mysql.sql

Craig

On Mon, 2006-10-09 at 21:11 +0200, gentoo at boxhorn-edv.com wrote:
> Hi everybody,
> 
> horde is bringing me on my brain end, so sorry for bothering everybody.
> 
> Problem is that user preferences can´t be saved till next session. So i decided following the setup, created a mysql db named horde, granted the user horde all rights, created the user horde, gave him a password.
> Then i asked the horde conf to use the sql database.
> When I try to login i get the error: 
> file ../config/conf.php should contain $conf['prefs']['params']['charset'] 
> 
> Here is my conf.php. I really dont´t come further and google isn´t helping me.
> 
> I have some little other problems, but maybe later if i have hopefully solved this one. And for sure I tried to add 
> 
> $conf['prefs']['params']['charset']  = 'iso-8859-1'; or utf-8 to the config, it didn´t change anything.
> 
> 
> <?php
> /* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
> // $Horde: horde/config/conf.xml,v 1.64 2004/11/02 12:47:01 jan Exp $
> $conf['debug_level'] = E_ALL;
> $conf['max_exec_time'] = 0;
> $conf['use_ssl'] = 0;
> $conf['server']['name'] = $_SERVER['SERVER_NAME'];
> $conf['server']['port'] = $_SERVER['SERVER_PORT'];
> $conf['compress_pages'] = true;
> $conf['umask'] = 077;
> $conf['session']['name'] = 'Horde';
> $conf['session']['cache_limiter'] = 'nocache';
> $conf['session']['timeout'] = 0;
> $conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];
> $conf['cookie']['path'] = '/horde';
> $conf['sql']['phptype'] = 'mysql';
> $conf['sql']['persistent'] = false;
> $conf['sql']['protocol'] = 'unix';
> $conf['sql']['hostspec'] = 'localhost';
> $conf['sql']['username'] = 'horde';
> $conf['sql']['password'] = ********;
> $conf['sql']['database'] = 'horde';
> $conf['sql']['charset'] = 'iso-8859-1';
> $conf['auth']['admins'] = array('admin');
> $conf['auth']['checkip'] = true;
> $conf['auth']['params']['app'] = 'imp';
> $conf['auth']['driver'] = 'application';
> $conf['signup']['allow'] = false;
> $conf['signup']['approve'] = true;
> $conf['signup']['preprocess'] = true;
> $conf['signup']['queue'] = false;
> $conf['log']['priority'] = PEAR_LOG_NOTICE;
> $conf['log']['ident'] = 'HORDE';
> $conf['log']['params'] = array();
> $conf['log']['name'] = '/tmp/horde.log';
> $conf['log']['params']['append'] = true;
> $conf['log']['type'] = 'file';
> $conf['log']['enabled'] = true;
> $conf['log_accesskeys'] = false;
> $conf['prefs']['params']['driverconfig'] = 'horde';
> $conf['prefs']['driver'] = 'sql';
> $conf['datatree']['params']['driverconfig'] = 'horde';
> $conf['datatree']['driver'] = 'sql';
> $conf['group']['driver'] = 'datatree';
> $conf['cache']['default_lifetime'] = 1800;
> $conf['cache']['params']['dir'] = Horde::getTempDir();
> $conf['cache']['driver'] = 'file';
> $conf['token']['driver'] = 'none';
> $conf['mailer']['params']['sendmail_path'] = '/usr/sbin/sendmail';
> $conf['mailer']['params']['sendmail_args'] = '-oi';
> $conf['mailer']['type'] = 'sendmail';
> $conf['vfs']['type'] = 'sql';
> $conf['sessionhandler']['type'] = 'none';
> $conf['geoip']['datafile'] = '/var/www/horde/GeoIP.dat';
> $conf['problems']['email'] = 'user at domain.com';
> $conf['menu']['always'] = false;
> $conf['menu']['links']['help'] = 'never';
> $conf['menu']['links']['options'] = 'authenticated';
> $conf['menu']['links']['problem'] = 'authenticated';
> $conf['menu']['links']['login'] = 'never';
> $conf['menu']['links']['logout'] = 'authenticated';
> $conf['hooks']['username'] = false;
> $conf['hooks']['preauthenticate'] = false;
> $conf['hooks']['postauthenticate'] = false;
> $conf['hooks']['authldap'] = false;
> /* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */



More information about the horde mailing list