6.0.0-alpha14
6/29/25

[#14554] configuration update results in error
Summary configuration update results in error
Queue Horde Base
Queue Version 5.2.13
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester michael.klein (at) hypaerion (dot) net
Created 01/02/2017 (3100 days ago)
Due
Updated 01/02/2017 (3100 days ago)
Assigned
Resolved 01/02/2017 (3100 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/02/2017 05:33:21 PM michael (dot) klein (at) hypaerion (dot) net Comment #5 Reply to this comment
This is from PEAR's Services_Weather, not Horde's Service_Weather.

Services_Weather is not compatible with PHP7, so will need to remove 
that package from your system.
You are right! Thank you very much!

01/02/2017 04:56:47 PM Michael Rubinsky Comment #4
State ⇒ Not A Bug
Reply to this comment
This is from PEAR's Services_Weather, not Horde's Service_Weather.

Services_Weather is not compatible with PHP7, so will need to remove 
that package from your system.
01/02/2017 04:53:32 PM michael (dot) klein (at) hypaerion (dot) net Comment #3 Reply to this comment
Looks like i am not able to update the attachment so here is the error 
in shortened comment.

A fatal error has occurred
syntax error, unexpected 'new' (T_NEW)

1. IMP_Application->exceptionHandler()
2. Horde_ErrorHandler::fatal() /usr/share/horde/imp/lib/Application.php:620

Details
The full error message is logged in Horde's log file, and is shown 
below only to administrators. Non-administrative users will not see 
error details.

ParseError Object
(
     [message:protected] => syntax error, unexpected 'new' (T_NEW)
     [string:Error:private] => ParseError: syntax error, unexpected 
'new' (T_NEW) in /usr/share/php/Services/Weather.php:167
Stack trace:
#0 /usr/share/php/Horde/Autoloader.php(65): 
Horde_Autoloader->_include('/usr/share/php/...')
#1 /usr/share/php/Horde/Autoloader/Cache.php(126): 
Horde_Autoloader->loadClass('Services_Weathe...')
#2 [internal function]: 
Horde_Autoloader_Cache->loadClass('Services_Weathe...')
#3 [internal function]: spl_autoload_call('Services_Weathe...')
#4 /usr/share/horde/lib/Block/Metar.php(21): 
class_exists('Services_Weathe...')
#5 /usr/share/php/Horde/Core/Block/Collection.php(500): 
Horde_Block_Metar->__construct('horde')
#6 /usr/share/php/Horde/Core/Block/Collection.php(159): 
Horde_Core_Block_Collection->_loadBlocks()
#7 /usr/share/horde/lib/Application.php(122): 
Horde_Core_Block_Collection->getBlocksList()
#8 /usr/share/php/Horde/Registry.php(1196): 
Horde_Application->configSpecialValues('blocks')
#9 /usr/share/php/Horde/Config.php(1861): 
Horde_Registry->callAppMethod('horde', 'configSpecialVa...', Array)
#10 /usr/share/php/Horde/Config.php(1790): 
Horde_Config->_handleSpecials(Object(DOMElement))
#11 /usr/share/php/Horde/Config.php(602): 
Horde_Config->_getEnumValues(Object(DOMElement))
#12 /usr/share/php/Horde/Config.php(712): 
Horde_Config->_parseLevel(Array, Object(DOMNodeList), 'portal')
#13 /usr/share/php/Horde/Config.php(725): 
Horde_Config->_parseLevel(Array, Object(DOMNodeList), '')
#14 /usr/share/php/Horde/Config.php(204): 
Horde_Config->_parseLevel(Array, Object(DOMNodeList), '')
#15 /usr/share/php/Horde/Config/Form.php(58): Horde_Config->readXMLConfig()
#16 /usr/share/horde/admin/config/config.php(35): 
Horde_Config_Form->__construct(Object(Horde_Variables), 'horde')
#17 {main}
01/02/2017 04:51:47 PM michael (dot) klein (at) hypaerion (dot) net Comment #2 Reply to this comment
when updating configuration i get the following error message:

Please be aware, i am using php7.
01/02/2017 04:50:48 PM michael (dot) klein (at) hypaerion (dot) net Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Base
Summary ⇒ configuration update results in error
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
when updating configuration i get the following error message:

Please be aware, i am using php7.

Saved Queries