[horde] Horde 3.2 new configuration errors

Fred Ho fkho at fredho.net
Mon May 26 14:59:58 UTC 2008


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.

[line 637 of /opt/lsws/MyWWW/html/horde-3.2/lib/Horde.php]
Details:
The full error message is logged in Horde's log file, and is shown  
below only to administrators. Non-adminitrative users will not see  
error details.

object(pear_error)(8) {
   ["error_message_prefix"]=>
   string(0) ""
   ["mode"]=>
   int(1)
   ["level"]=>
   int(1024)
   ["code"]=>
   NULL
   ["message"]=>
   string(202) "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."
   ["userinfo"]=>
   NULL
   ["backtrace"]=>
   array(9) {
     [0]=>
     array(6) {
       ["file"]=>
       string(56) "/opt/lsws/lsphp4/share/pear/PEAR/FixPHP5PEARWarnings.php"
       ["line"]=>
       int(5)
       ["function"]=>
       string(10) "pear_error"
       ["class"]=>
       string(10) "pear_error"
       ["type"]=>
       string(2) "->"
       ["args"]=>
       array(5) {
         [0]=>
         string(202) "Required "phptype" not specified in kronolith  
configuration.

....

The turba source.php is:

$cfgSources['localsql'] = array(
     'title' => _("My Address Book"),
     'type' => 'sql',
     // The default connection details are pulled from the Horde-wide SQL
     // connection configuration.
     'params' => array_merge($GLOBALS['conf']['sql'], array('table' =>  
'turba_objects')),
     // Using two tables as datasource.
     // 'params' => array_merge($GLOBALS['conf']['sql'],
     //                         array('table' => 'leaddetails LEFT  
JOIN leadaddress ON leaddetails.leadid = leadaddress.leadaddressid',
     //                               'filter' =>  
'leaddetails.converted = 0')),
     'map' => array(
         '__key' => 'object_id',
         '__owner' => 'owner_id',
         '__type' => 'object_type',
         '__members' => 'object_members',
         '__uid' => 'object_uid',
         'firstname' => 'object_firstname',
         'lastname' => 'object_lastname',
         'middlenames' => 'object_middlenames',
         'namePrefix' => 'object_nameprefix',
         'nameSuffix' => 'object_namesuffix',
     ...
);

The kronolith conf.php is

<?php
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Horde: kronolith/config/conf.xml,v 1.14.10.5 2007/12/20 14:12:23 jan Exp $
$conf['calendar']['params']['table'] = 'kronolith_events';
$conf['calendar']['params']['driverconfig'] = 'horde';
$conf['calendar']['driver'] = 'sql';
$conf['storage']['params']['table'] = 'kronolith_storage';
$conf['storage']['params']['driverconfig'] = 'horde';
$conf['storage']['driver'] = 'sql';
$conf['metadata']['keywords'] = true;
$conf['reminder']['server_name'] = 'localhost';
$conf['reminder']['from_addr'] = 'webmaster at xxx.com';
$conf['autoshare']['shareperms'] = 'none';
$conf['holidays']['enable'] = true;
$conf['menu']['print'] = true;
$conf['menu']['import_export'] = true;
$conf['menu']['apps'] = array('imp');
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */


Regards,
Fred







More information about the horde mailing list