[horde] Horde Framework 6.0 and/or Horde Framework 5.2 PHP 8.1 compatibility timeline?

Brent impuser at bitrealm.com
Tue Oct 4 22:17:24 UTC 2022


  Quoting Ralf Lang <ralf.lang at ralf-lang.de>:

> Hi Gary,
>
> Am 03.10.2022 um 03:46 schrieb Gary Horchem:
>> Hello is there any timeline at to when Horde Framework 6.0 and/or  
>> Horde Framework 5.2 PHP 8.1 compatibility happen? PHP 7.4 goes into  
>> EOL on  November 28th 2022.
>> Sent from my iPad
>
> At this point in time, I run a subset of Horde on 8.1 on a daily  
> basis - though on the maintaina-com fork, not on the horde master  
> codebase. I am also working on merging back to upstream horde.
> Most libraries' unit test suites have been upgraded to 8.1 or 8.2  
> compat, along with fixing what broke. However, the coverage of these  
> tests suites is very different among the libraries and especially  
> low in apps.
>
> Of course I don't run all apps, all drivers and all edge cases. Very  
> likely something will be broken for users. Very likely some  
> configuration will spam deprecation notices by the lot. I appreciate  
> any feedback.
>
> Regards
> Ralf
>  

I'm a long-time Horde admin and I'm having a fair bit of trouble  
trying to get the composer horde installed and running at all on a php  
8.0 or php 8.1 system. I know it isn't stable and ready for primetime.

On php8, I can get the login screen up (just trying to get Horde with  
Imp first). I can login, but I just get a whitescreen with no data.  
Looking at debug logs, I am getting:

2022-10-04T21:29:29+00:00 EMERG: HORDE [imp] Error: Call to a member  
function get() on null in  
/var/www/html/horde/vendor/horde/imap_client/lib/Horde/Imap/Client/Cache/Backend/Cache.php:440
Stack trace:
#0  
/var/www/html/horde/vendor/horde/imap_client/lib/Horde/Imap/Client/Cache/Backend/Cache.php(250):  
Horde_Imap_Client_Cache_Backend_Cache->_loadSliceMap()
#1  
/var/www/html/horde/vendor/horde/imap_client/lib/Horde/Imap/Client/Cache.php(172):  
Horde_Imap_Client_Cache_Backend_Cache->getMetaData()
#2  
/var/www/html/horde/vendor/horde/imap_client/lib/Horde/Imap/Client/Socket.php(1176):  
Horde_Imap_Client_Cache->getMetaData()
#3  
/var/www/html/horde/vendor/horde/imap_client/lib/Horde/Imap/Client/Base.php(1076):  
Horde_Imap_Client_Socket->_openMailbox()
#4 /var/www/html/horde/vendor/horde/imp/lib/Imap.php(718):  
Horde_Imap_Client_Base->openMailbox()
#5  
/var/www/html/horde/vendor/horde/imp/lib/Ajax/Application/ListMessages.php(137):  
IMP_Imap->__call()
#6 /var/www/html/horde/vendor/horde/imp/lib/Ajax/Application.php(263):  
IMP_Ajax_Application_ListMessages->listMessages()
#7  
/var/www/html/horde/vendor/horde/imp/lib/Ajax/Application/Handler/Common.php(111):  
IMP_Ajax_Application->viewPortData()
#8  
/var/www/html/horde/vendor/horde/core/lib/Horde/Core/Ajax/Application.php(257):  
IMP_Ajax_Application_Handler_Common->viewPort()
#9  
/var/www/html/horde/vendor/horde/imp/lib/Ajax/Application/Handler/Dynamic.php(450):  
Horde_Core_Ajax_Application->callAction()
#10  
/var/www/html/horde/vendor/horde/core/lib/Horde/Core/Ajax/Application.php(175):  
IMP_Ajax_Application_Handler_Dynamic->dynamicInit()
#11 /var/www/html/horde/vendor/horde/horde/services/ajax.php(61):  
Horde_Core_Ajax_Application->doAction()
#12 {main} [pid 954 on line 74 of  
"/var/www/html/horde/vendor/horde/core/lib/Horde/ErrorHandler.php"]
2022-10-04T21:29:29+00:00 DEBUG: HORDE [imp] Max memory usage:  
10485760 bytes [pid 954 on line 616 of  
"/var/www/html/horde/vendor/horde/core/lib/Horde/Registry.php"]

Using a php 8.1 system, I get the login screen up, but no matter WHAT  
I do in the configuration (even copying the config from the php 8.0  
install), I can't get past the imp auth error after login:

  A FATAL ERROR HAS OCCURRED

  IMP IS MARKED AS AUTHENTICATED, BUT NO CREDENTIALS CAN BE FOUND IN  
THE SESSION.

in /var/www/html/horde/vendor/horde/core/lib/Horde/Registry.php:1694    
1. Horde_Registry::appInit()  
/var/www/html/horde/vendor/horde/imp/dynamic.php:23  2.  
Horde_Registry->pushApp()  
/var/www/html/horde/vendor/horde/core/lib/Horde/Registry.php:298  3.  
Horde_Registry->_pushAppError()  
/var/www/html/horde/vendor/horde/core/lib/Horde/Registry.php:1637  4.  
Horde_Registry::appInit()  
/var/www/html/horde/vendor/horde/imp/dynamic.php:23  5.  
Horde_Registry->pushApp()  
/var/www/html/horde/vendor/horde/core/lib/Horde/Registry.php:298  6.  
Horde_Registry->callAppMethod()  
/var/www/html/horde/vendor/horde/core/lib/Horde/Registry.php:1632  7.  
Horde_Registry_Application->authenticated()  
/var/www/html/horde/vendor/horde/core/lib/Horde/Registry.php:1212  8.  
IMP_Application->_authenticated()  
/var/www/html/horde/vendor/horde/core/lib/Horde/Registry/Application.php:108   
9. IMP_Auth::authenticateCallback()  
/var/www/html/horde/vendor/horde/imp/lib/Application.php:133 10.  
IMP_Auth::_log() /var/www/html/horde/vendor/horde/imp/lib/Auth.php:242  
11. IMP_Imap->__call()  
/var/www/html/horde/vendor/horde/imp/lib/Auth.php:138

  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.

Horde_Exception_PushApp Object (     [message:protected] => IMP is  
marked as authenticated, but no credentials can be found in the  
session.     [string:Exception:private] =>      [code:protected] => 5   
    [file:protected] =>  
/var/www/html/horde/vendor/horde/core/lib/Horde/Registry.php      
[line:protected] => 1694     [trace:Exception:private] => Array         
  (   I don't know how composer works. I don't know how to have  
composer go out and fetch any updates. I've installed horde and imp  
with the dev-FRAMEWORK_6_0 or "^7" tag in hopes of pulling in the  
right information.  Any tips on how to actually do an install and  
perform updates would be appreciated.  Here's the basic gist of what I  
do:  git clone https://github.com/maintaina-com/horde-deployment.git  
horde dev-FRAMEWORK_6_0 cd horde composer install dev-FRAMEWORK_6_0  
composer require horde/imp dev-FRAMEWORK_6_0  So...how do I download  
updates? (what replaces pear list-upgrades)?  Thanks!  brent


More information about the horde mailing list