[horde] ActiveSync classes not found after Horde move

Michael J Rubinsky mrubinsk at horde.org
Sat Jan 25 16:51:28 UTC 2020


Quoting Michael Brohl <michael at brohl.net>:

> Hi,
>
> after moving my Horde installation to a new server (Ubuntu 18.04 LTS,
> PHP 7.2) the active sync components do not work.
>
> If I go to the adminstration section (domain.tld/admin/config/) the following
> error is shown:
>
> Class 'Horde_ActiveSync_State_Sql' not found
> in /usr/share/php/Horde/Core/Factory/ActiveSyncState.php:24
>
> 1. Horde_Core_Nosql->getDrivers()
> /usr/share/php/www/horde/admin/config/index.php:297
> 2. Horde_Core_Nosql->{closure}() /usr/share/php/Horde/Core/Nosql.php:78
> 3. Horde_Injector->getInstance() /usr/share/php/Horde/Core/Nosql.php:51
> 4. Horde_Injector->createInstance() /usr/share/php/Horde/Injector.php:272
> 5. Horde_Injector_Binder_Factory->create()
> /usr/share/php/Horde/Injector.php:238
> 6. Horde_Core_Factory_ActiveSyncState->create()
> /usr/share/php/Horde/Injector/Binder/Factory.php:119
>
>
> The horde logs (syslog) also show the following errors:
>
> HORDE[5618]: [horde] Error: Class 'Horde_ActiveSync_Wbxml' not found
> in /usr/share/php/Horde/Core/Factory/ActiveSyncServer.php:13
> Stack trace:
> #0 /usr/share/php/Horde/Injector/Binder/Factory.php(119):
> Horde_Core_Factory_ActiveSyncServer->create(Object(Horde_Injector))
> #1 /usr/share/php/Horde/Injector.php(238):
> Horde_Injector_Binder_Factory->create(Object(Horde_Injector))
> #2 /usr/share/php/Horde/Injector.php(272):
> Horde_Injector->createInstance('Horde_ActiveSyn...')
> #3 /usr/share/php/www/horde/rpc.php(102):
> Horde_Injector->getInstance('Horde_ActiveSyn...')
> #4 {main} [pid 5618 on line 74 of "/usr/share/php/Horde/ErrorHandler.php"]
>
> HORDE[6107]: [horde] Error: Class 'Horde_ActiveSync_State_Sql' not
> found in /usr/share/php/Horde/Core/Factory/ActiveSyncState.php:24
> Stack trace:
> #0 /usr/share/php/Horde/Injector/Binder/Factory.php(119):
> Horde_Core_Factory_ActiveSyncState->create(Object(Horde_Injector))
> #1 /usr/share/php/Horde/Injector.php(238):
> Horde_Injector_Binder_Factory->create(Object(Horde_Injector))
> #2 /usr/share/php/Horde/Injector.php(272):
> Horde_Injector->createInstance('Horde_ActiveSyn...')
> #3 /usr/share/php/Horde/Core/Nosql.php(51):
> Horde_Injector->getInstance('Horde_ActiveSyn...')
> #4 /usr/share/php/Horde/Core/Nosql.php(78): Horde_Core_Nosql->{closure}()
> #5 /usr/share/php/www/horde/admin/config/index.php(297):
> Horde_Core_Nosql->getDrivers('horde', 1)
> #6 {main} [pid 6107 on line 74 of "/usr/share/php/Horde/ErrorHandler.php"]
>
>
> I moved the installation by updating the old to the latest version
> through pear and installed the same on the new server. I copied over
> the install containing all configurations from old to new afterwards
> and restored the mysql dump on the new servers database.

Do you mean that you physically copied the install from one machine to  
the other, or just the config files after you installed Horde using  
PEAR on the new machine?

> Webmail and calendar are working fine but admin configuration is not
> possible because of the first error and syncing clients does not work.


> Any ideas how to solve this?


It sounds like either your include path is somehow messed up (though  
unlikely since other things seem to be working?), or perhaps the  
Horde_ActiveSync package is not installed (correctly) on the new host.  
  To start with, see what:

pear list -c pear.horde.org

and

pear config-show -c pear.horde.org



shows.


>
> Thanks,
> Michael
>
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 9272 bytes
Desc: PGP Public Key
URL: <https://lists.horde.org/archives/horde/attachments/20200125/9516c292/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: PGP Digital Signature
URL: <https://lists.horde.org/archives/horde/attachments/20200125/9516c292/attachment.sig>


More information about the horde mailing list