[horde] PHP-related errors in Horde after upgrading to Debian Jessie

Jens Grüntjes jens.gruentjes at ebira.de
Thu Sep 3 08:21:25 UTC 2015


Hello list,

after I upgraded my server to Debian Jessie I have problems with  
horde. I'm quite sure this isn't a Horde bug but I'm hoping that some  
of you experts have some hints for me.

I'm having trouble when calling https://mydomain.de/horde/services/portal

The log show this stack trace


2015-09-03T10:05:16+02:00 DEBUG: HORDE [kronolith] Horde_Prefs:  
Storing preference value (display_external_cals) [pid 1693 on line 532  
of "/var/www/horde/kronolith/lib/CalendarsManager.php"]
2015-09-03T10:05:16+02:00 DEBUG: HORDE [kronolith] Horde_Prefs:  
Storing preference value (display_remote_cals) [pid 1693 on line 615  
of "/var/www/horde/kronolith/lib/CalendarsManager.php"]
2015-09-03T10:05:16+02:00 DEBUG: HORDE [kronolith] PHP ERROR:  
Non-static method Date_TimeZone::isValidID() should not be called  
statically, assuming $this from incompatible context [pid 1693 on line  
4717 of "/usr/share/php/Date/TimeZone.php"]
2015-09-03T10:05:16+02:00 DEBUG: HORDE  1.  
Horde_Core_Block_Layout_View->toHtml()  
/var/www/horde/services/portal/index.php:35
  2. Horde_Core_Block->getContent()  
/usr/share/php/Horde/Core/Block/Layout/View.php:98
  3. Horde_Core_Block->_call() /usr/share/php/Horde/Core/Block.php:175
  4. Kronolith_Block_Summary->_content()  
/usr/share/php/Horde/Core/Block.php:278
  5. Kronolith::listCalendars()  
/var/www/horde/kronolith/lib/Block/Summary.php:95
  6. Kronolith_CalendarsManager->get()  
/var/www/horde/kronolith/lib/Kronolith.php:1109
  7. Kronolith_CalendarsManager->_getAllHolidays()  
/var/www/horde/kronolith/lib/CalendarsManager.php:201
  8. class_exists() /var/www/horde/kronolith/lib/CalendarsManager.php:546
  9. spl_autoload_call()
10. Horde_Autoloader_Cache->loadClass()
11. Horde_Autoloader->loadClass()  
/usr/share/php/Horde/Autoloader/Cache.php:126
12. Horde_Autoloader->_include() /usr/share/php/Horde/Autoloader.php:65
13. include() /usr/share/php/Horde/Autoloader.php:128
14. require_once() /usr/share/php/Date/Holidays.php:39
15. require_once() /usr/share/php/Date.php:55
16. Horde_ErrorHandler::errorHandler() /usr/share/php/Date/TimeZone.php:4717

2015-09-03T10:05:16+02:00 DEBUG: HORDE [kronolith] PHP ERROR:  
Non-static method Date_TimeZone::setDefault() should not be called  
statically, assuming $this from incompatible context [pid 1693 on line  
4718 of "/usr/share/php/Date/TimeZone.php"]
2015-09-03T10:05:16+02:00 DEBUG: HORDE  1.  
Horde_Core_Block_Layout_View->toHtml()  
/var/www/horde/services/portal/index.php:35
  2. Horde_Core_Block->getContent()  
/usr/share/php/Horde/Core/Block/Layout/View.php:98
  3. Horde_Core_Block->_call() /usr/share/php/Horde/Core/Block.php:175
  4. Kronolith_Block_Summary->_content()  
/usr/share/php/Horde/Core/Block.php:278
  5. Kronolith::listCalendars()  
/var/www/horde/kronolith/lib/Block/Summary.php:95
  6. Kronolith_CalendarsManager->get()  
/var/www/horde/kronolith/lib/Kronolith.php:1109
  7. Kronolith_CalendarsManager->_getAllHolidays()  
/var/www/horde/kronolith/lib/CalendarsManager.php:201
  8. class_exists() /var/www/horde/kronolith/lib/CalendarsManager.php:546
  9. spl_autoload_call()
10. Horde_Autoloader_Cache->loadClass()
11. Horde_Autoloader->loadClass()  
/usr/share/php/Horde/Autoloader/Cache.php:126
12. Horde_Autoloader->_include() /usr/share/php/Horde/Autoloader.php:65
13. include() /usr/share/php/Horde/Autoloader.php:128
14. require_once() /usr/share/php/Date/Holidays.php:39
15. require_once() /usr/share/php/Date.php:55
16. Horde_ErrorHandler::errorHandler() /usr/share/php/Date/TimeZone.php:4718

2015-09-03T10:05:16+02:00 DEBUG: HORDE [kronolith] PHP ERROR:  
Non-static method Date_TimeZone::isValidID() should not be called  
statically, assuming $this from incompatible context [pid 1693 on line  
192 of "/usr/share/php/Date/TimeZone.php"]
2015-09-03T10:05:16+02:00 DEBUG: HORDE  1.  
Horde_Core_Block_Layout_View->toHtml()  
/var/www/horde/services/portal/index.php:35
  2. Horde_Core_Block->getContent()  
/usr/share/php/Horde/Core/Block/Layout/View.php:98
  3. Horde_Core_Block->_call() /usr/share/php/Horde/Core/Block.php:175
  4. Kronolith_Block_Summary->_content()  
/usr/share/php/Horde/Core/Block.php:278
  5. Kronolith::listCalendars()  
/var/www/horde/kronolith/lib/Block/Summary.php:95
  6. Kronolith_CalendarsManager->get()  
/var/www/horde/kronolith/lib/Kronolith.php:1109
  7. Kronolith_CalendarsManager->_getAllHolidays()  
/var/www/horde/kronolith/lib/CalendarsManager.php:201
  8. class_exists() /var/www/horde/kronolith/lib/CalendarsManager.php:546
  9. spl_autoload_call()
10. Horde_Autoloader_Cache->loadClass()
11. Horde_Autoloader->loadClass()  
/usr/share/php/Horde/Autoloader/Cache.php:126
12. Horde_Autoloader->_include() /usr/share/php/Horde/Autoloader.php:65
13. include() /usr/share/php/Horde/Autoloader.php:128
14. require_once() /usr/share/php/Date/Holidays.php:39
15. require_once() /usr/share/php/Date.php:55
16. Date_TimeZone->setDefault() /usr/share/php/Date/TimeZone.php:4718
17. Horde_ErrorHandler::errorHandler() /usr/share/php/Date/TimeZone.php:192


It goes on with a some more lines like these.

The browser displays only "500 - Internal Server Error". When I  
manually enter in the browser https://mydomain.de/horde/imp I can read  
and write mails as usual.

Has anyone a hint for me what is going wrong in my setup? Or do you  
need further information? I'm running the latest pear packages of  
horde. PHP Version is:

boromir /var/www/horde/config # php -v
PHP 5.6.12-0+deb8u1 (cli) (built: Aug 26 2015 12:23:30)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
     with XCache v3.2.0, Copyright (c) 2005-2014, by mOo
     with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend  
Technologies
     with Xdebug v2.2.5, Copyright (c) 2002-2014, by Derick Rethans
     with XCache Optimizer v3.2.0, Copyright (c) 2005-2014, by mOo
     with XCache Cacher v3.2.0, Copyright (c) 2005-2014, by mOo
     with XCache Coverager v3.2.0, Copyright (c) 2005-2014, by mOo

The webserver is lighttpd:
boromir /var/www/horde/config # lighttpd -v
lighttpd/1.4.35 (ssl) - a light and fast webserver
Build-Date: Nov  2 2014 03:43:48

Thanks for any help
Jens



More information about the horde mailing list