[dev] brandnew Turba installation throws errors
Sebastian Birnbach
birnbacs at gmail.com
Fri Mar 22 14:01:02 UTC 2019
I could not find an appropriate setting in php.ini, could you please be a
little more specific?
[develop at ixie ~]$ php --version
PHP 7.2.13 (cli) (built: Jan 1 2019 23:42:23) ( NTS DEBUG )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Xdebug v2.6.1, Copyright (c) 2002-2018, by Derick Rethans
with Zend OPcache v7.2.13, Copyright (c) 1999-2018, by Zend Technologies
Am Fr., 22. März 2019 um 14:48 Uhr schrieb Ralf Lang <lang at b1-systems.de>:
>
> 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
>
> --
> dev mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>
More information about the dev
mailing list