[horde] Horde 3.2 new configuration errors
Fred Ho
fkho at fredho.net
Tue May 27 01:25:48 UTC 2008
Hi Michael,
In Kronolith, on Calendar Driver Settings, I chose "SQL" for
$conf[calendar][driver] and "Horde defaults" in
$conf[calendar][params][driverconfig] and "kronolith_events" in
$conf[calendar][params][table].
I don't see any phptype setting in the configuration form or the line
saying $conf['calendar']['params']['phptype']= in the generated
conf.php.
Why did the I see this error below and I don't know where the phptype
setting is generated from?
A fatal error has occurred
Required "phptype" not specified in kronolith configuration. The file
/opt/lsws/MyWWW/html/horde-3.2/config/../kronolith/config/conf.php
should contain a $conf['calendar']['params']['phptype'] setting.
For Turba, it's rather strange also, I am seeing error pointing to the
sources.php in which the error said:
Notice: Undefined index: sql in
/opt/lsws/MyWWW/html/horde-3.2/turba/config/sources.php on line 166
$cfgSources['localsql'] = array(
'title' => _("My Address Book"),
'type' => 'sql',
'params' => array_merge($GLOBALS['conf']['sql'], array('table' =>
'turba_objects')),
...
The Turba's conf.php is quite simple as followed:
$conf['menu']['import_export'] = true;
$conf['menu']['apps'] = array('imp');
$conf['client']['addressbook'] = 'localsql';
$conf['comments']['allow'] = true;
$conf['documents']['type'] = 'none';
Any clues on what I did wrong? This is a brand new setup.
Regards,
Fred
Quoting Michael Rubinsky <mrubinsk at horde.org>:
> Date: Mon, 26 May 2008 14:30:21 -0400
> From: Michael Rubinsky <mrubinsk at horde.org>
> Reply-To: Michael Rubinsky <mrubinsk at horde.org>
> Subject: Re: [horde] Horde 3.2 new configuration errors
> To: horde at lists.horde.org
>
> Quoting Fred Ho <fkho at fredho.net>:
>
>> Hi Jan,
>> Here's the Horde conf.php where sql backend was defined - mysql.
>> Any ideas on
>> the errors from Kronolith and Turba?
>
> What do you have configured in kronolith / turba's conf.php? You
> probably have selected custom parameters for the SQL driver
> settings....either use "horde defaults" or select a phptype in the
> kronolith / turba config file.
>
>
>
>>
>> $conf['vhosts'] = false;
>> $conf['debug_level'] = E_ALL;
>> $conf['max_exec_time'] = 0;
>> $conf['compress_pages'] = true;
>> $conf['umask'] = 077;
>> $conf['tmpdir'] = '/var/spool/horde';
>> $conf['use_ssl'] = 0;
>> $conf['server']['name'] = $_SERVER['SERVER_NAME'];
>> $conf['server']['port'] = $_SERVER['SERVER_PORT'];
>> $conf['urls']['pretty'] = false;
>> $conf['safe_ips'] = array();
>> $conf['session']['name'] = 'Horde';
>> $conf['session']['use_only_cookies'] = true;
>> $conf['session']['cache_limiter'] = 'nocache';
>> $conf['session']['timeout'] = 0;
>> $conf['cookie']['domain'] = $_SERVER['SERVER_NAME'];
>> $conf['cookie']['path'] = '/';
>> $conf['sql']['persistent'] = true;
>> $conf['sql']['username'] = 'horde';
>> $conf['sql']['password'] = 'xxx';
>> $conf['sql']['socket'] = '/var/lib/mysql/mysql.sock';
>> $conf['sql']['protocol'] = 'unix';
>> $conf['sql']['database'] = 'horde';
>> $conf['sql']['charset'] = 'UTF-8';
>> $conf['sql']['splitread'] = false;
>> $conf['sql']['phptype'] = 'mysql';
>> $conf['auth']['admins'] = array('Administrator');
>> $conf['auth']['checkip'] = false;
>> $conf['auth']['checkbrowser'] = false;
>> $conf['auth']['alternate_login'] = false;
>> $conf['auth']['redirect_on_logout'] = false;
>> $conf['auth']['params']['hostspec'] = 'localhost';
>> $conf['auth']['params']['port'] = 143;
>> $conf['auth']['params']['protocol'] = 'imap/notls';
>> $conf['auth']['params']['imapconfig'] = 'separate';
>> $conf['auth']['driver'] = 'imap';
>> $conf['signup']['allow'] = false;
>> $conf['log']['priority'] = PEAR_LOG_NOTICE;
>> $conf['log']['ident'] = 'HORDE';
>> $conf['log']['params'] = array();
>> $conf['log']['name'] = '/var/log/horde.log';
>> $conf['log']['params']['append'] = true;
>> $conf['log']['params']['mode'] = 644;
>> $conf['log']['type'] = 'file';
>> $conf['log']['enabled'] = true;
>> $conf['log_accesskeys'] = false;
>> $conf['prefs']['maxsize'] = 12288;
>> $conf['prefs']['driver'] = 'session';
>> $conf['alarms']['params']['table'] = 'horde_alarms';
>> $conf['alarms']['params']['driverconfig'] = 'horde';
>> $conf['alarms']['params']['ttl'] = 300;
>> $conf['alarms']['driver'] = 'sql';
>> $conf['datatree']['params']['table'] = 'horde_datatree';
>> $conf['datatree']['params']['table_attributes'] =
>> 'horde_datatree_attributes';
>> $conf['datatree']['params']['driverconfig'] = 'horde';
>> $conf['datatree']['driver'] = 'sql';
>> $conf['group']['driver'] = 'datatree';
>> $conf['group']['cache'] = false;
>> $conf['perms']['driver'] = 'datatree';
>> $conf['share']['no_sharing'] = false;
>> $conf['share']['any_group'] = false;
>> $conf['share']['cache'] = false;
>> $conf['share']['driver'] = 'datatree';
>> $conf['cache']['default_lifetime'] = 86400;
>> $conf['cache']['params']['dir'] = '/var/spool/horde/cache';
>> $conf['cache']['params']['sub'] = 0;
>> $conf['cache']['params']['prefix'] = 'ca-';
>> $conf['cache']['driver'] = 'file';
>> $conf['lock']['driver'] = 'none';
>> $conf['token']['timeout'] = 36000;
>> $conf['token']['driver'] = 'none';
>> $conf['mailer']['params']['sendmail_path'] = '/usr/lib/sendmail';
>> $conf['mailer']['params']['sendmail_args'] = '-oi';
>> $conf['mailer']['type'] = 'sendmail';
>> $conf['mailformat']['brokenrfc2231'] = true;
>> $conf['vfs']['type'] = 'none';
>> $conf['sessionhandler']['type'] = 'none';
>> $conf['sessionhandler']['memcache'] = false;
>> $conf['mime']['magic_db'] = '/usr/share/file/magic';
>> $conf['geoip']['datafile'] = '/geoipfile';
>> $conf['problems']['email'] = 'postmaster at domain.com';
>> $conf['problems']['maildomain'] = 'domain.com';
>> $conf['problems']['tickets'] = false;
>> $conf['problems']['attachments'] = false;
>> $conf['menu']['apps'] = array('imp', 'ingo', 'kronolith', 'passwd',
>> 'turba', 'vacation');
>> $conf['menu']['always'] = false;
>> $conf['menu']['links']['help'] = 'authenticated';
>> $conf['menu']['links']['options'] = 'authenticated';
>> $conf['menu']['links']['problem'] = 'authenticated';
>> $conf['menu']['links']['login'] = 'all';
>> $conf['menu']['links']['logout'] = 'authenticated';
>> $conf['hooks']['permsdenied'] = false;
>> $conf['hooks']['username'] = false;
>> $conf['hooks']['preauthenticate'] = false;
>> $conf['hooks']['postauthenticate'] = false;
>> $conf['hooks']['authldap'] = false;
>> $conf['hooks']['groupldap'] = false;
>> $conf['portal']['fixed_blocks'] = array();
>> $conf['accounts']['driver'] = 'null';
>> $conf['user']['verify_from_addr'] = false;
>> $conf['imsp']['enabled'] = false;
>> $conf['kolab']['enabled'] = false;
>> $conf['memcache']['enabled'] = false;
>> /* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
>>
>>
>> Regards,
>> Fred
>>
>>
>>
>> Quoting Jan Schneider <jan at horde.org>:
>>
>>> Date: Mon, 26 May 2008 17:19:02 +0200
>>> From: Jan Schneider <jan at horde.org>
>>> Reply-To: Jan Schneider <jan at horde.org>
>>> Subject: Re: [horde] Horde 3.2 new configuration errors
>>> To: horde at lists.horde.org
>>>
>>> Zitat von Fred Ho <fkho at fredho.net>:
>>>
>>>> Hi,
>>>> I installed all of the following and during configuration error
>>>> occurred:
>>>> Horde 3.2
>>>> IMP H3-4.2
>>>> Turba H3-2.2
>>>> Kronolith H3-2.2
>>>> Ingo H3-1.2
>>>>
>>>> During the completely new setup, there seemed to be some problems in the
>>>> conf.php as generated that cause the errors after completing the turba and
>>>> kronolith application in the horde configure forms after auto refresh. The
>>>> errors were as followed:
>>>>
>>>> Notice: Undefined index: sql in
>>>> /opt/lsws/MyWWW/html/horde-3.2/turba/config/sources.php on line 166
>>>> A fatal error has occurred
>>>> Required "phptype" not specified in kronolith configuration. The file
>>>> /opt/lsws/MyWWW/html/horde-3.2/config/../kronolith/config/conf.php
>>>> should contain a $conf['calendar']['params']['phptype'] setting.
>>>
>>> You didn't configure an SQL backend in Horde, but configured the other
>>> applications to use Horde SQL configuration.
>>>
>>> Jan.
>>>
>>> --
>>> Do you need professional PHP or Horde consulting?
>>> http://horde.org/consulting/
>>>
>>> --
>>> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>>
>>
>>
>> --
>> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>
>
>
>
> Thanks,
> mike
>
> --
> The Horde Project (www.horde.org)
> mrubinsk at horde.org
>
> "Time just hates me. That's why it made me an adult." - Josh Joplin
More information about the horde
mailing list