[horde] Configuration problems

Wolfgang Paul Rauchholz wp.rauchholz at gmail.com
Mon Mar 19 10:58:15 UTC 2018


I run a CENTOS 7 server, httpd-2.4.6 and php71u
I installed via pear under /var/www/myserver/html/horde

I can access Configuration via http://my-server/horde/

Database tables were created via horde-db-migrate
[  INFO  ] Migrating DB up.
[  INFO  ] Current Horde_ActiveSync schema version: 23
[  INFO  ] Ending Horde_ActiveSync schema version: 23
[  INFO  ] Current Horde_Alarm schema version: 2
[  INFO  ] Ending Horde_Alarm schema version: 2

Trying to access the Configuration gives me the following error:
A fatal error has occurredsyntax error, unexpected 'new' (T_NEW)in
/usr/share/pear/Services/Weather.php:167

 1. Horde_Config_Form->__construct()
/var/www/wo-lar.com/html/horde/admin/config/config.php:35
 2. Horde_Config->readXMLConfig() /usr/share/pear/Horde/Config/Form.php:58
 3. Horde_Config->_parseLevel() /usr/share/pear/Horde/Config.php:204
 4. Horde_Config->_parseLevel() /usr/share/pear/Horde/Config.php:725
 5. Horde_Config->_parseLevel() /usr/share/pear/Horde/Config.php:712
 6. Horde_Config->_getEnumValues() /usr/share/pear/Horde/Config.php:602
 7. Horde_Config->_handleSpecials() /usr/share/pear/Horde/Config.php:1803
 8. Horde_Registry->callAppMethod() /usr/share/pear/Horde/Config.php:1874
 9. Horde_Application->configSpecialValues()
/usr/share/pear/Horde/Registry.php:1197
10. Horde_Core_Block_Collection->getBlocksList()
/var/www/wo-lar.com/html/horde/lib/Application.php:122
11. Horde_Core_Block_Collection->_loadBlocks()
/usr/share/pear/Horde/Core/Block/Collection.php:159
12. Horde_Block_Metar->__construct()
/usr/share/pear/Horde/Core/Block/Collection.php:500
13. class_exists() /var/www/wo-lar.com/html/horde/lib/Block/Metar.php:21
14. spl_autoload_call()
15. Horde_Autoloader->loadClass()
16. Horde_Autoloader->_include() /usr/share/pear/Horde/Autoloader.php:65

DetailsThe 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.

When running the test.php script I get he following error message:

(where is the log file?
syntax error, unexpected 'new' (T_NEW)in /usr/share/pear/File/Fstab.php:110

1. Horde_Test->pearModuleCheck() /var/www/wo-lar.com/html/horde/test.php:135
2. class_exists() /var/www/wo-lar.com/html/horde/lib/Test.php:619
3. spl_autoload_call()
4. Horde_Autoloader->loadClass()
5. Horde_Autoloader->_include() /usr/share/pear/Horde/Autoloader.php:65

DetailsThe 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/pear/File/Fstab.php:110
Stack trace:
#0 /usr/share/pear/Horde/Autoloader.php(65):
Horde_Autoloader->_include('/usr/share/pear...')
#1 [internal function]: Horde_Autoloader->loadClass('File_Fstab')
#2 [internal function]: spl_autoload_call('File_Fstab')
#3 /var/www/wo-lar.com/html/horde/lib/Test.php(619): class_exists('File_Fstab')
#4 /var/www/wo-lar.com/html/horde/test.php(135): Horde_Test->pearModuleCheck()
#5 {main}


How can I fix this?

Thanks for your help, Wolfgang


More information about the horde mailing list