[dev] brandnew Turba installation throws errors

Ralf Lang lang at b1-systems.de
Fri Mar 22 13:47:55 UTC 2019


Am 22.03.19 um 11:11 schrieb Sebastian Birnbach:
> On a new horde installation with turba I see these errors upon accessing a
> demo entry:
>
> Mar 22 11:05:26 ixie HORDE: [turba] PHP ERROR: Declaration of
> Horde_Form_Type_country::init($prompt = NULL) should be compatible with
> Horde_Form_Type_enum::init($values, $prompt = NULL) [pid 57796 on line 0 of
> "/usr/local/share/pear/Horde/Form/Type.php"]
> Mar 22 11:05:26 ixie HORDE: [turba] PHP ERROR: Declaration of
> Turba_Form_AddContact::validate() should be compatible with
> Horde_Form::validate($vars = NULL, $canAutoFill = false) [pid 57796 on line
> 5 of "/usr/local/www/horde/turba/lib/Form/AddContact.php"]
> Mar 22 11:05:26 ixie HORDE: [turba] PHP ERROR: Declaration of
> Horde_Form_Action_updatefield::getActionScript(&$form, &$renderer,
> $varname) should be compatible with
> Horde_Form_Action::getActionScript($form, $renderer, $varname) [pid 57796
> on line 0 of "/usr/local/share/pear/Horde/Form/Action/updatefield.php"]
> Mar 22 11:05:26 ixie HORDE: [turba] PHP ERROR: Declaration of
> Horde_Form_Action_updatefield::setValues(&$vars, $sourceVal, $arrayVal =
> false) should be compatible with Horde_Form_Action::setValues(&$vars,
> $sourceVal, $index = NULL, $arrayVal = false) [pid 57796 on line 0 of
> "/usr/local/share/pear/Horde/Form/Action/updatefield.php"]
> Mar 22 11:05:34 ixie HORDE: [turba] PHP ERROR: Declaration of
> Horde_Form_Type_country::init($prompt = NULL) should be compatible with
> Horde_Form_Type_enum::init($values, $prompt = NULL) [pid 35165 on line 0 of
> "/usr/local/share/pear/Horde/Form/Type.php"]
> Mar 22 11:05:34 ixie HORDE: [turba] PHP ERROR: Declaration of
> Turba_Form_AddContact::validate() should be compatible with
> Horde_Form::validate($vars = NULL, $canAutoFill = false) [pid 35165 on line
> 5 of "/usr/local/www/horde/turba/lib/Form/AddContact.php"]
> Mar 22 11:05:34 ixie HORDE: [turba] PHP ERROR: Declaration of
> Horde_Form_Action_updatefield::getActionScript(&$form, &$renderer,
> $varname) should be compatible with
> Horde_Form_Action::getActionScript($form, $renderer, $varname) [pid 35165
> on line 0 of "/usr/local/share/pear/Horde/Form/Action/updatefield.php"]
> Mar 22 11:05:34 ixie HORDE: [turba] PHP ERROR: Declaration of
> Horde_Form_Action_updatefield::setValues(&$vars, $sourceVal, $arrayVal =
> false) should be compatible with Horde_Form_Action::setValues(&$vars,
> $sourceVal, $index = NULL, $arrayVal = false) [pid 35165 on line 0 of
> "/usr/local/share/pear/Horde/Form/Action/updatefield.php"]
> Mar 22 11:05:35 ixie HORDE: [turba] PHP ERROR: Declaration of
> Horde_Form_Type_country::init($prompt = NULL) should be compatible with
> Horde_Form_Type_enum::init($values, $prompt = NULL) [pid 35165 on line 0 of
> "/usr/local/share/pear/Horde/Form/Type.php"]
> Mar 22 11:05:35 ixie HORDE: [turba] PHP ERROR: Declaration of
> Horde_Form_Action_updatefield::getActionScript(&$form, &$renderer,
> $varname) should be compatible with
> Horde_Form_Action::getActionScript($form, $renderer, $varname) [pid 35165
> on line 0 of "/usr/local/share/pear/Horde/Form/Action/updatefield.php"]
> Mar 22 11:05:35 ixie HORDE: [turba] PHP ERROR: Declaration of
> Horde_Form_Action_updatefield::setValues(&$vars, $sourceVal, $arrayVal =
> false) should be compatible with Horde_Form_Action::setValues(&$vars,
> $sourceVal, $index = NULL, $arrayVal = false) [pid 35165 on line 0 of
> "/usr/local/share/pear/Horde/Form/Action/updatefield.php"]
> Mar 22 11:05:35 ixie HORDE: [turba] PHP ERROR: Declaration of
> Turba_Form_EditContact::renderActive($renderer, $vars, $action, $method)
> should be compatible with Horde_Form::renderActive($renderer = NULL, $vars
> = NULL, $action = '', $method = 'get', $enctype = NULL, $focus = true) [pid
> 35165 on line 0 of "/usr/local/www/horde/turba/lib/Form/EditContact.php"]
>
>
> I updated the whole installation through
> sudo pear upgrade -a -B -c horde
> but the errors remain.
>
> Looks to me like an incompatibility between turba application and base
> packages.

Hi,

likely this can be fixed with relaxed php configuration wrt to
strictness / fatality of declarations.

Which PHP Version is using?

-- 
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: lang at b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537



More information about the dev mailing list