[imp] How to do ActiveSync on php8 with H6?

Brent impuser at bitrealm.com
Thu Dec 22 17:55:45 UTC 2022


I have horde/imp working on php8.1 using the H6 composer method of  
installation. I'm trying to see if I can get ActiveSync working, but  
there's a few problems. I assume these are known?

When I try to enable ActiveSync in the UI and save the config, I get:

A fatal error has occurred
Class "Horde_ActiveSync_State_Sql" not found

I figure I must need to install activesync via composer. I do:

$  composer require horde/activesync
Using version ^2.13 for horde/activesync
./composer.json has been updated
Running composer update horde/activesync
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - horde/activesync[2.38.3, ..., 2.41.5] require  
pear-pear.horde.org/horde_compress ^2 -> could not be found in any  
version, there may be a typo in the package name.
    - horde/activesync[2.13.1, ..., 2.38.2] require  
pear-pear.horde.org/horde_compress >=2.0.0 at stable,<=3.0.0alpha1 at stable  
-> could not be found in any version, there may be a typo in the  
package name.
    - Root composer.json requires horde/activesync ^2.13 ->  
satisfiable by horde/activesync[2.13.1, ..., 2.41.5].

Ok, so missing compress, but it looks like it is trying to locate the  
pear php compress module from horde.org? If I try to do a composer  
install of it, I get:

$ composer require horde/compress
Using version ^2.0 for horde/compress
./composer.json has been updated
Running composer update horde/compress
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires horde/compress ^2.0, found  
horde/compress[2.0.5, ..., 2.2.4] but these were not loaded, likely  
because it conflicts with another require.
  Problem 2
    - horde/imp is locked to version dev-FRAMEWORK_6_0 and an update  
of this package was not requested.
    - horde/imp dev-FRAMEWORK_6_0 requires horde/compress ^3 ||  
dev-FRAMEWORK_6_0 -> found horde/compress[dev-FRAMEWORK_6_0,  
3.0.0alpha1, 3.0.0alpha2, v3.0.0alpha3, v3.0.0alpha4] but it conflicts  
with your root composer.json require (^2.0).
  Problem 3
    - horde/core v3.0.0alpha13 requires horde/compress ^3 ||  
dev-FRAMEWORK_6_0 -> found horde/compress[dev-FRAMEWORK_6_0,  
3.0.0alpha1, 3.0.0alpha2, v3.0.0alpha3, v3.0.0alpha4] but it conflicts  
with your root composer.json require (^2.0).
    - horde/kronolith dev-FRAMEWORK_6_0 requires horde/core ^3 ||  
dev-FRAMEWORK_6_0 -> satisfiable by horde/core[v3.0.0alpha13].
    - horde/kronolith is locked to version dev-FRAMEWORK_6_0 and an  
update of this package was not requested.

It looks like updates recently have fixed the issue where the Horde  
installation said that I needed to update database tables. So, that's  
good.

I can provide more information. I assume that ActiveSync hasn't been  
fully ported to H6 yet or I'm doing something wrong.

Thanks!

Brent


More information about the imp mailing list