[horde] Configuration problems
Wolfgang Paul Rauchholz
wp.rauchholz at gmail.com
Mon Mar 19 12:33:23 UTC 2018
Thank you!. That took me one step further.
Now I still have two issues:
(1) Server error when querying database. Which I assume belongs to this
message:
Mar 19 13:24:12 home HORDE: [horde] SQL QUERY FAILED: Table
'horde5.horde_alarm' doesn't exist #012#011SELECT alarm_id, alarm_uid,
alarm_start, alarm_end, alarm_methods,#012#011 alarm_params, alarm_title,
alarm_text, alarm_snooze, alarm_internal#012#011 FROM horde_alarm WHERE
alarm_dismissed = 0 AND ((alarm_snooze IS NULL#012#011 AND alarm_start <=
'2018-03-19 12:24:12') OR alarm_snooze <=#012#011 '2018-03-19 12:24:12')
AND (alarm_end IS NULL OR alarm_end >=#012#011 '2018-03-19 12:24:12') AND
(alarm_uid IS NULL OR alarm_uid = '' OR#012#011 alarm_uid = '') ORDER BY
alarm_start, alarm_end [pid 13527 on line 318 of
"/usr/share/pear/Horde/Db/Adapter/Mysqli.php"]
but when running horde-db-migrate i get:
[ INFO ] Current Horde_Alarm schema version: 2
I also went into mysql and ran 'show tables' and that gives me a good
result:
| horde_activesync_state |
| horde_alarm_schema_info |
| horde_alarms |
| horde_auth_schema_info |
| horde_cache |
(2) When running the test.php script I get this error
A fatal error has occurredsyntax 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}
[code:protected] => 0
[file:protected] => /usr/share/pear/File/Fstab.php
[line:protected] => 110
[trace:Error:private] => Array
On Mon, Mar 19, 2018 at 12:43 PM, Grouchy Sysadmin <
sysadmin at grouchysysadmin.com> wrote:
>
>
> On 03/19/2018 05:58 AM, Wolfgang Paul Rauchholz wrote:
>
>> 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/F
>> orm.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.p
>> hp:1803
>> 8. Horde_Registry->callAppMethod() /usr/share/pear/Horde/Config.p
>> hp: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
>>
>
> As far as I know, the pear 'Services_Weather' package does not work on
> PHP versions higher than 5.6. Try removing it and see if that solves the
> issue.
>
--
Wolfgang Rauchholz
More information about the horde
mailing list